monitoring

package
v6.67.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertPolicy

type AlertPolicy struct {
	pulumi.CustomResourceState

	// Control over how this alert policy's notification channels are notified.
	// Structure is documented below.
	AlertStrategy AlertPolicyAlertStrategyPtrOutput `pulumi:"alertStrategy"`
	// How to combine the results of multiple conditions to
	// determine if an incident should be opened.
	// Possible values are: `AND`, `OR`, `AND_WITH_MATCHING_RESOURCE`.
	Combiner pulumi.StringOutput `pulumi:"combiner"`
	// A list of conditions for the policy. The conditions are combined by
	// AND or OR according to the combiner field. If the combined conditions
	// evaluate to true, then an incident is created. A policy can have from
	// one to six conditions.
	// Structure is documented below.
	Conditions AlertPolicyConditionArrayOutput `pulumi:"conditions"`
	// A read-only record of the creation of the alerting policy.
	// If provided in a call to create or update, this field will
	// be ignored.
	// Structure is documented below.
	CreationRecords AlertPolicyCreationRecordArrayOutput `pulumi:"creationRecords"`
	// A short name or phrase used to identify the policy in
	// dashboards, notifications, and incidents. To avoid confusion, don't use
	// the same display name for multiple policies in the same project. The
	// name is limited to 512 Unicode characters.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Documentation that is included with notifications and incidents related
	// to this policy. Best practice is for the documentation to include information
	// to help responders understand, mitigate, escalate, and correct the underlying
	// problems detected by the alerting policy. Notification channels that have
	// limited capacity might not show this documentation.
	// Structure is documented below.
	Documentation AlertPolicyDocumentationPtrOutput `pulumi:"documentation"`
	// Whether or not the policy is enabled. The default is true.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// (Output)
	// The unique resource name for this condition.
	// Its syntax is:
	// projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
	// [CONDITION_ID] is assigned by Stackdriver Monitoring when
	// the condition is created as part of a new or updated alerting
	// policy.
	Name pulumi.StringOutput `pulumi:"name"`
	// Identifies the notification channels to which notifications should be
	// sent when incidents are opened or closed or when new violations occur
	// on an already opened incident. Each element of this array corresponds
	// to the name field in each of the NotificationChannel objects that are
	// returned from the notificationChannels.list method. The syntax of the
	// entries in this field is
	// `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`
	NotificationChannels pulumi.StringArrayOutput `pulumi:"notificationChannels"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// This field is intended to be used for organizing and identifying the AlertPolicy
	// objects.The field can contain up to 64 entries. Each key and value is limited
	// to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values
	// can contain only lowercase letters, numerals, underscores, and dashes. Keys
	// must begin with a letter.
	UserLabels pulumi.StringMapOutput `pulumi:"userLabels"`
}

A description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state.

To get more information about AlertPolicy, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.alertPolicies) * How-to Guides

## Example Usage ### Monitoring Alert Policy Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewAlertPolicy(ctx, "alertPolicy", &monitoring.AlertPolicyArgs{
			Combiner: pulumi.String("OR"),
			Conditions: monitoring.AlertPolicyConditionArray{
				&monitoring.AlertPolicyConditionArgs{
					ConditionThreshold: &monitoring.AlertPolicyConditionConditionThresholdArgs{
						Aggregations: monitoring.AlertPolicyConditionConditionThresholdAggregationArray{
							&monitoring.AlertPolicyConditionConditionThresholdAggregationArgs{
								AlignmentPeriod:  pulumi.String("60s"),
								PerSeriesAligner: pulumi.String("ALIGN_RATE"),
							},
						},
						Comparison: pulumi.String("COMPARISON_GT"),
						Duration:   pulumi.String("60s"),
						Filter:     pulumi.String("metric.type=\"compute.googleapis.com/instance/disk/write_bytes_count\" AND resource.type=\"gce_instance\""),
					},
					DisplayName: pulumi.String("test condition"),
				},
			},
			DisplayName: pulumi.String("My Alert Policy"),
			UserLabels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Alert Policy Evaluation Missing Data

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewAlertPolicy(ctx, "alertPolicy", &monitoring.AlertPolicyArgs{
			Combiner: pulumi.String("OR"),
			Conditions: monitoring.AlertPolicyConditionArray{
				&monitoring.AlertPolicyConditionArgs{
					ConditionThreshold: &monitoring.AlertPolicyConditionConditionThresholdArgs{
						Aggregations: monitoring.AlertPolicyConditionConditionThresholdAggregationArray{
							&monitoring.AlertPolicyConditionConditionThresholdAggregationArgs{
								AlignmentPeriod:  pulumi.String("60s"),
								PerSeriesAligner: pulumi.String("ALIGN_RATE"),
							},
						},
						Comparison:            pulumi.String("COMPARISON_GT"),
						Duration:              pulumi.String("60s"),
						EvaluationMissingData: pulumi.String("EVALUATION_MISSING_DATA_INACTIVE"),
						Filter:                pulumi.String("metric.type=\"compute.googleapis.com/instance/disk/write_bytes_count\" AND resource.type=\"gce_instance\""),
					},
					DisplayName: pulumi.String("test condition"),
				},
			},
			DisplayName: pulumi.String("My Alert Policy"),
			UserLabels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Alert Policy Forecast Options

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewAlertPolicy(ctx, "alertPolicy", &monitoring.AlertPolicyArgs{
			Combiner: pulumi.String("OR"),
			Conditions: monitoring.AlertPolicyConditionArray{
				&monitoring.AlertPolicyConditionArgs{
					ConditionThreshold: &monitoring.AlertPolicyConditionConditionThresholdArgs{
						Aggregations: monitoring.AlertPolicyConditionConditionThresholdAggregationArray{
							&monitoring.AlertPolicyConditionConditionThresholdAggregationArgs{
								AlignmentPeriod:  pulumi.String("60s"),
								PerSeriesAligner: pulumi.String("ALIGN_RATE"),
							},
						},
						Comparison: pulumi.String("COMPARISON_GT"),
						Duration:   pulumi.String("60s"),
						Filter:     pulumi.String("metric.type=\"compute.googleapis.com/instance/disk/write_bytes_count\" AND resource.type=\"gce_instance\""),
						ForecastOptions: &monitoring.AlertPolicyConditionConditionThresholdForecastOptionsArgs{
							ForecastHorizon: pulumi.String("3600s"),
						},
					},
					DisplayName: pulumi.String("test condition"),
				},
			},
			DisplayName: pulumi.String("My Alert Policy"),
			UserLabels: pulumi.StringMap{
				"foo": pulumi.String("bar"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AlertPolicy can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:monitoring/alertPolicy:AlertPolicy default {{name}}

```

func GetAlertPolicy

func GetAlertPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AlertPolicyState, opts ...pulumi.ResourceOption) (*AlertPolicy, error)

GetAlertPolicy gets an existing AlertPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAlertPolicy

func NewAlertPolicy(ctx *pulumi.Context,
	name string, args *AlertPolicyArgs, opts ...pulumi.ResourceOption) (*AlertPolicy, error)

NewAlertPolicy registers a new resource with the given unique name, arguments, and options.

func (*AlertPolicy) ElementType

func (*AlertPolicy) ElementType() reflect.Type

func (*AlertPolicy) ToAlertPolicyOutput

func (i *AlertPolicy) ToAlertPolicyOutput() AlertPolicyOutput

func (*AlertPolicy) ToAlertPolicyOutputWithContext

func (i *AlertPolicy) ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput

func (*AlertPolicy) ToOutput added in v6.65.1

func (i *AlertPolicy) ToOutput(ctx context.Context) pulumix.Output[*AlertPolicy]

type AlertPolicyAlertStrategy added in v6.8.0

type AlertPolicyAlertStrategy struct {
	// If an alert policy that was active has no data for this long, any open incidents will close.
	AutoClose *string `pulumi:"autoClose"`
	// Control over how the notification channels in `notificationChannels`
	// are notified when this alert fires, on a per-channel basis.
	// Structure is documented below.
	NotificationChannelStrategies []AlertPolicyAlertStrategyNotificationChannelStrategy `pulumi:"notificationChannelStrategies"`
	// Required for alert policies with a LogMatch condition.
	// This limit is not implemented for alert policies that are not log-based.
	// Structure is documented below.
	NotificationRateLimit *AlertPolicyAlertStrategyNotificationRateLimit `pulumi:"notificationRateLimit"`
}

type AlertPolicyAlertStrategyArgs added in v6.8.0

type AlertPolicyAlertStrategyArgs struct {
	// If an alert policy that was active has no data for this long, any open incidents will close.
	AutoClose pulumi.StringPtrInput `pulumi:"autoClose"`
	// Control over how the notification channels in `notificationChannels`
	// are notified when this alert fires, on a per-channel basis.
	// Structure is documented below.
	NotificationChannelStrategies AlertPolicyAlertStrategyNotificationChannelStrategyArrayInput `pulumi:"notificationChannelStrategies"`
	// Required for alert policies with a LogMatch condition.
	// This limit is not implemented for alert policies that are not log-based.
	// Structure is documented below.
	NotificationRateLimit AlertPolicyAlertStrategyNotificationRateLimitPtrInput `pulumi:"notificationRateLimit"`
}

func (AlertPolicyAlertStrategyArgs) ElementType added in v6.8.0

func (AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyOutput added in v6.8.0

func (i AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyOutput() AlertPolicyAlertStrategyOutput

func (AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyOutputWithContext added in v6.8.0

func (i AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyOutput

func (AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyPtrOutput added in v6.8.0

func (i AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyPtrOutput() AlertPolicyAlertStrategyPtrOutput

func (AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyPtrOutputWithContext added in v6.8.0

func (i AlertPolicyAlertStrategyArgs) ToAlertPolicyAlertStrategyPtrOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyPtrOutput

func (AlertPolicyAlertStrategyArgs) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyInput added in v6.8.0

type AlertPolicyAlertStrategyInput interface {
	pulumi.Input

	ToAlertPolicyAlertStrategyOutput() AlertPolicyAlertStrategyOutput
	ToAlertPolicyAlertStrategyOutputWithContext(context.Context) AlertPolicyAlertStrategyOutput
}

AlertPolicyAlertStrategyInput is an input type that accepts AlertPolicyAlertStrategyArgs and AlertPolicyAlertStrategyOutput values. You can construct a concrete instance of `AlertPolicyAlertStrategyInput` via:

AlertPolicyAlertStrategyArgs{...}

type AlertPolicyAlertStrategyNotificationChannelStrategy added in v6.57.0

type AlertPolicyAlertStrategyNotificationChannelStrategy struct {
	// The notification channels that these settings apply to. Each of these
	// correspond to the name field in one of the NotificationChannel objects
	// referenced in the notificationChannels field of this AlertPolicy. The format is
	// `projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]`
	NotificationChannelNames []string `pulumi:"notificationChannelNames"`
	// The frequency at which to send reminder notifications for open incidents.
	RenotifyInterval *string `pulumi:"renotifyInterval"`
}

type AlertPolicyAlertStrategyNotificationChannelStrategyArgs added in v6.57.0

type AlertPolicyAlertStrategyNotificationChannelStrategyArgs struct {
	// The notification channels that these settings apply to. Each of these
	// correspond to the name field in one of the NotificationChannel objects
	// referenced in the notificationChannels field of this AlertPolicy. The format is
	// `projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]`
	NotificationChannelNames pulumi.StringArrayInput `pulumi:"notificationChannelNames"`
	// The frequency at which to send reminder notifications for open incidents.
	RenotifyInterval pulumi.StringPtrInput `pulumi:"renotifyInterval"`
}

func (AlertPolicyAlertStrategyNotificationChannelStrategyArgs) ElementType added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyArgs) ToAlertPolicyAlertStrategyNotificationChannelStrategyOutput added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyArgs) ToAlertPolicyAlertStrategyNotificationChannelStrategyOutputWithContext added in v6.57.0

func (i AlertPolicyAlertStrategyNotificationChannelStrategyArgs) ToAlertPolicyAlertStrategyNotificationChannelStrategyOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationChannelStrategyOutput

func (AlertPolicyAlertStrategyNotificationChannelStrategyArgs) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyNotificationChannelStrategyArray added in v6.57.0

type AlertPolicyAlertStrategyNotificationChannelStrategyArray []AlertPolicyAlertStrategyNotificationChannelStrategyInput

func (AlertPolicyAlertStrategyNotificationChannelStrategyArray) ElementType added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyArray) ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput added in v6.57.0

func (i AlertPolicyAlertStrategyNotificationChannelStrategyArray) ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput() AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput

func (AlertPolicyAlertStrategyNotificationChannelStrategyArray) ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutputWithContext added in v6.57.0

func (i AlertPolicyAlertStrategyNotificationChannelStrategyArray) ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput

func (AlertPolicyAlertStrategyNotificationChannelStrategyArray) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyNotificationChannelStrategyArrayInput added in v6.57.0

type AlertPolicyAlertStrategyNotificationChannelStrategyArrayInput interface {
	pulumi.Input

	ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput() AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput
	ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutputWithContext(context.Context) AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput
}

AlertPolicyAlertStrategyNotificationChannelStrategyArrayInput is an input type that accepts AlertPolicyAlertStrategyNotificationChannelStrategyArray and AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput values. You can construct a concrete instance of `AlertPolicyAlertStrategyNotificationChannelStrategyArrayInput` via:

AlertPolicyAlertStrategyNotificationChannelStrategyArray{ AlertPolicyAlertStrategyNotificationChannelStrategyArgs{...} }

type AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput added in v6.57.0

type AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput) ElementType added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput) Index added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput) ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput) ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutputWithContext added in v6.57.0

func (o AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput) ToAlertPolicyAlertStrategyNotificationChannelStrategyArrayOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput

func (AlertPolicyAlertStrategyNotificationChannelStrategyArrayOutput) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyNotificationChannelStrategyInput added in v6.57.0

type AlertPolicyAlertStrategyNotificationChannelStrategyInput interface {
	pulumi.Input

	ToAlertPolicyAlertStrategyNotificationChannelStrategyOutput() AlertPolicyAlertStrategyNotificationChannelStrategyOutput
	ToAlertPolicyAlertStrategyNotificationChannelStrategyOutputWithContext(context.Context) AlertPolicyAlertStrategyNotificationChannelStrategyOutput
}

AlertPolicyAlertStrategyNotificationChannelStrategyInput is an input type that accepts AlertPolicyAlertStrategyNotificationChannelStrategyArgs and AlertPolicyAlertStrategyNotificationChannelStrategyOutput values. You can construct a concrete instance of `AlertPolicyAlertStrategyNotificationChannelStrategyInput` via:

AlertPolicyAlertStrategyNotificationChannelStrategyArgs{...}

type AlertPolicyAlertStrategyNotificationChannelStrategyOutput added in v6.57.0

type AlertPolicyAlertStrategyNotificationChannelStrategyOutput struct{ *pulumi.OutputState }

func (AlertPolicyAlertStrategyNotificationChannelStrategyOutput) ElementType added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyOutput) NotificationChannelNames added in v6.57.0

The notification channels that these settings apply to. Each of these correspond to the name field in one of the NotificationChannel objects referenced in the notificationChannels field of this AlertPolicy. The format is `projects/[PROJECT_ID_OR_NUMBER]/notificationChannels/[CHANNEL_ID]`

func (AlertPolicyAlertStrategyNotificationChannelStrategyOutput) RenotifyInterval added in v6.57.0

The frequency at which to send reminder notifications for open incidents.

func (AlertPolicyAlertStrategyNotificationChannelStrategyOutput) ToAlertPolicyAlertStrategyNotificationChannelStrategyOutput added in v6.57.0

func (AlertPolicyAlertStrategyNotificationChannelStrategyOutput) ToAlertPolicyAlertStrategyNotificationChannelStrategyOutputWithContext added in v6.57.0

func (o AlertPolicyAlertStrategyNotificationChannelStrategyOutput) ToAlertPolicyAlertStrategyNotificationChannelStrategyOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationChannelStrategyOutput

func (AlertPolicyAlertStrategyNotificationChannelStrategyOutput) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyNotificationRateLimit added in v6.8.0

type AlertPolicyAlertStrategyNotificationRateLimit struct {
	// Not more than one notification per period.
	Period *string `pulumi:"period"`
}

type AlertPolicyAlertStrategyNotificationRateLimitArgs added in v6.8.0

type AlertPolicyAlertStrategyNotificationRateLimitArgs struct {
	// Not more than one notification per period.
	Period pulumi.StringPtrInput `pulumi:"period"`
}

func (AlertPolicyAlertStrategyNotificationRateLimitArgs) ElementType added in v6.8.0

func (AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitOutput added in v6.8.0

func (i AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitOutput() AlertPolicyAlertStrategyNotificationRateLimitOutput

func (AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitOutputWithContext added in v6.8.0

func (i AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationRateLimitOutput

func (AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutput added in v6.8.0

func (i AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutput() AlertPolicyAlertStrategyNotificationRateLimitPtrOutput

func (AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutputWithContext added in v6.8.0

func (i AlertPolicyAlertStrategyNotificationRateLimitArgs) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationRateLimitPtrOutput

func (AlertPolicyAlertStrategyNotificationRateLimitArgs) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyNotificationRateLimitInput added in v6.8.0

type AlertPolicyAlertStrategyNotificationRateLimitInput interface {
	pulumi.Input

	ToAlertPolicyAlertStrategyNotificationRateLimitOutput() AlertPolicyAlertStrategyNotificationRateLimitOutput
	ToAlertPolicyAlertStrategyNotificationRateLimitOutputWithContext(context.Context) AlertPolicyAlertStrategyNotificationRateLimitOutput
}

AlertPolicyAlertStrategyNotificationRateLimitInput is an input type that accepts AlertPolicyAlertStrategyNotificationRateLimitArgs and AlertPolicyAlertStrategyNotificationRateLimitOutput values. You can construct a concrete instance of `AlertPolicyAlertStrategyNotificationRateLimitInput` via:

AlertPolicyAlertStrategyNotificationRateLimitArgs{...}

type AlertPolicyAlertStrategyNotificationRateLimitOutput added in v6.8.0

type AlertPolicyAlertStrategyNotificationRateLimitOutput struct{ *pulumi.OutputState }

func (AlertPolicyAlertStrategyNotificationRateLimitOutput) ElementType added in v6.8.0

func (AlertPolicyAlertStrategyNotificationRateLimitOutput) Period added in v6.8.0

Not more than one notification per period.

func (AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitOutput added in v6.8.0

func (o AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitOutput() AlertPolicyAlertStrategyNotificationRateLimitOutput

func (AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitOutputWithContext added in v6.8.0

func (o AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationRateLimitOutput

func (AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutput added in v6.8.0

func (o AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutput() AlertPolicyAlertStrategyNotificationRateLimitPtrOutput

func (AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutputWithContext added in v6.8.0

func (o AlertPolicyAlertStrategyNotificationRateLimitOutput) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationRateLimitPtrOutput

func (AlertPolicyAlertStrategyNotificationRateLimitOutput) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyNotificationRateLimitPtrInput added in v6.8.0

type AlertPolicyAlertStrategyNotificationRateLimitPtrInput interface {
	pulumi.Input

	ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutput() AlertPolicyAlertStrategyNotificationRateLimitPtrOutput
	ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutputWithContext(context.Context) AlertPolicyAlertStrategyNotificationRateLimitPtrOutput
}

AlertPolicyAlertStrategyNotificationRateLimitPtrInput is an input type that accepts AlertPolicyAlertStrategyNotificationRateLimitArgs, AlertPolicyAlertStrategyNotificationRateLimitPtr and AlertPolicyAlertStrategyNotificationRateLimitPtrOutput values. You can construct a concrete instance of `AlertPolicyAlertStrategyNotificationRateLimitPtrInput` via:

        AlertPolicyAlertStrategyNotificationRateLimitArgs{...}

or:

        nil

type AlertPolicyAlertStrategyNotificationRateLimitPtrOutput added in v6.8.0

type AlertPolicyAlertStrategyNotificationRateLimitPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyAlertStrategyNotificationRateLimitPtrOutput) Elem added in v6.8.0

func (AlertPolicyAlertStrategyNotificationRateLimitPtrOutput) ElementType added in v6.8.0

func (AlertPolicyAlertStrategyNotificationRateLimitPtrOutput) Period added in v6.8.0

Not more than one notification per period.

func (AlertPolicyAlertStrategyNotificationRateLimitPtrOutput) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutput added in v6.8.0

func (AlertPolicyAlertStrategyNotificationRateLimitPtrOutput) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutputWithContext added in v6.8.0

func (o AlertPolicyAlertStrategyNotificationRateLimitPtrOutput) ToAlertPolicyAlertStrategyNotificationRateLimitPtrOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyNotificationRateLimitPtrOutput

func (AlertPolicyAlertStrategyNotificationRateLimitPtrOutput) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyOutput added in v6.8.0

type AlertPolicyAlertStrategyOutput struct{ *pulumi.OutputState }

func (AlertPolicyAlertStrategyOutput) AutoClose added in v6.8.0

If an alert policy that was active has no data for this long, any open incidents will close.

func (AlertPolicyAlertStrategyOutput) ElementType added in v6.8.0

func (AlertPolicyAlertStrategyOutput) NotificationChannelStrategies added in v6.57.0

Control over how the notification channels in `notificationChannels` are notified when this alert fires, on a per-channel basis. Structure is documented below.

func (AlertPolicyAlertStrategyOutput) NotificationRateLimit added in v6.8.0

Required for alert policies with a LogMatch condition. This limit is not implemented for alert policies that are not log-based. Structure is documented below.

func (AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyOutput added in v6.8.0

func (o AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyOutput() AlertPolicyAlertStrategyOutput

func (AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyOutputWithContext added in v6.8.0

func (o AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyOutput

func (AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyPtrOutput added in v6.8.0

func (o AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyPtrOutput() AlertPolicyAlertStrategyPtrOutput

func (AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyPtrOutputWithContext added in v6.8.0

func (o AlertPolicyAlertStrategyOutput) ToAlertPolicyAlertStrategyPtrOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyPtrOutput

func (AlertPolicyAlertStrategyOutput) ToOutput added in v6.65.1

type AlertPolicyAlertStrategyPtrInput added in v6.8.0

type AlertPolicyAlertStrategyPtrInput interface {
	pulumi.Input

	ToAlertPolicyAlertStrategyPtrOutput() AlertPolicyAlertStrategyPtrOutput
	ToAlertPolicyAlertStrategyPtrOutputWithContext(context.Context) AlertPolicyAlertStrategyPtrOutput
}

AlertPolicyAlertStrategyPtrInput is an input type that accepts AlertPolicyAlertStrategyArgs, AlertPolicyAlertStrategyPtr and AlertPolicyAlertStrategyPtrOutput values. You can construct a concrete instance of `AlertPolicyAlertStrategyPtrInput` via:

        AlertPolicyAlertStrategyArgs{...}

or:

        nil

func AlertPolicyAlertStrategyPtr added in v6.8.0

func AlertPolicyAlertStrategyPtr(v *AlertPolicyAlertStrategyArgs) AlertPolicyAlertStrategyPtrInput

type AlertPolicyAlertStrategyPtrOutput added in v6.8.0

type AlertPolicyAlertStrategyPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyAlertStrategyPtrOutput) AutoClose added in v6.8.0

If an alert policy that was active has no data for this long, any open incidents will close.

func (AlertPolicyAlertStrategyPtrOutput) Elem added in v6.8.0

func (AlertPolicyAlertStrategyPtrOutput) ElementType added in v6.8.0

func (AlertPolicyAlertStrategyPtrOutput) NotificationChannelStrategies added in v6.57.0

Control over how the notification channels in `notificationChannels` are notified when this alert fires, on a per-channel basis. Structure is documented below.

func (AlertPolicyAlertStrategyPtrOutput) NotificationRateLimit added in v6.8.0

Required for alert policies with a LogMatch condition. This limit is not implemented for alert policies that are not log-based. Structure is documented below.

func (AlertPolicyAlertStrategyPtrOutput) ToAlertPolicyAlertStrategyPtrOutput added in v6.8.0

func (o AlertPolicyAlertStrategyPtrOutput) ToAlertPolicyAlertStrategyPtrOutput() AlertPolicyAlertStrategyPtrOutput

func (AlertPolicyAlertStrategyPtrOutput) ToAlertPolicyAlertStrategyPtrOutputWithContext added in v6.8.0

func (o AlertPolicyAlertStrategyPtrOutput) ToAlertPolicyAlertStrategyPtrOutputWithContext(ctx context.Context) AlertPolicyAlertStrategyPtrOutput

func (AlertPolicyAlertStrategyPtrOutput) ToOutput added in v6.65.1

type AlertPolicyArgs

type AlertPolicyArgs struct {
	// Control over how this alert policy's notification channels are notified.
	// Structure is documented below.
	AlertStrategy AlertPolicyAlertStrategyPtrInput
	// How to combine the results of multiple conditions to
	// determine if an incident should be opened.
	// Possible values are: `AND`, `OR`, `AND_WITH_MATCHING_RESOURCE`.
	Combiner pulumi.StringInput
	// A list of conditions for the policy. The conditions are combined by
	// AND or OR according to the combiner field. If the combined conditions
	// evaluate to true, then an incident is created. A policy can have from
	// one to six conditions.
	// Structure is documented below.
	Conditions AlertPolicyConditionArrayInput
	// A short name or phrase used to identify the policy in
	// dashboards, notifications, and incidents. To avoid confusion, don't use
	// the same display name for multiple policies in the same project. The
	// name is limited to 512 Unicode characters.
	DisplayName pulumi.StringInput
	// Documentation that is included with notifications and incidents related
	// to this policy. Best practice is for the documentation to include information
	// to help responders understand, mitigate, escalate, and correct the underlying
	// problems detected by the alerting policy. Notification channels that have
	// limited capacity might not show this documentation.
	// Structure is documented below.
	Documentation AlertPolicyDocumentationPtrInput
	// Whether or not the policy is enabled. The default is true.
	Enabled pulumi.BoolPtrInput
	// Identifies the notification channels to which notifications should be
	// sent when incidents are opened or closed or when new violations occur
	// on an already opened incident. Each element of this array corresponds
	// to the name field in each of the NotificationChannel objects that are
	// returned from the notificationChannels.list method. The syntax of the
	// entries in this field is
	// `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`
	NotificationChannels pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// This field is intended to be used for organizing and identifying the AlertPolicy
	// objects.The field can contain up to 64 entries. Each key and value is limited
	// to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values
	// can contain only lowercase letters, numerals, underscores, and dashes. Keys
	// must begin with a letter.
	UserLabels pulumi.StringMapInput
}

The set of arguments for constructing a AlertPolicy resource.

func (AlertPolicyArgs) ElementType

func (AlertPolicyArgs) ElementType() reflect.Type

type AlertPolicyArray

type AlertPolicyArray []AlertPolicyInput

func (AlertPolicyArray) ElementType

func (AlertPolicyArray) ElementType() reflect.Type

func (AlertPolicyArray) ToAlertPolicyArrayOutput

func (i AlertPolicyArray) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput

func (AlertPolicyArray) ToAlertPolicyArrayOutputWithContext

func (i AlertPolicyArray) ToAlertPolicyArrayOutputWithContext(ctx context.Context) AlertPolicyArrayOutput

func (AlertPolicyArray) ToOutput added in v6.65.1

type AlertPolicyArrayInput

type AlertPolicyArrayInput interface {
	pulumi.Input

	ToAlertPolicyArrayOutput() AlertPolicyArrayOutput
	ToAlertPolicyArrayOutputWithContext(context.Context) AlertPolicyArrayOutput
}

AlertPolicyArrayInput is an input type that accepts AlertPolicyArray and AlertPolicyArrayOutput values. You can construct a concrete instance of `AlertPolicyArrayInput` via:

AlertPolicyArray{ AlertPolicyArgs{...} }

type AlertPolicyArrayOutput

type AlertPolicyArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyArrayOutput) ElementType

func (AlertPolicyArrayOutput) ElementType() reflect.Type

func (AlertPolicyArrayOutput) Index

func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutput

func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutput() AlertPolicyArrayOutput

func (AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext

func (o AlertPolicyArrayOutput) ToAlertPolicyArrayOutputWithContext(ctx context.Context) AlertPolicyArrayOutput

func (AlertPolicyArrayOutput) ToOutput added in v6.65.1

type AlertPolicyCondition

type AlertPolicyCondition struct {
	// A condition that checks that a time series
	// continues to receive new data points.
	// Structure is documented below.
	ConditionAbsent *AlertPolicyConditionConditionAbsent `pulumi:"conditionAbsent"`
	// A condition that checks for log messages matching given constraints.
	// If set, no other conditions can be present.
	// Structure is documented below.
	ConditionMatchedLog *AlertPolicyConditionConditionMatchedLog `pulumi:"conditionMatchedLog"`
	// A Monitoring Query Language query that outputs a boolean stream
	// Structure is documented below.
	ConditionMonitoringQueryLanguage *AlertPolicyConditionConditionMonitoringQueryLanguage `pulumi:"conditionMonitoringQueryLanguage"`
	// A Monitoring Query Language query that outputs a boolean stream
	// A condition type that allows alert policies to be defined using
	// Prometheus Query Language (PromQL).
	// The PrometheusQueryLanguageCondition message contains information
	// from a Prometheus alerting rule and its associated rule group.
	// Structure is documented below.
	ConditionPrometheusQueryLanguage *AlertPolicyConditionConditionPrometheusQueryLanguage `pulumi:"conditionPrometheusQueryLanguage"`
	// A condition that compares a time series against a
	// threshold.
	// Structure is documented below.
	ConditionThreshold *AlertPolicyConditionConditionThreshold `pulumi:"conditionThreshold"`
	// A short name or phrase used to identify the
	// condition in dashboards, notifications, and
	// incidents. To avoid confusion, don't use the same
	// display name for multiple conditions in the same
	// policy.
	DisplayName string `pulumi:"displayName"`
	// (Output)
	// The unique resource name for this condition.
	// Its syntax is:
	// projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
	// [CONDITION_ID] is assigned by Stackdriver Monitoring when
	// the condition is created as part of a new or updated alerting
	// policy.
	Name *string `pulumi:"name"`
}

type AlertPolicyConditionArgs

type AlertPolicyConditionArgs struct {
	// A condition that checks that a time series
	// continues to receive new data points.
	// Structure is documented below.
	ConditionAbsent AlertPolicyConditionConditionAbsentPtrInput `pulumi:"conditionAbsent"`
	// A condition that checks for log messages matching given constraints.
	// If set, no other conditions can be present.
	// Structure is documented below.
	ConditionMatchedLog AlertPolicyConditionConditionMatchedLogPtrInput `pulumi:"conditionMatchedLog"`
	// A Monitoring Query Language query that outputs a boolean stream
	// Structure is documented below.
	ConditionMonitoringQueryLanguage AlertPolicyConditionConditionMonitoringQueryLanguagePtrInput `pulumi:"conditionMonitoringQueryLanguage"`
	// A Monitoring Query Language query that outputs a boolean stream
	// A condition type that allows alert policies to be defined using
	// Prometheus Query Language (PromQL).
	// The PrometheusQueryLanguageCondition message contains information
	// from a Prometheus alerting rule and its associated rule group.
	// Structure is documented below.
	ConditionPrometheusQueryLanguage AlertPolicyConditionConditionPrometheusQueryLanguagePtrInput `pulumi:"conditionPrometheusQueryLanguage"`
	// A condition that compares a time series against a
	// threshold.
	// Structure is documented below.
	ConditionThreshold AlertPolicyConditionConditionThresholdPtrInput `pulumi:"conditionThreshold"`
	// A short name or phrase used to identify the
	// condition in dashboards, notifications, and
	// incidents. To avoid confusion, don't use the same
	// display name for multiple conditions in the same
	// policy.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// (Output)
	// The unique resource name for this condition.
	// Its syntax is:
	// projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
	// [CONDITION_ID] is assigned by Stackdriver Monitoring when
	// the condition is created as part of a new or updated alerting
	// policy.
	Name pulumi.StringPtrInput `pulumi:"name"`
}

func (AlertPolicyConditionArgs) ElementType

func (AlertPolicyConditionArgs) ElementType() reflect.Type

func (AlertPolicyConditionArgs) ToAlertPolicyConditionOutput

func (i AlertPolicyConditionArgs) ToAlertPolicyConditionOutput() AlertPolicyConditionOutput

func (AlertPolicyConditionArgs) ToAlertPolicyConditionOutputWithContext

func (i AlertPolicyConditionArgs) ToAlertPolicyConditionOutputWithContext(ctx context.Context) AlertPolicyConditionOutput

func (AlertPolicyConditionArgs) ToOutput added in v6.65.1

type AlertPolicyConditionArray

type AlertPolicyConditionArray []AlertPolicyConditionInput

func (AlertPolicyConditionArray) ElementType

func (AlertPolicyConditionArray) ElementType() reflect.Type

func (AlertPolicyConditionArray) ToAlertPolicyConditionArrayOutput

func (i AlertPolicyConditionArray) ToAlertPolicyConditionArrayOutput() AlertPolicyConditionArrayOutput

func (AlertPolicyConditionArray) ToAlertPolicyConditionArrayOutputWithContext

func (i AlertPolicyConditionArray) ToAlertPolicyConditionArrayOutputWithContext(ctx context.Context) AlertPolicyConditionArrayOutput

func (AlertPolicyConditionArray) ToOutput added in v6.65.1

type AlertPolicyConditionArrayInput

type AlertPolicyConditionArrayInput interface {
	pulumi.Input

	ToAlertPolicyConditionArrayOutput() AlertPolicyConditionArrayOutput
	ToAlertPolicyConditionArrayOutputWithContext(context.Context) AlertPolicyConditionArrayOutput
}

AlertPolicyConditionArrayInput is an input type that accepts AlertPolicyConditionArray and AlertPolicyConditionArrayOutput values. You can construct a concrete instance of `AlertPolicyConditionArrayInput` via:

AlertPolicyConditionArray{ AlertPolicyConditionArgs{...} }

type AlertPolicyConditionArrayOutput

type AlertPolicyConditionArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionArrayOutput) ElementType

func (AlertPolicyConditionArrayOutput) Index

func (AlertPolicyConditionArrayOutput) ToAlertPolicyConditionArrayOutput

func (o AlertPolicyConditionArrayOutput) ToAlertPolicyConditionArrayOutput() AlertPolicyConditionArrayOutput

func (AlertPolicyConditionArrayOutput) ToAlertPolicyConditionArrayOutputWithContext

func (o AlertPolicyConditionArrayOutput) ToAlertPolicyConditionArrayOutputWithContext(ctx context.Context) AlertPolicyConditionArrayOutput

func (AlertPolicyConditionArrayOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsent

type AlertPolicyConditionConditionAbsent struct {
	// Specifies the alignment of data points in
	// individual time series as well as how to
	// combine the retrieved time series together
	// (such as when aggregating multiple streams
	// on each resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).
	// Multiple aggregations are applied in the
	// order specified.
	// Structure is documented below.
	Aggregations []AlertPolicyConditionConditionAbsentAggregation `pulumi:"aggregations"`
	// The amount of time that a time series must
	// fail to report new data to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g. 60s, 120s, or 300s
	// --are supported.
	Duration string `pulumi:"duration"`
	// A filter that identifies which time series
	// should be compared with the threshold.The
	// filter is similar to the one that is
	// specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	Filter *string `pulumi:"filter"`
	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations.
	// Structure is documented below.
	Trigger *AlertPolicyConditionConditionAbsentTrigger `pulumi:"trigger"`
}

type AlertPolicyConditionConditionAbsentAggregation

type AlertPolicyConditionConditionAbsentAggregation struct {
	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	AlignmentPeriod *string `pulumi:"alignmentPeriod"`
	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.
	CrossSeriesReducer *string `pulumi:"crossSeriesReducer"`
	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	GroupByFields []string `pulumi:"groupByFields"`
	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.
	PerSeriesAligner *string `pulumi:"perSeriesAligner"`
}

type AlertPolicyConditionConditionAbsentAggregationArgs

type AlertPolicyConditionConditionAbsentAggregationArgs struct {
	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	AlignmentPeriod pulumi.StringPtrInput `pulumi:"alignmentPeriod"`
	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.
	CrossSeriesReducer pulumi.StringPtrInput `pulumi:"crossSeriesReducer"`
	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	GroupByFields pulumi.StringArrayInput `pulumi:"groupByFields"`
	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.
	PerSeriesAligner pulumi.StringPtrInput `pulumi:"perSeriesAligner"`
}

func (AlertPolicyConditionConditionAbsentAggregationArgs) ElementType

func (AlertPolicyConditionConditionAbsentAggregationArgs) ToAlertPolicyConditionConditionAbsentAggregationOutput

func (i AlertPolicyConditionConditionAbsentAggregationArgs) ToAlertPolicyConditionConditionAbsentAggregationOutput() AlertPolicyConditionConditionAbsentAggregationOutput

func (AlertPolicyConditionConditionAbsentAggregationArgs) ToAlertPolicyConditionConditionAbsentAggregationOutputWithContext

func (i AlertPolicyConditionConditionAbsentAggregationArgs) ToAlertPolicyConditionConditionAbsentAggregationOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentAggregationOutput

func (AlertPolicyConditionConditionAbsentAggregationArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsentAggregationArray

type AlertPolicyConditionConditionAbsentAggregationArray []AlertPolicyConditionConditionAbsentAggregationInput

func (AlertPolicyConditionConditionAbsentAggregationArray) ElementType

func (AlertPolicyConditionConditionAbsentAggregationArray) ToAlertPolicyConditionConditionAbsentAggregationArrayOutput

func (i AlertPolicyConditionConditionAbsentAggregationArray) ToAlertPolicyConditionConditionAbsentAggregationArrayOutput() AlertPolicyConditionConditionAbsentAggregationArrayOutput

func (AlertPolicyConditionConditionAbsentAggregationArray) ToAlertPolicyConditionConditionAbsentAggregationArrayOutputWithContext

func (i AlertPolicyConditionConditionAbsentAggregationArray) ToAlertPolicyConditionConditionAbsentAggregationArrayOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentAggregationArrayOutput

func (AlertPolicyConditionConditionAbsentAggregationArray) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsentAggregationArrayInput

type AlertPolicyConditionConditionAbsentAggregationArrayInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionAbsentAggregationArrayOutput() AlertPolicyConditionConditionAbsentAggregationArrayOutput
	ToAlertPolicyConditionConditionAbsentAggregationArrayOutputWithContext(context.Context) AlertPolicyConditionConditionAbsentAggregationArrayOutput
}

AlertPolicyConditionConditionAbsentAggregationArrayInput is an input type that accepts AlertPolicyConditionConditionAbsentAggregationArray and AlertPolicyConditionConditionAbsentAggregationArrayOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionAbsentAggregationArrayInput` via:

AlertPolicyConditionConditionAbsentAggregationArray{ AlertPolicyConditionConditionAbsentAggregationArgs{...} }

type AlertPolicyConditionConditionAbsentAggregationArrayOutput

type AlertPolicyConditionConditionAbsentAggregationArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionAbsentAggregationArrayOutput) ElementType

func (AlertPolicyConditionConditionAbsentAggregationArrayOutput) Index

func (AlertPolicyConditionConditionAbsentAggregationArrayOutput) ToAlertPolicyConditionConditionAbsentAggregationArrayOutput

func (AlertPolicyConditionConditionAbsentAggregationArrayOutput) ToAlertPolicyConditionConditionAbsentAggregationArrayOutputWithContext

func (o AlertPolicyConditionConditionAbsentAggregationArrayOutput) ToAlertPolicyConditionConditionAbsentAggregationArrayOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentAggregationArrayOutput

func (AlertPolicyConditionConditionAbsentAggregationArrayOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsentAggregationInput

type AlertPolicyConditionConditionAbsentAggregationInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionAbsentAggregationOutput() AlertPolicyConditionConditionAbsentAggregationOutput
	ToAlertPolicyConditionConditionAbsentAggregationOutputWithContext(context.Context) AlertPolicyConditionConditionAbsentAggregationOutput
}

AlertPolicyConditionConditionAbsentAggregationInput is an input type that accepts AlertPolicyConditionConditionAbsentAggregationArgs and AlertPolicyConditionConditionAbsentAggregationOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionAbsentAggregationInput` via:

AlertPolicyConditionConditionAbsentAggregationArgs{...}

type AlertPolicyConditionConditionAbsentAggregationOutput

type AlertPolicyConditionConditionAbsentAggregationOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionAbsentAggregationOutput) AlignmentPeriod

The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned.

func (AlertPolicyConditionConditionAbsentAggregationOutput) CrossSeriesReducer

The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.

func (AlertPolicyConditionConditionAbsentAggregationOutput) ElementType

func (AlertPolicyConditionConditionAbsentAggregationOutput) GroupByFields

The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.

func (AlertPolicyConditionConditionAbsentAggregationOutput) PerSeriesAligner

The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.

func (AlertPolicyConditionConditionAbsentAggregationOutput) ToAlertPolicyConditionConditionAbsentAggregationOutput

func (AlertPolicyConditionConditionAbsentAggregationOutput) ToAlertPolicyConditionConditionAbsentAggregationOutputWithContext

func (o AlertPolicyConditionConditionAbsentAggregationOutput) ToAlertPolicyConditionConditionAbsentAggregationOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentAggregationOutput

func (AlertPolicyConditionConditionAbsentAggregationOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsentArgs

type AlertPolicyConditionConditionAbsentArgs struct {
	// Specifies the alignment of data points in
	// individual time series as well as how to
	// combine the retrieved time series together
	// (such as when aggregating multiple streams
	// on each resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).
	// Multiple aggregations are applied in the
	// order specified.
	// Structure is documented below.
	Aggregations AlertPolicyConditionConditionAbsentAggregationArrayInput `pulumi:"aggregations"`
	// The amount of time that a time series must
	// fail to report new data to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g. 60s, 120s, or 300s
	// --are supported.
	Duration pulumi.StringInput `pulumi:"duration"`
	// A filter that identifies which time series
	// should be compared with the threshold.The
	// filter is similar to the one that is
	// specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations.
	// Structure is documented below.
	Trigger AlertPolicyConditionConditionAbsentTriggerPtrInput `pulumi:"trigger"`
}

func (AlertPolicyConditionConditionAbsentArgs) ElementType

func (AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentOutput

func (i AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentOutput() AlertPolicyConditionConditionAbsentOutput

func (AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentOutputWithContext

func (i AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentOutput

func (AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentPtrOutput

func (i AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentPtrOutput() AlertPolicyConditionConditionAbsentPtrOutput

func (AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentPtrOutputWithContext

func (i AlertPolicyConditionConditionAbsentArgs) ToAlertPolicyConditionConditionAbsentPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentPtrOutput

func (AlertPolicyConditionConditionAbsentArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsentInput

type AlertPolicyConditionConditionAbsentInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionAbsentOutput() AlertPolicyConditionConditionAbsentOutput
	ToAlertPolicyConditionConditionAbsentOutputWithContext(context.Context) AlertPolicyConditionConditionAbsentOutput
}

AlertPolicyConditionConditionAbsentInput is an input type that accepts AlertPolicyConditionConditionAbsentArgs and AlertPolicyConditionConditionAbsentOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionAbsentInput` via:

AlertPolicyConditionConditionAbsentArgs{...}

type AlertPolicyConditionConditionAbsentOutput

type AlertPolicyConditionConditionAbsentOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionAbsentOutput) Aggregations

Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified. Structure is documented below.

func (AlertPolicyConditionConditionAbsentOutput) Duration

The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60s, 120s, or 300s --are supported.

func (AlertPolicyConditionConditionAbsentOutput) ElementType

func (AlertPolicyConditionConditionAbsentOutput) Filter

A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.

func (AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentOutput

func (o AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentOutput() AlertPolicyConditionConditionAbsentOutput

func (AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentOutputWithContext

func (o AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentOutput

func (AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentPtrOutput

func (o AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentPtrOutput() AlertPolicyConditionConditionAbsentPtrOutput

func (AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentPtrOutputWithContext

func (o AlertPolicyConditionConditionAbsentOutput) ToAlertPolicyConditionConditionAbsentPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentPtrOutput

func (AlertPolicyConditionConditionAbsentOutput) ToOutput added in v6.65.1

func (AlertPolicyConditionConditionAbsentOutput) Trigger

The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations. Structure is documented below.

type AlertPolicyConditionConditionAbsentPtrInput

type AlertPolicyConditionConditionAbsentPtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionAbsentPtrOutput() AlertPolicyConditionConditionAbsentPtrOutput
	ToAlertPolicyConditionConditionAbsentPtrOutputWithContext(context.Context) AlertPolicyConditionConditionAbsentPtrOutput
}

AlertPolicyConditionConditionAbsentPtrInput is an input type that accepts AlertPolicyConditionConditionAbsentArgs, AlertPolicyConditionConditionAbsentPtr and AlertPolicyConditionConditionAbsentPtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionAbsentPtrInput` via:

        AlertPolicyConditionConditionAbsentArgs{...}

or:

        nil

type AlertPolicyConditionConditionAbsentPtrOutput

type AlertPolicyConditionConditionAbsentPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionAbsentPtrOutput) Aggregations

Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified. Structure is documented below.

func (AlertPolicyConditionConditionAbsentPtrOutput) Duration

The amount of time that a time series must fail to report new data to be considered failing. Currently, only values that are a multiple of a minute--e.g. 60s, 120s, or 300s --are supported.

func (AlertPolicyConditionConditionAbsentPtrOutput) Elem

func (AlertPolicyConditionConditionAbsentPtrOutput) ElementType

func (AlertPolicyConditionConditionAbsentPtrOutput) Filter

A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.

func (AlertPolicyConditionConditionAbsentPtrOutput) ToAlertPolicyConditionConditionAbsentPtrOutput

func (o AlertPolicyConditionConditionAbsentPtrOutput) ToAlertPolicyConditionConditionAbsentPtrOutput() AlertPolicyConditionConditionAbsentPtrOutput

func (AlertPolicyConditionConditionAbsentPtrOutput) ToAlertPolicyConditionConditionAbsentPtrOutputWithContext

func (o AlertPolicyConditionConditionAbsentPtrOutput) ToAlertPolicyConditionConditionAbsentPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentPtrOutput

func (AlertPolicyConditionConditionAbsentPtrOutput) ToOutput added in v6.65.1

func (AlertPolicyConditionConditionAbsentPtrOutput) Trigger

The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations. Structure is documented below.

type AlertPolicyConditionConditionAbsentTrigger

type AlertPolicyConditionConditionAbsentTrigger struct {
	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	Count *int `pulumi:"count"`
	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	Percent *float64 `pulumi:"percent"`
}

type AlertPolicyConditionConditionAbsentTriggerArgs

type AlertPolicyConditionConditionAbsentTriggerArgs struct {
	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	Percent pulumi.Float64PtrInput `pulumi:"percent"`
}

func (AlertPolicyConditionConditionAbsentTriggerArgs) ElementType

func (AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerOutput

func (i AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerOutput() AlertPolicyConditionConditionAbsentTriggerOutput

func (AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerOutputWithContext

func (i AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentTriggerOutput

func (AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerPtrOutput

func (i AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerPtrOutput() AlertPolicyConditionConditionAbsentTriggerPtrOutput

func (AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerPtrOutputWithContext

func (i AlertPolicyConditionConditionAbsentTriggerArgs) ToAlertPolicyConditionConditionAbsentTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentTriggerPtrOutput

func (AlertPolicyConditionConditionAbsentTriggerArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsentTriggerInput

type AlertPolicyConditionConditionAbsentTriggerInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionAbsentTriggerOutput() AlertPolicyConditionConditionAbsentTriggerOutput
	ToAlertPolicyConditionConditionAbsentTriggerOutputWithContext(context.Context) AlertPolicyConditionConditionAbsentTriggerOutput
}

AlertPolicyConditionConditionAbsentTriggerInput is an input type that accepts AlertPolicyConditionConditionAbsentTriggerArgs and AlertPolicyConditionConditionAbsentTriggerOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionAbsentTriggerInput` via:

AlertPolicyConditionConditionAbsentTriggerArgs{...}

type AlertPolicyConditionConditionAbsentTriggerOutput

type AlertPolicyConditionConditionAbsentTriggerOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionAbsentTriggerOutput) Count

The absolute number of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionAbsentTriggerOutput) ElementType

func (AlertPolicyConditionConditionAbsentTriggerOutput) Percent

The percentage of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerOutput

func (o AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerOutput() AlertPolicyConditionConditionAbsentTriggerOutput

func (AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerOutputWithContext

func (o AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentTriggerOutput

func (AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutput

func (o AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutput() AlertPolicyConditionConditionAbsentTriggerPtrOutput

func (AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutputWithContext

func (o AlertPolicyConditionConditionAbsentTriggerOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentTriggerPtrOutput

func (AlertPolicyConditionConditionAbsentTriggerOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionAbsentTriggerPtrInput

type AlertPolicyConditionConditionAbsentTriggerPtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionAbsentTriggerPtrOutput() AlertPolicyConditionConditionAbsentTriggerPtrOutput
	ToAlertPolicyConditionConditionAbsentTriggerPtrOutputWithContext(context.Context) AlertPolicyConditionConditionAbsentTriggerPtrOutput
}

AlertPolicyConditionConditionAbsentTriggerPtrInput is an input type that accepts AlertPolicyConditionConditionAbsentTriggerArgs, AlertPolicyConditionConditionAbsentTriggerPtr and AlertPolicyConditionConditionAbsentTriggerPtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionAbsentTriggerPtrInput` via:

        AlertPolicyConditionConditionAbsentTriggerArgs{...}

or:

        nil

type AlertPolicyConditionConditionAbsentTriggerPtrOutput

type AlertPolicyConditionConditionAbsentTriggerPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionAbsentTriggerPtrOutput) Count

The absolute number of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionAbsentTriggerPtrOutput) Elem

func (AlertPolicyConditionConditionAbsentTriggerPtrOutput) ElementType

func (AlertPolicyConditionConditionAbsentTriggerPtrOutput) Percent

The percentage of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionAbsentTriggerPtrOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutput

func (o AlertPolicyConditionConditionAbsentTriggerPtrOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutput() AlertPolicyConditionConditionAbsentTriggerPtrOutput

func (AlertPolicyConditionConditionAbsentTriggerPtrOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutputWithContext

func (o AlertPolicyConditionConditionAbsentTriggerPtrOutput) ToAlertPolicyConditionConditionAbsentTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionAbsentTriggerPtrOutput

func (AlertPolicyConditionConditionAbsentTriggerPtrOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionMatchedLog added in v6.8.0

type AlertPolicyConditionConditionMatchedLog struct {
	// A logs-based filter.
	Filter string `pulumi:"filter"`
	// A map from a label key to an extractor expression, which is used to
	// extract the value for this label key. Each entry in this map is
	// a specification for how data should be extracted from log entries that
	// match filter. Each combination of extracted values is treated as
	// a separate rule for the purposes of triggering notifications.
	// Label keys and corresponding values can be used in notifications
	// generated by this condition.
	LabelExtractors map[string]string `pulumi:"labelExtractors"`
}

type AlertPolicyConditionConditionMatchedLogArgs added in v6.8.0

type AlertPolicyConditionConditionMatchedLogArgs struct {
	// A logs-based filter.
	Filter pulumi.StringInput `pulumi:"filter"`
	// A map from a label key to an extractor expression, which is used to
	// extract the value for this label key. Each entry in this map is
	// a specification for how data should be extracted from log entries that
	// match filter. Each combination of extracted values is treated as
	// a separate rule for the purposes of triggering notifications.
	// Label keys and corresponding values can be used in notifications
	// generated by this condition.
	LabelExtractors pulumi.StringMapInput `pulumi:"labelExtractors"`
}

func (AlertPolicyConditionConditionMatchedLogArgs) ElementType added in v6.8.0

func (AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogOutput added in v6.8.0

func (i AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogOutput() AlertPolicyConditionConditionMatchedLogOutput

func (AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogOutputWithContext added in v6.8.0

func (i AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMatchedLogOutput

func (AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogPtrOutput added in v6.8.0

func (i AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogPtrOutput() AlertPolicyConditionConditionMatchedLogPtrOutput

func (AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogPtrOutputWithContext added in v6.8.0

func (i AlertPolicyConditionConditionMatchedLogArgs) ToAlertPolicyConditionConditionMatchedLogPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMatchedLogPtrOutput

func (AlertPolicyConditionConditionMatchedLogArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionMatchedLogInput added in v6.8.0

type AlertPolicyConditionConditionMatchedLogInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionMatchedLogOutput() AlertPolicyConditionConditionMatchedLogOutput
	ToAlertPolicyConditionConditionMatchedLogOutputWithContext(context.Context) AlertPolicyConditionConditionMatchedLogOutput
}

AlertPolicyConditionConditionMatchedLogInput is an input type that accepts AlertPolicyConditionConditionMatchedLogArgs and AlertPolicyConditionConditionMatchedLogOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionMatchedLogInput` via:

AlertPolicyConditionConditionMatchedLogArgs{...}

type AlertPolicyConditionConditionMatchedLogOutput added in v6.8.0

type AlertPolicyConditionConditionMatchedLogOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionMatchedLogOutput) ElementType added in v6.8.0

func (AlertPolicyConditionConditionMatchedLogOutput) Filter added in v6.8.0

A logs-based filter.

func (AlertPolicyConditionConditionMatchedLogOutput) LabelExtractors added in v6.8.0

A map from a label key to an extractor expression, which is used to extract the value for this label key. Each entry in this map is a specification for how data should be extracted from log entries that match filter. Each combination of extracted values is treated as a separate rule for the purposes of triggering notifications. Label keys and corresponding values can be used in notifications generated by this condition.

func (AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogOutput added in v6.8.0

func (o AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogOutput() AlertPolicyConditionConditionMatchedLogOutput

func (AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogOutputWithContext added in v6.8.0

func (o AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMatchedLogOutput

func (AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutput added in v6.8.0

func (o AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutput() AlertPolicyConditionConditionMatchedLogPtrOutput

func (AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutputWithContext added in v6.8.0

func (o AlertPolicyConditionConditionMatchedLogOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMatchedLogPtrOutput

func (AlertPolicyConditionConditionMatchedLogOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionMatchedLogPtrInput added in v6.8.0

type AlertPolicyConditionConditionMatchedLogPtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionMatchedLogPtrOutput() AlertPolicyConditionConditionMatchedLogPtrOutput
	ToAlertPolicyConditionConditionMatchedLogPtrOutputWithContext(context.Context) AlertPolicyConditionConditionMatchedLogPtrOutput
}

AlertPolicyConditionConditionMatchedLogPtrInput is an input type that accepts AlertPolicyConditionConditionMatchedLogArgs, AlertPolicyConditionConditionMatchedLogPtr and AlertPolicyConditionConditionMatchedLogPtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionMatchedLogPtrInput` via:

        AlertPolicyConditionConditionMatchedLogArgs{...}

or:

        nil

type AlertPolicyConditionConditionMatchedLogPtrOutput added in v6.8.0

type AlertPolicyConditionConditionMatchedLogPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionMatchedLogPtrOutput) Elem added in v6.8.0

func (AlertPolicyConditionConditionMatchedLogPtrOutput) ElementType added in v6.8.0

func (AlertPolicyConditionConditionMatchedLogPtrOutput) Filter added in v6.8.0

A logs-based filter.

func (AlertPolicyConditionConditionMatchedLogPtrOutput) LabelExtractors added in v6.8.0

A map from a label key to an extractor expression, which is used to extract the value for this label key. Each entry in this map is a specification for how data should be extracted from log entries that match filter. Each combination of extracted values is treated as a separate rule for the purposes of triggering notifications. Label keys and corresponding values can be used in notifications generated by this condition.

func (AlertPolicyConditionConditionMatchedLogPtrOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutput added in v6.8.0

func (o AlertPolicyConditionConditionMatchedLogPtrOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutput() AlertPolicyConditionConditionMatchedLogPtrOutput

func (AlertPolicyConditionConditionMatchedLogPtrOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutputWithContext added in v6.8.0

func (o AlertPolicyConditionConditionMatchedLogPtrOutput) ToAlertPolicyConditionConditionMatchedLogPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMatchedLogPtrOutput

func (AlertPolicyConditionConditionMatchedLogPtrOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionMonitoringQueryLanguage

type AlertPolicyConditionConditionMonitoringQueryLanguage struct {
	// The amount of time that a time series must
	// violate the threshold to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g., 0, 60, 120, or
	// 300 seconds--are supported. If an invalid
	// value is given, an error will be returned.
	// When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying
	// time series data (which may also be affected
	// by any alignments specified in the
	// aggregations field); a good duration is long
	// enough so that a single outlier does not
	// generate spurious alerts, but short enough
	// that unhealthy states are detected and
	// alerted on quickly.
	Duration string `pulumi:"duration"`
	// A condition control that determines how
	// metric-threshold conditions are evaluated when
	// data stops arriving.
	// Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.
	EvaluationMissingData *string `pulumi:"evaluationMissingData"`
	// Monitoring Query Language query that outputs a boolean stream.
	Query string `pulumi:"query"`
	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations,
	// or by the ratio, if denominatorFilter and
	// denominatorAggregations are specified.
	// Structure is documented below.
	Trigger *AlertPolicyConditionConditionMonitoringQueryLanguageTrigger `pulumi:"trigger"`
}

type AlertPolicyConditionConditionMonitoringQueryLanguageArgs

type AlertPolicyConditionConditionMonitoringQueryLanguageArgs struct {
	// The amount of time that a time series must
	// violate the threshold to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g., 0, 60, 120, or
	// 300 seconds--are supported. If an invalid
	// value is given, an error will be returned.
	// When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying
	// time series data (which may also be affected
	// by any alignments specified in the
	// aggregations field); a good duration is long
	// enough so that a single outlier does not
	// generate spurious alerts, but short enough
	// that unhealthy states are detected and
	// alerted on quickly.
	Duration pulumi.StringInput `pulumi:"duration"`
	// A condition control that determines how
	// metric-threshold conditions are evaluated when
	// data stops arriving.
	// Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.
	EvaluationMissingData pulumi.StringPtrInput `pulumi:"evaluationMissingData"`
	// Monitoring Query Language query that outputs a boolean stream.
	Query pulumi.StringInput `pulumi:"query"`
	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations,
	// or by the ratio, if denominatorFilter and
	// denominatorAggregations are specified.
	// Structure is documented below.
	Trigger AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrInput `pulumi:"trigger"`
}

func (AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ElementType

func (AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageOutputWithContext

func (i AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

func (i AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput() AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutputWithContext

func (i AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionMonitoringQueryLanguageInput

type AlertPolicyConditionConditionMonitoringQueryLanguageInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionMonitoringQueryLanguageOutput() AlertPolicyConditionConditionMonitoringQueryLanguageOutput
	ToAlertPolicyConditionConditionMonitoringQueryLanguageOutputWithContext(context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageOutput
}

AlertPolicyConditionConditionMonitoringQueryLanguageInput is an input type that accepts AlertPolicyConditionConditionMonitoringQueryLanguageArgs and AlertPolicyConditionConditionMonitoringQueryLanguageOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionMonitoringQueryLanguageInput` via:

AlertPolicyConditionConditionMonitoringQueryLanguageArgs{...}

type AlertPolicyConditionConditionMonitoringQueryLanguageOutput

type AlertPolicyConditionConditionMonitoringQueryLanguageOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) Duration

The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ElementType

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) EvaluationMissingData added in v6.34.0

A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) Query

Monitoring Query Language query that outputs a boolean stream.

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageOutputWithContext

func (o AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutputWithContext

func (o AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) ToOutput added in v6.65.1

func (AlertPolicyConditionConditionMonitoringQueryLanguageOutput) Trigger

The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominatorFilter and denominatorAggregations are specified. Structure is documented below.

type AlertPolicyConditionConditionMonitoringQueryLanguagePtrInput

type AlertPolicyConditionConditionMonitoringQueryLanguagePtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput() AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput
	ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutputWithContext(context.Context) AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput
}

AlertPolicyConditionConditionMonitoringQueryLanguagePtrInput is an input type that accepts AlertPolicyConditionConditionMonitoringQueryLanguageArgs, AlertPolicyConditionConditionMonitoringQueryLanguagePtr and AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionMonitoringQueryLanguagePtrInput` via:

        AlertPolicyConditionConditionMonitoringQueryLanguageArgs{...}

or:

        nil

type AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

type AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) Duration

The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) Elem

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) ElementType

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) EvaluationMissingData added in v6.34.0

A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) Query

Monitoring Query Language query that outputs a boolean stream.

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutputWithContext

func (o AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguagePtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) ToOutput added in v6.65.1

func (AlertPolicyConditionConditionMonitoringQueryLanguagePtrOutput) Trigger

The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominatorFilter and denominatorAggregations are specified. Structure is documented below.

type AlertPolicyConditionConditionMonitoringQueryLanguageTrigger

type AlertPolicyConditionConditionMonitoringQueryLanguageTrigger struct {
	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	Count *int `pulumi:"count"`
	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	Percent *float64 `pulumi:"percent"`
}

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs struct {
	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	Percent pulumi.Float64PtrInput `pulumi:"percent"`
}

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ElementType

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutputWithContext

func (i AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutputWithContext

func (i AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerInput

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput() AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput
	ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutputWithContext(context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput
}

AlertPolicyConditionConditionMonitoringQueryLanguageTriggerInput is an input type that accepts AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs and AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionMonitoringQueryLanguageTriggerInput` via:

AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs{...}

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) Count

The absolute number of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ElementType

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) Percent

The percentage of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutputWithContext

func (o AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutputWithContext

func (o AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrInput

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput() AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput
	ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutputWithContext(context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput
}

AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrInput is an input type that accepts AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs, AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtr and AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrInput` via:

        AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgs{...}

or:

        nil

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput

type AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) Count

The absolute number of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) Elem

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) ElementType

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) Percent

The percentage of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutputWithContext

func (o AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) ToAlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput

func (AlertPolicyConditionConditionMonitoringQueryLanguageTriggerPtrOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionPrometheusQueryLanguage added in v6.62.0

type AlertPolicyConditionConditionPrometheusQueryLanguage struct {
	// The alerting rule name of this alert in the corresponding Prometheus
	// configuration file.
	// Some external tools may require this field to be populated correctly
	// in order to refer to the original Prometheus configuration file.
	// The rule group name and the alert name are necessary to update the
	// relevant AlertPolicies in case the definition of the rule group changes
	// in the future.
	// This field is optional. If this field is not empty, then it must be a
	// valid Prometheus label name.
	//
	// ***
	AlertRule *string `pulumi:"alertRule"`
	// Alerts are considered firing once their PromQL expression evaluated
	// to be "true" for this long. Alerts whose PromQL expression was not
	// evaluated to be "true" for long enough are considered pending. The
	// default value is zero. Must be zero or positive.
	Duration *string `pulumi:"duration"`
	// How often this rule should be evaluated. Must be a positive multiple
	// of 30 seconds or missing. The default value is 30 seconds. If this
	// PrometheusQueryLanguageCondition was generated from a Prometheus
	// alerting rule, then this value should be taken from the enclosing
	// rule group.
	EvaluationInterval *string `pulumi:"evaluationInterval"`
	// Labels to add to or overwrite in the PromQL query result. Label names
	// must be valid.
	// Label values can be templatized by using variables. The only available
	// variable names are the names of the labels in the PromQL result, including
	// "__name__" and "value". "labels" may be empty. This field is intended to be
	// used for organizing and identifying the AlertPolicy
	Labels map[string]string `pulumi:"labels"`
	// The PromQL expression to evaluate. Every evaluation cycle this
	// expression is evaluated at the current time, and all resultant time
	// series become pending/firing alerts. This field must not be empty.
	Query string `pulumi:"query"`
	// The rule group name of this alert in the corresponding Prometheus
	// configuration file.
	// Some external tools may require this field to be populated correctly
	// in order to refer to the original Prometheus configuration file.
	// The rule group name and the alert name are necessary to update the
	// relevant AlertPolicies in case the definition of the rule group changes
	// in the future.
	// This field is optional. If this field is not empty, then it must be a
	// valid Prometheus label name.
	RuleGroup *string `pulumi:"ruleGroup"`
}

type AlertPolicyConditionConditionPrometheusQueryLanguageArgs added in v6.62.0

type AlertPolicyConditionConditionPrometheusQueryLanguageArgs struct {
	// The alerting rule name of this alert in the corresponding Prometheus
	// configuration file.
	// Some external tools may require this field to be populated correctly
	// in order to refer to the original Prometheus configuration file.
	// The rule group name and the alert name are necessary to update the
	// relevant AlertPolicies in case the definition of the rule group changes
	// in the future.
	// This field is optional. If this field is not empty, then it must be a
	// valid Prometheus label name.
	//
	// ***
	AlertRule pulumi.StringPtrInput `pulumi:"alertRule"`
	// Alerts are considered firing once their PromQL expression evaluated
	// to be "true" for this long. Alerts whose PromQL expression was not
	// evaluated to be "true" for long enough are considered pending. The
	// default value is zero. Must be zero or positive.
	Duration pulumi.StringPtrInput `pulumi:"duration"`
	// How often this rule should be evaluated. Must be a positive multiple
	// of 30 seconds or missing. The default value is 30 seconds. If this
	// PrometheusQueryLanguageCondition was generated from a Prometheus
	// alerting rule, then this value should be taken from the enclosing
	// rule group.
	EvaluationInterval pulumi.StringPtrInput `pulumi:"evaluationInterval"`
	// Labels to add to or overwrite in the PromQL query result. Label names
	// must be valid.
	// Label values can be templatized by using variables. The only available
	// variable names are the names of the labels in the PromQL result, including
	// "__name__" and "value". "labels" may be empty. This field is intended to be
	// used for organizing and identifying the AlertPolicy
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// The PromQL expression to evaluate. Every evaluation cycle this
	// expression is evaluated at the current time, and all resultant time
	// series become pending/firing alerts. This field must not be empty.
	Query pulumi.StringInput `pulumi:"query"`
	// The rule group name of this alert in the corresponding Prometheus
	// configuration file.
	// Some external tools may require this field to be populated correctly
	// in order to refer to the original Prometheus configuration file.
	// The rule group name and the alert name are necessary to update the
	// relevant AlertPolicies in case the definition of the rule group changes
	// in the future.
	// This field is optional. If this field is not empty, then it must be a
	// valid Prometheus label name.
	RuleGroup pulumi.StringPtrInput `pulumi:"ruleGroup"`
}

func (AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ElementType added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToAlertPolicyConditionConditionPrometheusQueryLanguageOutput added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToAlertPolicyConditionConditionPrometheusQueryLanguageOutputWithContext added in v6.62.0

func (i AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToAlertPolicyConditionConditionPrometheusQueryLanguageOutputWithContext(ctx context.Context) AlertPolicyConditionConditionPrometheusQueryLanguageOutput

func (AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput added in v6.62.0

func (i AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput() AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput

func (AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutputWithContext added in v6.62.0

func (i AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput

func (AlertPolicyConditionConditionPrometheusQueryLanguageArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionPrometheusQueryLanguageInput added in v6.62.0

type AlertPolicyConditionConditionPrometheusQueryLanguageInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionPrometheusQueryLanguageOutput() AlertPolicyConditionConditionPrometheusQueryLanguageOutput
	ToAlertPolicyConditionConditionPrometheusQueryLanguageOutputWithContext(context.Context) AlertPolicyConditionConditionPrometheusQueryLanguageOutput
}

AlertPolicyConditionConditionPrometheusQueryLanguageInput is an input type that accepts AlertPolicyConditionConditionPrometheusQueryLanguageArgs and AlertPolicyConditionConditionPrometheusQueryLanguageOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionPrometheusQueryLanguageInput` via:

AlertPolicyConditionConditionPrometheusQueryLanguageArgs{...}

type AlertPolicyConditionConditionPrometheusQueryLanguageOutput added in v6.62.0

type AlertPolicyConditionConditionPrometheusQueryLanguageOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) AlertRule added in v6.62.0

The alerting rule name of this alert in the corresponding Prometheus configuration file. Some external tools may require this field to be populated correctly in order to refer to the original Prometheus configuration file. The rule group name and the alert name are necessary to update the relevant AlertPolicies in case the definition of the rule group changes in the future. This field is optional. If this field is not empty, then it must be a valid Prometheus label name.

***

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) Duration added in v6.62.0

Alerts are considered firing once their PromQL expression evaluated to be "true" for this long. Alerts whose PromQL expression was not evaluated to be "true" for long enough are considered pending. The default value is zero. Must be zero or positive.

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ElementType added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) EvaluationInterval added in v6.62.0

How often this rule should be evaluated. Must be a positive multiple of 30 seconds or missing. The default value is 30 seconds. If this PrometheusQueryLanguageCondition was generated from a Prometheus alerting rule, then this value should be taken from the enclosing rule group.

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) Labels added in v6.62.0

Labels to add to or overwrite in the PromQL query result. Label names must be valid. Label values can be templatized by using variables. The only available variable names are the names of the labels in the PromQL result, including "__name__" and "value". "labels" may be empty. This field is intended to be used for organizing and identifying the AlertPolicy

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) Query added in v6.62.0

The PromQL expression to evaluate. Every evaluation cycle this expression is evaluated at the current time, and all resultant time series become pending/firing alerts. This field must not be empty.

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) RuleGroup added in v6.62.0

The rule group name of this alert in the corresponding Prometheus configuration file. Some external tools may require this field to be populated correctly in order to refer to the original Prometheus configuration file. The rule group name and the alert name are necessary to update the relevant AlertPolicies in case the definition of the rule group changes in the future. This field is optional. If this field is not empty, then it must be a valid Prometheus label name.

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguageOutput added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguageOutputWithContext added in v6.62.0

func (o AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguageOutputWithContext(ctx context.Context) AlertPolicyConditionConditionPrometheusQueryLanguageOutput

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutputWithContext added in v6.62.0

func (o AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput

func (AlertPolicyConditionConditionPrometheusQueryLanguageOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionPrometheusQueryLanguagePtrInput added in v6.62.0

type AlertPolicyConditionConditionPrometheusQueryLanguagePtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput() AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput
	ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutputWithContext(context.Context) AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput
}

AlertPolicyConditionConditionPrometheusQueryLanguagePtrInput is an input type that accepts AlertPolicyConditionConditionPrometheusQueryLanguageArgs, AlertPolicyConditionConditionPrometheusQueryLanguagePtr and AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionPrometheusQueryLanguagePtrInput` via:

        AlertPolicyConditionConditionPrometheusQueryLanguageArgs{...}

or:

        nil

type AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput added in v6.62.0

type AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) AlertRule added in v6.62.0

The alerting rule name of this alert in the corresponding Prometheus configuration file. Some external tools may require this field to be populated correctly in order to refer to the original Prometheus configuration file. The rule group name and the alert name are necessary to update the relevant AlertPolicies in case the definition of the rule group changes in the future. This field is optional. If this field is not empty, then it must be a valid Prometheus label name.

***

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) Duration added in v6.62.0

Alerts are considered firing once their PromQL expression evaluated to be "true" for this long. Alerts whose PromQL expression was not evaluated to be "true" for long enough are considered pending. The default value is zero. Must be zero or positive.

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) Elem added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) ElementType added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) EvaluationInterval added in v6.62.0

How often this rule should be evaluated. Must be a positive multiple of 30 seconds or missing. The default value is 30 seconds. If this PrometheusQueryLanguageCondition was generated from a Prometheus alerting rule, then this value should be taken from the enclosing rule group.

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) Labels added in v6.62.0

Labels to add to or overwrite in the PromQL query result. Label names must be valid. Label values can be templatized by using variables. The only available variable names are the names of the labels in the PromQL result, including "__name__" and "value". "labels" may be empty. This field is intended to be used for organizing and identifying the AlertPolicy

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) Query added in v6.62.0

The PromQL expression to evaluate. Every evaluation cycle this expression is evaluated at the current time, and all resultant time series become pending/firing alerts. This field must not be empty.

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) RuleGroup added in v6.62.0

The rule group name of this alert in the corresponding Prometheus configuration file. Some external tools may require this field to be populated correctly in order to refer to the original Prometheus configuration file. The rule group name and the alert name are necessary to update the relevant AlertPolicies in case the definition of the rule group changes in the future. This field is optional. If this field is not empty, then it must be a valid Prometheus label name.

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput added in v6.62.0

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutputWithContext added in v6.62.0

func (o AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) ToAlertPolicyConditionConditionPrometheusQueryLanguagePtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput

func (AlertPolicyConditionConditionPrometheusQueryLanguagePtrOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThreshold

type AlertPolicyConditionConditionThreshold struct {
	// Specifies the alignment of data points in
	// individual time series as well as how to
	// combine the retrieved time series together
	// (such as when aggregating multiple streams
	// on each resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).
	// Multiple aggregations are applied in the
	// order specified.This field is similar to the
	// one in the MetricService.ListTimeSeries
	// request. It is advisable to use the
	// ListTimeSeries method when debugging this
	// field.
	// Structure is documented below.
	Aggregations []AlertPolicyConditionConditionThresholdAggregation `pulumi:"aggregations"`
	// The comparison to apply between the time
	// series (indicated by filter and aggregation)
	// and the threshold (indicated by
	// threshold_value). The comparison is applied
	// on each time series, with the time series on
	// the left-hand side and the threshold on the
	// right-hand side. Only COMPARISON_LT and
	// COMPARISON_GT are supported currently.
	// Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
	Comparison string `pulumi:"comparison"`
	// Specifies the alignment of data points in
	// individual time series selected by
	// denominatorFilter as well as how to combine
	// the retrieved time series together (such as
	// when aggregating multiple streams on each
	// resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).When
	// computing ratios, the aggregations and
	// denominatorAggregations fields must use the
	// same alignment period and produce time
	// series that have the same periodicity and
	// labels.This field is similar to the one in
	// the MetricService.ListTimeSeries request. It
	// is advisable to use the ListTimeSeries
	// method when debugging this field.
	// Structure is documented below.
	DenominatorAggregations []AlertPolicyConditionConditionThresholdDenominatorAggregation `pulumi:"denominatorAggregations"`
	// A filter that identifies a time series that
	// should be used as the denominator of a ratio
	// that will be compared with the threshold. If
	// a denominatorFilter is specified, the time
	// series specified by the filter field will be
	// used as the numerator.The filter is similar
	// to the one that is specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	DenominatorFilter *string `pulumi:"denominatorFilter"`
	// The amount of time that a time series must
	// violate the threshold to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g., 0, 60, 120, or
	// 300 seconds--are supported. If an invalid
	// value is given, an error will be returned.
	// When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying
	// time series data (which may also be affected
	// by any alignments specified in the
	// aggregations field); a good duration is long
	// enough so that a single outlier does not
	// generate spurious alerts, but short enough
	// that unhealthy states are detected and
	// alerted on quickly.
	Duration string `pulumi:"duration"`
	// A condition control that determines how
	// metric-threshold conditions are evaluated when
	// data stops arriving.
	// Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.
	EvaluationMissingData *string `pulumi:"evaluationMissingData"`
	// A filter that identifies which time series
	// should be compared with the threshold.The
	// filter is similar to the one that is
	// specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	Filter *string `pulumi:"filter"`
	// When this field is present, the `MetricThreshold`
	// condition forecasts whether the time series is
	// predicted to violate the threshold within the
	// `forecastHorizon`. When this field is not set, the
	// `MetricThreshold` tests the current value of the
	// timeseries against the threshold.
	// Structure is documented below.
	ForecastOptions *AlertPolicyConditionConditionThresholdForecastOptions `pulumi:"forecastOptions"`
	// A value against which to compare the time
	// series.
	ThresholdValue *float64 `pulumi:"thresholdValue"`
	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations,
	// or by the ratio, if denominatorFilter and
	// denominatorAggregations are specified.
	// Structure is documented below.
	Trigger *AlertPolicyConditionConditionThresholdTrigger `pulumi:"trigger"`
}

type AlertPolicyConditionConditionThresholdAggregation

type AlertPolicyConditionConditionThresholdAggregation struct {
	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	AlignmentPeriod *string `pulumi:"alignmentPeriod"`
	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.
	CrossSeriesReducer *string `pulumi:"crossSeriesReducer"`
	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	GroupByFields []string `pulumi:"groupByFields"`
	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.
	PerSeriesAligner *string `pulumi:"perSeriesAligner"`
}

type AlertPolicyConditionConditionThresholdAggregationArgs

type AlertPolicyConditionConditionThresholdAggregationArgs struct {
	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	AlignmentPeriod pulumi.StringPtrInput `pulumi:"alignmentPeriod"`
	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.
	CrossSeriesReducer pulumi.StringPtrInput `pulumi:"crossSeriesReducer"`
	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	GroupByFields pulumi.StringArrayInput `pulumi:"groupByFields"`
	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.
	PerSeriesAligner pulumi.StringPtrInput `pulumi:"perSeriesAligner"`
}

func (AlertPolicyConditionConditionThresholdAggregationArgs) ElementType

func (AlertPolicyConditionConditionThresholdAggregationArgs) ToAlertPolicyConditionConditionThresholdAggregationOutput

func (i AlertPolicyConditionConditionThresholdAggregationArgs) ToAlertPolicyConditionConditionThresholdAggregationOutput() AlertPolicyConditionConditionThresholdAggregationOutput

func (AlertPolicyConditionConditionThresholdAggregationArgs) ToAlertPolicyConditionConditionThresholdAggregationOutputWithContext

func (i AlertPolicyConditionConditionThresholdAggregationArgs) ToAlertPolicyConditionConditionThresholdAggregationOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdAggregationOutput

func (AlertPolicyConditionConditionThresholdAggregationArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdAggregationArray

type AlertPolicyConditionConditionThresholdAggregationArray []AlertPolicyConditionConditionThresholdAggregationInput

func (AlertPolicyConditionConditionThresholdAggregationArray) ElementType

func (AlertPolicyConditionConditionThresholdAggregationArray) ToAlertPolicyConditionConditionThresholdAggregationArrayOutput

func (i AlertPolicyConditionConditionThresholdAggregationArray) ToAlertPolicyConditionConditionThresholdAggregationArrayOutput() AlertPolicyConditionConditionThresholdAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdAggregationArray) ToAlertPolicyConditionConditionThresholdAggregationArrayOutputWithContext

func (i AlertPolicyConditionConditionThresholdAggregationArray) ToAlertPolicyConditionConditionThresholdAggregationArrayOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdAggregationArray) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdAggregationArrayInput

type AlertPolicyConditionConditionThresholdAggregationArrayInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdAggregationArrayOutput() AlertPolicyConditionConditionThresholdAggregationArrayOutput
	ToAlertPolicyConditionConditionThresholdAggregationArrayOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdAggregationArrayOutput
}

AlertPolicyConditionConditionThresholdAggregationArrayInput is an input type that accepts AlertPolicyConditionConditionThresholdAggregationArray and AlertPolicyConditionConditionThresholdAggregationArrayOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdAggregationArrayInput` via:

AlertPolicyConditionConditionThresholdAggregationArray{ AlertPolicyConditionConditionThresholdAggregationArgs{...} }

type AlertPolicyConditionConditionThresholdAggregationArrayOutput

type AlertPolicyConditionConditionThresholdAggregationArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdAggregationArrayOutput) ElementType

func (AlertPolicyConditionConditionThresholdAggregationArrayOutput) Index

func (AlertPolicyConditionConditionThresholdAggregationArrayOutput) ToAlertPolicyConditionConditionThresholdAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdAggregationArrayOutput) ToAlertPolicyConditionConditionThresholdAggregationArrayOutputWithContext

func (o AlertPolicyConditionConditionThresholdAggregationArrayOutput) ToAlertPolicyConditionConditionThresholdAggregationArrayOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdAggregationArrayOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdAggregationInput

type AlertPolicyConditionConditionThresholdAggregationInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdAggregationOutput() AlertPolicyConditionConditionThresholdAggregationOutput
	ToAlertPolicyConditionConditionThresholdAggregationOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdAggregationOutput
}

AlertPolicyConditionConditionThresholdAggregationInput is an input type that accepts AlertPolicyConditionConditionThresholdAggregationArgs and AlertPolicyConditionConditionThresholdAggregationOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdAggregationInput` via:

AlertPolicyConditionConditionThresholdAggregationArgs{...}

type AlertPolicyConditionConditionThresholdAggregationOutput

type AlertPolicyConditionConditionThresholdAggregationOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdAggregationOutput) AlignmentPeriod

The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned.

func (AlertPolicyConditionConditionThresholdAggregationOutput) CrossSeriesReducer

The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.

func (AlertPolicyConditionConditionThresholdAggregationOutput) ElementType

func (AlertPolicyConditionConditionThresholdAggregationOutput) GroupByFields

The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.

func (AlertPolicyConditionConditionThresholdAggregationOutput) PerSeriesAligner

The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.

func (AlertPolicyConditionConditionThresholdAggregationOutput) ToAlertPolicyConditionConditionThresholdAggregationOutput

func (AlertPolicyConditionConditionThresholdAggregationOutput) ToAlertPolicyConditionConditionThresholdAggregationOutputWithContext

func (o AlertPolicyConditionConditionThresholdAggregationOutput) ToAlertPolicyConditionConditionThresholdAggregationOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdAggregationOutput

func (AlertPolicyConditionConditionThresholdAggregationOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdArgs

type AlertPolicyConditionConditionThresholdArgs struct {
	// Specifies the alignment of data points in
	// individual time series as well as how to
	// combine the retrieved time series together
	// (such as when aggregating multiple streams
	// on each resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).
	// Multiple aggregations are applied in the
	// order specified.This field is similar to the
	// one in the MetricService.ListTimeSeries
	// request. It is advisable to use the
	// ListTimeSeries method when debugging this
	// field.
	// Structure is documented below.
	Aggregations AlertPolicyConditionConditionThresholdAggregationArrayInput `pulumi:"aggregations"`
	// The comparison to apply between the time
	// series (indicated by filter and aggregation)
	// and the threshold (indicated by
	// threshold_value). The comparison is applied
	// on each time series, with the time series on
	// the left-hand side and the threshold on the
	// right-hand side. Only COMPARISON_LT and
	// COMPARISON_GT are supported currently.
	// Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
	Comparison pulumi.StringInput `pulumi:"comparison"`
	// Specifies the alignment of data points in
	// individual time series selected by
	// denominatorFilter as well as how to combine
	// the retrieved time series together (such as
	// when aggregating multiple streams on each
	// resource to a single stream for each
	// resource or when aggregating streams across
	// all members of a group of resources).When
	// computing ratios, the aggregations and
	// denominatorAggregations fields must use the
	// same alignment period and produce time
	// series that have the same periodicity and
	// labels.This field is similar to the one in
	// the MetricService.ListTimeSeries request. It
	// is advisable to use the ListTimeSeries
	// method when debugging this field.
	// Structure is documented below.
	DenominatorAggregations AlertPolicyConditionConditionThresholdDenominatorAggregationArrayInput `pulumi:"denominatorAggregations"`
	// A filter that identifies a time series that
	// should be used as the denominator of a ratio
	// that will be compared with the threshold. If
	// a denominatorFilter is specified, the time
	// series specified by the filter field will be
	// used as the numerator.The filter is similar
	// to the one that is specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	DenominatorFilter pulumi.StringPtrInput `pulumi:"denominatorFilter"`
	// The amount of time that a time series must
	// violate the threshold to be considered
	// failing. Currently, only values that are a
	// multiple of a minute--e.g., 0, 60, 120, or
	// 300 seconds--are supported. If an invalid
	// value is given, an error will be returned.
	// When choosing a duration, it is useful to
	// keep in mind the frequency of the underlying
	// time series data (which may also be affected
	// by any alignments specified in the
	// aggregations field); a good duration is long
	// enough so that a single outlier does not
	// generate spurious alerts, but short enough
	// that unhealthy states are detected and
	// alerted on quickly.
	Duration pulumi.StringInput `pulumi:"duration"`
	// A condition control that determines how
	// metric-threshold conditions are evaluated when
	// data stops arriving.
	// Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.
	EvaluationMissingData pulumi.StringPtrInput `pulumi:"evaluationMissingData"`
	// A filter that identifies which time series
	// should be compared with the threshold.The
	// filter is similar to the one that is
	// specified in the
	// MetricService.ListTimeSeries request (that
	// call is useful to verify the time series
	// that will be retrieved / processed) and must
	// specify the metric type and optionally may
	// contain restrictions on resource type,
	// resource labels, and metric labels. This
	// field may not exceed 2048 Unicode characters
	// in length.
	Filter pulumi.StringPtrInput `pulumi:"filter"`
	// When this field is present, the `MetricThreshold`
	// condition forecasts whether the time series is
	// predicted to violate the threshold within the
	// `forecastHorizon`. When this field is not set, the
	// `MetricThreshold` tests the current value of the
	// timeseries against the threshold.
	// Structure is documented below.
	ForecastOptions AlertPolicyConditionConditionThresholdForecastOptionsPtrInput `pulumi:"forecastOptions"`
	// A value against which to compare the time
	// series.
	ThresholdValue pulumi.Float64PtrInput `pulumi:"thresholdValue"`
	// The number/percent of time series for which
	// the comparison must hold in order for the
	// condition to trigger. If unspecified, then
	// the condition will trigger if the comparison
	// is true for any of the time series that have
	// been identified by filter and aggregations,
	// or by the ratio, if denominatorFilter and
	// denominatorAggregations are specified.
	// Structure is documented below.
	Trigger AlertPolicyConditionConditionThresholdTriggerPtrInput `pulumi:"trigger"`
}

func (AlertPolicyConditionConditionThresholdArgs) ElementType

func (AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdOutput

func (i AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdOutput() AlertPolicyConditionConditionThresholdOutput

func (AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdOutputWithContext

func (i AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdOutput

func (AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdPtrOutput

func (i AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdPtrOutput() AlertPolicyConditionConditionThresholdPtrOutput

func (AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdPtrOutputWithContext

func (i AlertPolicyConditionConditionThresholdArgs) ToAlertPolicyConditionConditionThresholdPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdPtrOutput

func (AlertPolicyConditionConditionThresholdArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdDenominatorAggregation

type AlertPolicyConditionConditionThresholdDenominatorAggregation struct {
	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	AlignmentPeriod *string `pulumi:"alignmentPeriod"`
	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.
	CrossSeriesReducer *string `pulumi:"crossSeriesReducer"`
	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	GroupByFields []string `pulumi:"groupByFields"`
	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.
	PerSeriesAligner *string `pulumi:"perSeriesAligner"`
}

type AlertPolicyConditionConditionThresholdDenominatorAggregationArgs

type AlertPolicyConditionConditionThresholdDenominatorAggregationArgs struct {
	// The alignment period for per-time
	// series alignment. If present,
	// alignmentPeriod must be at least
	// 60 seconds. After per-time series
	// alignment, each time series will
	// contain data points only on the
	// period boundaries. If
	// perSeriesAligner is not specified
	// or equals ALIGN_NONE, then this
	// field is ignored. If
	// perSeriesAligner is specified and
	// does not equal ALIGN_NONE, then
	// this field must be defined;
	// otherwise an error is returned.
	AlignmentPeriod pulumi.StringPtrInput `pulumi:"alignmentPeriod"`
	// The approach to be used to combine
	// time series. Not all reducer
	// functions may be applied to all
	// time series, depending on the
	// metric type and the value type of
	// the original time series.
	// Reduction may change the metric
	// type of value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.
	CrossSeriesReducer pulumi.StringPtrInput `pulumi:"crossSeriesReducer"`
	// The set of fields to preserve when
	// crossSeriesReducer is specified.
	// The groupByFields determine how
	// the time series are partitioned
	// into subsets prior to applying the
	// aggregation function. Each subset
	// contains time series that have the
	// same value for each of the
	// grouping fields. Each individual
	// time series is a member of exactly
	// one subset. The crossSeriesReducer
	// is applied to each subset of time
	// series. It is not possible to
	// reduce across different resource
	// types, so this field implicitly
	// contains resource.type. Fields not
	// specified in groupByFields are
	// aggregated away. If groupByFields
	// is not specified and all the time
	// series have the same resource
	// type, then the time series are
	// aggregated into a single output
	// time series. If crossSeriesReducer
	// is not defined, this field is
	// ignored.
	GroupByFields pulumi.StringArrayInput `pulumi:"groupByFields"`
	// The approach to be used to align
	// individual time series. Not all
	// alignment functions may be applied
	// to all time series, depending on
	// the metric type and value type of
	// the original time series.
	// Alignment may change the metric
	// type or the value type of the time
	// series.Time series data must be
	// aligned in order to perform cross-
	// time series reduction. If
	// crossSeriesReducer is specified,
	// then perSeriesAligner must be
	// specified and not equal ALIGN_NONE
	// and alignmentPeriod must be
	// specified; otherwise, an error is
	// returned.
	// Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.
	PerSeriesAligner pulumi.StringPtrInput `pulumi:"perSeriesAligner"`
}

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArgs) ElementType

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArgs) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArgs) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutputWithContext

func (i AlertPolicyConditionConditionThresholdDenominatorAggregationArgs) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdDenominatorAggregationOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdDenominatorAggregationArray

type AlertPolicyConditionConditionThresholdDenominatorAggregationArray []AlertPolicyConditionConditionThresholdDenominatorAggregationInput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ElementType

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutputWithContext

func (i AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdDenominatorAggregationArrayInput

type AlertPolicyConditionConditionThresholdDenominatorAggregationArrayInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput() AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput
	ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput
}

AlertPolicyConditionConditionThresholdDenominatorAggregationArrayInput is an input type that accepts AlertPolicyConditionConditionThresholdDenominatorAggregationArray and AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdDenominatorAggregationArrayInput` via:

AlertPolicyConditionConditionThresholdDenominatorAggregationArray{ AlertPolicyConditionConditionThresholdDenominatorAggregationArgs{...} }

type AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput

type AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput) ElementType

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutputWithContext

func (o AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdDenominatorAggregationInput

type AlertPolicyConditionConditionThresholdDenominatorAggregationInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutput() AlertPolicyConditionConditionThresholdDenominatorAggregationOutput
	ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdDenominatorAggregationOutput
}

AlertPolicyConditionConditionThresholdDenominatorAggregationInput is an input type that accepts AlertPolicyConditionConditionThresholdDenominatorAggregationArgs and AlertPolicyConditionConditionThresholdDenominatorAggregationOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdDenominatorAggregationInput` via:

AlertPolicyConditionConditionThresholdDenominatorAggregationArgs{...}

type AlertPolicyConditionConditionThresholdDenominatorAggregationOutput

type AlertPolicyConditionConditionThresholdDenominatorAggregationOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) AlignmentPeriod

The alignment period for per-time series alignment. If present, alignmentPeriod must be at least 60 seconds. After per-time series alignment, each time series will contain data points only on the period boundaries. If perSeriesAligner is not specified or equals ALIGN_NONE, then this field is ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then this field must be defined; otherwise an error is returned.

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) CrossSeriesReducer

The approach to be used to combine time series. Not all reducer functions may be applied to all time series, depending on the metric type and the value type of the original time series. Reduction may change the metric type of value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values are: `REDUCE_NONE`, `REDUCE_MEAN`, `REDUCE_MIN`, `REDUCE_MAX`, `REDUCE_SUM`, `REDUCE_STDDEV`, `REDUCE_COUNT`, `REDUCE_COUNT_TRUE`, `REDUCE_COUNT_FALSE`, `REDUCE_FRACTION_TRUE`, `REDUCE_PERCENTILE_99`, `REDUCE_PERCENTILE_95`, `REDUCE_PERCENTILE_50`, `REDUCE_PERCENTILE_05`.

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) ElementType

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) GroupByFields

The set of fields to preserve when crossSeriesReducer is specified. The groupByFields determine how the time series are partitioned into subsets prior to applying the aggregation function. Each subset contains time series that have the same value for each of the grouping fields. Each individual time series is a member of exactly one subset. The crossSeriesReducer is applied to each subset of time series. It is not possible to reduce across different resource types, so this field implicitly contains resource.type. Fields not specified in groupByFields are aggregated away. If groupByFields is not specified and all the time series have the same resource type, then the time series are aggregated into a single output time series. If crossSeriesReducer is not defined, this field is ignored.

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) PerSeriesAligner

The approach to be used to align individual time series. Not all alignment functions may be applied to all time series, depending on the metric type and value type of the original time series. Alignment may change the metric type or the value type of the time series.Time series data must be aligned in order to perform cross- time series reduction. If crossSeriesReducer is specified, then perSeriesAligner must be specified and not equal ALIGN_NONE and alignmentPeriod must be specified; otherwise, an error is returned. Possible values are: `ALIGN_NONE`, `ALIGN_DELTA`, `ALIGN_RATE`, `ALIGN_INTERPOLATE`, `ALIGN_NEXT_OLDER`, `ALIGN_MIN`, `ALIGN_MAX`, `ALIGN_MEAN`, `ALIGN_COUNT`, `ALIGN_SUM`, `ALIGN_STDDEV`, `ALIGN_COUNT_TRUE`, `ALIGN_COUNT_FALSE`, `ALIGN_FRACTION_TRUE`, `ALIGN_PERCENTILE_99`, `ALIGN_PERCENTILE_95`, `ALIGN_PERCENTILE_50`, `ALIGN_PERCENTILE_05`, `ALIGN_PERCENT_CHANGE`.

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutputWithContext

func (o AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdDenominatorAggregationOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdForecastOptions added in v6.57.0

type AlertPolicyConditionConditionThresholdForecastOptions struct {
	// The length of time into the future to forecast
	// whether a timeseries will violate the threshold.
	// If the predicted value is found to violate the
	// threshold, and the violation is observed in all
	// forecasts made for the Configured `duration`,
	// then the timeseries is considered to be failing.
	ForecastHorizon string `pulumi:"forecastHorizon"`
}

type AlertPolicyConditionConditionThresholdForecastOptionsArgs added in v6.57.0

type AlertPolicyConditionConditionThresholdForecastOptionsArgs struct {
	// The length of time into the future to forecast
	// whether a timeseries will violate the threshold.
	// If the predicted value is found to violate the
	// threshold, and the violation is observed in all
	// forecasts made for the Configured `duration`,
	// then the timeseries is considered to be failing.
	ForecastHorizon pulumi.StringInput `pulumi:"forecastHorizon"`
}

func (AlertPolicyConditionConditionThresholdForecastOptionsArgs) ElementType added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsArgs) ToAlertPolicyConditionConditionThresholdForecastOptionsOutput added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsArgs) ToAlertPolicyConditionConditionThresholdForecastOptionsOutputWithContext added in v6.57.0

func (i AlertPolicyConditionConditionThresholdForecastOptionsArgs) ToAlertPolicyConditionConditionThresholdForecastOptionsOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdForecastOptionsOutput

func (AlertPolicyConditionConditionThresholdForecastOptionsArgs) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutput added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsArgs) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutputWithContext added in v6.57.0

func (i AlertPolicyConditionConditionThresholdForecastOptionsArgs) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput

func (AlertPolicyConditionConditionThresholdForecastOptionsArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdForecastOptionsInput added in v6.57.0

type AlertPolicyConditionConditionThresholdForecastOptionsInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdForecastOptionsOutput() AlertPolicyConditionConditionThresholdForecastOptionsOutput
	ToAlertPolicyConditionConditionThresholdForecastOptionsOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdForecastOptionsOutput
}

AlertPolicyConditionConditionThresholdForecastOptionsInput is an input type that accepts AlertPolicyConditionConditionThresholdForecastOptionsArgs and AlertPolicyConditionConditionThresholdForecastOptionsOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdForecastOptionsInput` via:

AlertPolicyConditionConditionThresholdForecastOptionsArgs{...}

type AlertPolicyConditionConditionThresholdForecastOptionsOutput added in v6.57.0

type AlertPolicyConditionConditionThresholdForecastOptionsOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdForecastOptionsOutput) ElementType added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsOutput) ForecastHorizon added in v6.57.0

The length of time into the future to forecast whether a timeseries will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the Configured `duration`, then the timeseries is considered to be failing.

func (AlertPolicyConditionConditionThresholdForecastOptionsOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsOutput added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsOutputWithContext added in v6.57.0

func (o AlertPolicyConditionConditionThresholdForecastOptionsOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdForecastOptionsOutput

func (AlertPolicyConditionConditionThresholdForecastOptionsOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutput added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutputWithContext added in v6.57.0

func (o AlertPolicyConditionConditionThresholdForecastOptionsOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput

func (AlertPolicyConditionConditionThresholdForecastOptionsOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdForecastOptionsPtrInput added in v6.57.0

type AlertPolicyConditionConditionThresholdForecastOptionsPtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutput() AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput
	ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput
}

AlertPolicyConditionConditionThresholdForecastOptionsPtrInput is an input type that accepts AlertPolicyConditionConditionThresholdForecastOptionsArgs, AlertPolicyConditionConditionThresholdForecastOptionsPtr and AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdForecastOptionsPtrInput` via:

        AlertPolicyConditionConditionThresholdForecastOptionsArgs{...}

or:

        nil

type AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput added in v6.57.0

type AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput) Elem added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput) ElementType added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput) ForecastHorizon added in v6.57.0

The length of time into the future to forecast whether a timeseries will violate the threshold. If the predicted value is found to violate the threshold, and the violation is observed in all forecasts made for the Configured `duration`, then the timeseries is considered to be failing.

func (AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutput added in v6.57.0

func (AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutputWithContext added in v6.57.0

func (o AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput) ToAlertPolicyConditionConditionThresholdForecastOptionsPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput

func (AlertPolicyConditionConditionThresholdForecastOptionsPtrOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdInput

type AlertPolicyConditionConditionThresholdInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdOutput() AlertPolicyConditionConditionThresholdOutput
	ToAlertPolicyConditionConditionThresholdOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdOutput
}

AlertPolicyConditionConditionThresholdInput is an input type that accepts AlertPolicyConditionConditionThresholdArgs and AlertPolicyConditionConditionThresholdOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdInput` via:

AlertPolicyConditionConditionThresholdArgs{...}

type AlertPolicyConditionConditionThresholdOutput

type AlertPolicyConditionConditionThresholdOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdOutput) Aggregations

Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field. Structure is documented below.

func (AlertPolicyConditionConditionThresholdOutput) Comparison

The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side. Only COMPARISON_LT and COMPARISON_GT are supported currently. Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.

func (AlertPolicyConditionConditionThresholdOutput) DenominatorAggregations

Specifies the alignment of data points in individual time series selected by denominatorFilter as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources).When computing ratios, the aggregations and denominatorAggregations fields must use the same alignment period and produce time series that have the same periodicity and labels.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field. Structure is documented below.

func (AlertPolicyConditionConditionThresholdOutput) DenominatorFilter

A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold. If a denominatorFilter is specified, the time series specified by the filter field will be used as the numerator.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.

func (AlertPolicyConditionConditionThresholdOutput) Duration

The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.

func (AlertPolicyConditionConditionThresholdOutput) ElementType

func (AlertPolicyConditionConditionThresholdOutput) EvaluationMissingData added in v6.34.0

A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.

func (AlertPolicyConditionConditionThresholdOutput) Filter

A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.

func (AlertPolicyConditionConditionThresholdOutput) ForecastOptions added in v6.57.0

When this field is present, the `MetricThreshold` condition forecasts whether the time series is predicted to violate the threshold within the `forecastHorizon`. When this field is not set, the `MetricThreshold` tests the current value of the timeseries against the threshold. Structure is documented below.

func (AlertPolicyConditionConditionThresholdOutput) ThresholdValue

A value against which to compare the time series.

func (AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdOutput

func (o AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdOutput() AlertPolicyConditionConditionThresholdOutput

func (AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdOutputWithContext

func (o AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdOutput

func (AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdPtrOutput

func (o AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdPtrOutput() AlertPolicyConditionConditionThresholdPtrOutput

func (AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdPtrOutputWithContext

func (o AlertPolicyConditionConditionThresholdOutput) ToAlertPolicyConditionConditionThresholdPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdPtrOutput

func (AlertPolicyConditionConditionThresholdOutput) ToOutput added in v6.65.1

func (AlertPolicyConditionConditionThresholdOutput) Trigger

The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominatorFilter and denominatorAggregations are specified. Structure is documented below.

type AlertPolicyConditionConditionThresholdPtrInput

type AlertPolicyConditionConditionThresholdPtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdPtrOutput() AlertPolicyConditionConditionThresholdPtrOutput
	ToAlertPolicyConditionConditionThresholdPtrOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdPtrOutput
}

AlertPolicyConditionConditionThresholdPtrInput is an input type that accepts AlertPolicyConditionConditionThresholdArgs, AlertPolicyConditionConditionThresholdPtr and AlertPolicyConditionConditionThresholdPtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdPtrInput` via:

        AlertPolicyConditionConditionThresholdArgs{...}

or:

        nil

type AlertPolicyConditionConditionThresholdPtrOutput

type AlertPolicyConditionConditionThresholdPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdPtrOutput) Aggregations

Specifies the alignment of data points in individual time series as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources). Multiple aggregations are applied in the order specified.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field. Structure is documented below.

func (AlertPolicyConditionConditionThresholdPtrOutput) Comparison

The comparison to apply between the time series (indicated by filter and aggregation) and the threshold (indicated by threshold_value). The comparison is applied on each time series, with the time series on the left-hand side and the threshold on the right-hand side. Only COMPARISON_LT and COMPARISON_GT are supported currently. Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.

func (AlertPolicyConditionConditionThresholdPtrOutput) DenominatorAggregations

Specifies the alignment of data points in individual time series selected by denominatorFilter as well as how to combine the retrieved time series together (such as when aggregating multiple streams on each resource to a single stream for each resource or when aggregating streams across all members of a group of resources).When computing ratios, the aggregations and denominatorAggregations fields must use the same alignment period and produce time series that have the same periodicity and labels.This field is similar to the one in the MetricService.ListTimeSeries request. It is advisable to use the ListTimeSeries method when debugging this field. Structure is documented below.

func (AlertPolicyConditionConditionThresholdPtrOutput) DenominatorFilter

A filter that identifies a time series that should be used as the denominator of a ratio that will be compared with the threshold. If a denominatorFilter is specified, the time series specified by the filter field will be used as the numerator.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.

func (AlertPolicyConditionConditionThresholdPtrOutput) Duration

The amount of time that a time series must violate the threshold to be considered failing. Currently, only values that are a multiple of a minute--e.g., 0, 60, 120, or 300 seconds--are supported. If an invalid value is given, an error will be returned. When choosing a duration, it is useful to keep in mind the frequency of the underlying time series data (which may also be affected by any alignments specified in the aggregations field); a good duration is long enough so that a single outlier does not generate spurious alerts, but short enough that unhealthy states are detected and alerted on quickly.

func (AlertPolicyConditionConditionThresholdPtrOutput) Elem

func (AlertPolicyConditionConditionThresholdPtrOutput) ElementType

func (AlertPolicyConditionConditionThresholdPtrOutput) EvaluationMissingData added in v6.34.0

A condition control that determines how metric-threshold conditions are evaluated when data stops arriving. Possible values are: `EVALUATION_MISSING_DATA_INACTIVE`, `EVALUATION_MISSING_DATA_ACTIVE`, `EVALUATION_MISSING_DATA_NO_OP`.

func (AlertPolicyConditionConditionThresholdPtrOutput) Filter

A filter that identifies which time series should be compared with the threshold.The filter is similar to the one that is specified in the MetricService.ListTimeSeries request (that call is useful to verify the time series that will be retrieved / processed) and must specify the metric type and optionally may contain restrictions on resource type, resource labels, and metric labels. This field may not exceed 2048 Unicode characters in length.

func (AlertPolicyConditionConditionThresholdPtrOutput) ForecastOptions added in v6.57.0

When this field is present, the `MetricThreshold` condition forecasts whether the time series is predicted to violate the threshold within the `forecastHorizon`. When this field is not set, the `MetricThreshold` tests the current value of the timeseries against the threshold. Structure is documented below.

func (AlertPolicyConditionConditionThresholdPtrOutput) ThresholdValue

A value against which to compare the time series.

func (AlertPolicyConditionConditionThresholdPtrOutput) ToAlertPolicyConditionConditionThresholdPtrOutput

func (o AlertPolicyConditionConditionThresholdPtrOutput) ToAlertPolicyConditionConditionThresholdPtrOutput() AlertPolicyConditionConditionThresholdPtrOutput

func (AlertPolicyConditionConditionThresholdPtrOutput) ToAlertPolicyConditionConditionThresholdPtrOutputWithContext

func (o AlertPolicyConditionConditionThresholdPtrOutput) ToAlertPolicyConditionConditionThresholdPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdPtrOutput

func (AlertPolicyConditionConditionThresholdPtrOutput) ToOutput added in v6.65.1

func (AlertPolicyConditionConditionThresholdPtrOutput) Trigger

The number/percent of time series for which the comparison must hold in order for the condition to trigger. If unspecified, then the condition will trigger if the comparison is true for any of the time series that have been identified by filter and aggregations, or by the ratio, if denominatorFilter and denominatorAggregations are specified. Structure is documented below.

type AlertPolicyConditionConditionThresholdTrigger

type AlertPolicyConditionConditionThresholdTrigger struct {
	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	Count *int `pulumi:"count"`
	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	Percent *float64 `pulumi:"percent"`
}

type AlertPolicyConditionConditionThresholdTriggerArgs

type AlertPolicyConditionConditionThresholdTriggerArgs struct {
	// The absolute number of time series
	// that must fail the predicate for the
	// condition to be triggered.
	Count pulumi.IntPtrInput `pulumi:"count"`
	// The percentage of time series that
	// must fail the predicate for the
	// condition to be triggered.
	Percent pulumi.Float64PtrInput `pulumi:"percent"`
}

func (AlertPolicyConditionConditionThresholdTriggerArgs) ElementType

func (AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerOutput

func (i AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerOutput() AlertPolicyConditionConditionThresholdTriggerOutput

func (AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerOutputWithContext

func (i AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdTriggerOutput

func (AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerPtrOutput

func (i AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerPtrOutput() AlertPolicyConditionConditionThresholdTriggerPtrOutput

func (AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerPtrOutputWithContext

func (i AlertPolicyConditionConditionThresholdTriggerArgs) ToAlertPolicyConditionConditionThresholdTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdTriggerPtrOutput

func (AlertPolicyConditionConditionThresholdTriggerArgs) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdTriggerInput

type AlertPolicyConditionConditionThresholdTriggerInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdTriggerOutput() AlertPolicyConditionConditionThresholdTriggerOutput
	ToAlertPolicyConditionConditionThresholdTriggerOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdTriggerOutput
}

AlertPolicyConditionConditionThresholdTriggerInput is an input type that accepts AlertPolicyConditionConditionThresholdTriggerArgs and AlertPolicyConditionConditionThresholdTriggerOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdTriggerInput` via:

AlertPolicyConditionConditionThresholdTriggerArgs{...}

type AlertPolicyConditionConditionThresholdTriggerOutput

type AlertPolicyConditionConditionThresholdTriggerOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdTriggerOutput) Count

The absolute number of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionThresholdTriggerOutput) ElementType

func (AlertPolicyConditionConditionThresholdTriggerOutput) Percent

The percentage of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerOutput

func (o AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerOutput() AlertPolicyConditionConditionThresholdTriggerOutput

func (AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerOutputWithContext

func (o AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdTriggerOutput

func (AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerPtrOutput

func (o AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerPtrOutput() AlertPolicyConditionConditionThresholdTriggerPtrOutput

func (AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerPtrOutputWithContext

func (o AlertPolicyConditionConditionThresholdTriggerOutput) ToAlertPolicyConditionConditionThresholdTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdTriggerPtrOutput

func (AlertPolicyConditionConditionThresholdTriggerOutput) ToOutput added in v6.65.1

type AlertPolicyConditionConditionThresholdTriggerPtrInput

type AlertPolicyConditionConditionThresholdTriggerPtrInput interface {
	pulumi.Input

	ToAlertPolicyConditionConditionThresholdTriggerPtrOutput() AlertPolicyConditionConditionThresholdTriggerPtrOutput
	ToAlertPolicyConditionConditionThresholdTriggerPtrOutputWithContext(context.Context) AlertPolicyConditionConditionThresholdTriggerPtrOutput
}

AlertPolicyConditionConditionThresholdTriggerPtrInput is an input type that accepts AlertPolicyConditionConditionThresholdTriggerArgs, AlertPolicyConditionConditionThresholdTriggerPtr and AlertPolicyConditionConditionThresholdTriggerPtrOutput values. You can construct a concrete instance of `AlertPolicyConditionConditionThresholdTriggerPtrInput` via:

        AlertPolicyConditionConditionThresholdTriggerArgs{...}

or:

        nil

type AlertPolicyConditionConditionThresholdTriggerPtrOutput

type AlertPolicyConditionConditionThresholdTriggerPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionConditionThresholdTriggerPtrOutput) Count

The absolute number of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionThresholdTriggerPtrOutput) Elem

func (AlertPolicyConditionConditionThresholdTriggerPtrOutput) ElementType

func (AlertPolicyConditionConditionThresholdTriggerPtrOutput) Percent

The percentage of time series that must fail the predicate for the condition to be triggered.

func (AlertPolicyConditionConditionThresholdTriggerPtrOutput) ToAlertPolicyConditionConditionThresholdTriggerPtrOutput

func (AlertPolicyConditionConditionThresholdTriggerPtrOutput) ToAlertPolicyConditionConditionThresholdTriggerPtrOutputWithContext

func (o AlertPolicyConditionConditionThresholdTriggerPtrOutput) ToAlertPolicyConditionConditionThresholdTriggerPtrOutputWithContext(ctx context.Context) AlertPolicyConditionConditionThresholdTriggerPtrOutput

func (AlertPolicyConditionConditionThresholdTriggerPtrOutput) ToOutput added in v6.65.1

type AlertPolicyConditionInput

type AlertPolicyConditionInput interface {
	pulumi.Input

	ToAlertPolicyConditionOutput() AlertPolicyConditionOutput
	ToAlertPolicyConditionOutputWithContext(context.Context) AlertPolicyConditionOutput
}

AlertPolicyConditionInput is an input type that accepts AlertPolicyConditionArgs and AlertPolicyConditionOutput values. You can construct a concrete instance of `AlertPolicyConditionInput` via:

AlertPolicyConditionArgs{...}

type AlertPolicyConditionOutput

type AlertPolicyConditionOutput struct{ *pulumi.OutputState }

func (AlertPolicyConditionOutput) ConditionAbsent

A condition that checks that a time series continues to receive new data points. Structure is documented below.

func (AlertPolicyConditionOutput) ConditionMatchedLog added in v6.8.0

A condition that checks for log messages matching given constraints. If set, no other conditions can be present. Structure is documented below.

func (AlertPolicyConditionOutput) ConditionMonitoringQueryLanguage

A Monitoring Query Language query that outputs a boolean stream Structure is documented below.

func (AlertPolicyConditionOutput) ConditionPrometheusQueryLanguage added in v6.62.0

A Monitoring Query Language query that outputs a boolean stream A condition type that allows alert policies to be defined using Prometheus Query Language (PromQL). The PrometheusQueryLanguageCondition message contains information from a Prometheus alerting rule and its associated rule group. Structure is documented below.

func (AlertPolicyConditionOutput) ConditionThreshold

A condition that compares a time series against a threshold. Structure is documented below.

func (AlertPolicyConditionOutput) DisplayName

A short name or phrase used to identify the condition in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple conditions in the same policy.

func (AlertPolicyConditionOutput) ElementType

func (AlertPolicyConditionOutput) ElementType() reflect.Type

func (AlertPolicyConditionOutput) Name

(Output) The unique resource name for this condition. Its syntax is: projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID] [CONDITION_ID] is assigned by Stackdriver Monitoring when the condition is created as part of a new or updated alerting policy.

func (AlertPolicyConditionOutput) ToAlertPolicyConditionOutput

func (o AlertPolicyConditionOutput) ToAlertPolicyConditionOutput() AlertPolicyConditionOutput

func (AlertPolicyConditionOutput) ToAlertPolicyConditionOutputWithContext

func (o AlertPolicyConditionOutput) ToAlertPolicyConditionOutputWithContext(ctx context.Context) AlertPolicyConditionOutput

func (AlertPolicyConditionOutput) ToOutput added in v6.65.1

type AlertPolicyCreationRecord

type AlertPolicyCreationRecord struct {
	// (Output)
	// When the change occurred.
	MutateTime *string `pulumi:"mutateTime"`
	// (Output)
	// The email address of the user making the change.
	MutatedBy *string `pulumi:"mutatedBy"`
}

type AlertPolicyCreationRecordArgs

type AlertPolicyCreationRecordArgs struct {
	// (Output)
	// When the change occurred.
	MutateTime pulumi.StringPtrInput `pulumi:"mutateTime"`
	// (Output)
	// The email address of the user making the change.
	MutatedBy pulumi.StringPtrInput `pulumi:"mutatedBy"`
}

func (AlertPolicyCreationRecordArgs) ElementType

func (AlertPolicyCreationRecordArgs) ToAlertPolicyCreationRecordOutput

func (i AlertPolicyCreationRecordArgs) ToAlertPolicyCreationRecordOutput() AlertPolicyCreationRecordOutput

func (AlertPolicyCreationRecordArgs) ToAlertPolicyCreationRecordOutputWithContext

func (i AlertPolicyCreationRecordArgs) ToAlertPolicyCreationRecordOutputWithContext(ctx context.Context) AlertPolicyCreationRecordOutput

func (AlertPolicyCreationRecordArgs) ToOutput added in v6.65.1

type AlertPolicyCreationRecordArray

type AlertPolicyCreationRecordArray []AlertPolicyCreationRecordInput

func (AlertPolicyCreationRecordArray) ElementType

func (AlertPolicyCreationRecordArray) ToAlertPolicyCreationRecordArrayOutput

func (i AlertPolicyCreationRecordArray) ToAlertPolicyCreationRecordArrayOutput() AlertPolicyCreationRecordArrayOutput

func (AlertPolicyCreationRecordArray) ToAlertPolicyCreationRecordArrayOutputWithContext

func (i AlertPolicyCreationRecordArray) ToAlertPolicyCreationRecordArrayOutputWithContext(ctx context.Context) AlertPolicyCreationRecordArrayOutput

func (AlertPolicyCreationRecordArray) ToOutput added in v6.65.1

type AlertPolicyCreationRecordArrayInput

type AlertPolicyCreationRecordArrayInput interface {
	pulumi.Input

	ToAlertPolicyCreationRecordArrayOutput() AlertPolicyCreationRecordArrayOutput
	ToAlertPolicyCreationRecordArrayOutputWithContext(context.Context) AlertPolicyCreationRecordArrayOutput
}

AlertPolicyCreationRecordArrayInput is an input type that accepts AlertPolicyCreationRecordArray and AlertPolicyCreationRecordArrayOutput values. You can construct a concrete instance of `AlertPolicyCreationRecordArrayInput` via:

AlertPolicyCreationRecordArray{ AlertPolicyCreationRecordArgs{...} }

type AlertPolicyCreationRecordArrayOutput

type AlertPolicyCreationRecordArrayOutput struct{ *pulumi.OutputState }

func (AlertPolicyCreationRecordArrayOutput) ElementType

func (AlertPolicyCreationRecordArrayOutput) Index

func (AlertPolicyCreationRecordArrayOutput) ToAlertPolicyCreationRecordArrayOutput

func (o AlertPolicyCreationRecordArrayOutput) ToAlertPolicyCreationRecordArrayOutput() AlertPolicyCreationRecordArrayOutput

func (AlertPolicyCreationRecordArrayOutput) ToAlertPolicyCreationRecordArrayOutputWithContext

func (o AlertPolicyCreationRecordArrayOutput) ToAlertPolicyCreationRecordArrayOutputWithContext(ctx context.Context) AlertPolicyCreationRecordArrayOutput

func (AlertPolicyCreationRecordArrayOutput) ToOutput added in v6.65.1

type AlertPolicyCreationRecordInput

type AlertPolicyCreationRecordInput interface {
	pulumi.Input

	ToAlertPolicyCreationRecordOutput() AlertPolicyCreationRecordOutput
	ToAlertPolicyCreationRecordOutputWithContext(context.Context) AlertPolicyCreationRecordOutput
}

AlertPolicyCreationRecordInput is an input type that accepts AlertPolicyCreationRecordArgs and AlertPolicyCreationRecordOutput values. You can construct a concrete instance of `AlertPolicyCreationRecordInput` via:

AlertPolicyCreationRecordArgs{...}

type AlertPolicyCreationRecordOutput

type AlertPolicyCreationRecordOutput struct{ *pulumi.OutputState }

func (AlertPolicyCreationRecordOutput) ElementType

func (AlertPolicyCreationRecordOutput) MutateTime

(Output) When the change occurred.

func (AlertPolicyCreationRecordOutput) MutatedBy

(Output) The email address of the user making the change.

func (AlertPolicyCreationRecordOutput) ToAlertPolicyCreationRecordOutput

func (o AlertPolicyCreationRecordOutput) ToAlertPolicyCreationRecordOutput() AlertPolicyCreationRecordOutput

func (AlertPolicyCreationRecordOutput) ToAlertPolicyCreationRecordOutputWithContext

func (o AlertPolicyCreationRecordOutput) ToAlertPolicyCreationRecordOutputWithContext(ctx context.Context) AlertPolicyCreationRecordOutput

func (AlertPolicyCreationRecordOutput) ToOutput added in v6.65.1

type AlertPolicyDocumentation

type AlertPolicyDocumentation struct {
	// The text of the documentation, interpreted according to mimeType.
	// The content may not exceed 8,192 Unicode characters and may not
	// exceed more than 10,240 bytes when encoded in UTF-8 format,
	// whichever is smaller.
	Content *string `pulumi:"content"`
	// The format of the content field. Presently, only the value
	// "text/markdown" is supported.
	MimeType *string `pulumi:"mimeType"`
}

type AlertPolicyDocumentationArgs

type AlertPolicyDocumentationArgs struct {
	// The text of the documentation, interpreted according to mimeType.
	// The content may not exceed 8,192 Unicode characters and may not
	// exceed more than 10,240 bytes when encoded in UTF-8 format,
	// whichever is smaller.
	Content pulumi.StringPtrInput `pulumi:"content"`
	// The format of the content field. Presently, only the value
	// "text/markdown" is supported.
	MimeType pulumi.StringPtrInput `pulumi:"mimeType"`
}

func (AlertPolicyDocumentationArgs) ElementType

func (AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationOutput

func (i AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationOutput() AlertPolicyDocumentationOutput

func (AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationOutputWithContext

func (i AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationOutputWithContext(ctx context.Context) AlertPolicyDocumentationOutput

func (AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationPtrOutput

func (i AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationPtrOutput() AlertPolicyDocumentationPtrOutput

func (AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationPtrOutputWithContext

func (i AlertPolicyDocumentationArgs) ToAlertPolicyDocumentationPtrOutputWithContext(ctx context.Context) AlertPolicyDocumentationPtrOutput

func (AlertPolicyDocumentationArgs) ToOutput added in v6.65.1

type AlertPolicyDocumentationInput

type AlertPolicyDocumentationInput interface {
	pulumi.Input

	ToAlertPolicyDocumentationOutput() AlertPolicyDocumentationOutput
	ToAlertPolicyDocumentationOutputWithContext(context.Context) AlertPolicyDocumentationOutput
}

AlertPolicyDocumentationInput is an input type that accepts AlertPolicyDocumentationArgs and AlertPolicyDocumentationOutput values. You can construct a concrete instance of `AlertPolicyDocumentationInput` via:

AlertPolicyDocumentationArgs{...}

type AlertPolicyDocumentationOutput

type AlertPolicyDocumentationOutput struct{ *pulumi.OutputState }

func (AlertPolicyDocumentationOutput) Content

The text of the documentation, interpreted according to mimeType. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller.

func (AlertPolicyDocumentationOutput) ElementType

func (AlertPolicyDocumentationOutput) MimeType

The format of the content field. Presently, only the value "text/markdown" is supported.

func (AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationOutput

func (o AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationOutput() AlertPolicyDocumentationOutput

func (AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationOutputWithContext

func (o AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationOutputWithContext(ctx context.Context) AlertPolicyDocumentationOutput

func (AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationPtrOutput

func (o AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationPtrOutput() AlertPolicyDocumentationPtrOutput

func (AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationPtrOutputWithContext

func (o AlertPolicyDocumentationOutput) ToAlertPolicyDocumentationPtrOutputWithContext(ctx context.Context) AlertPolicyDocumentationPtrOutput

func (AlertPolicyDocumentationOutput) ToOutput added in v6.65.1

type AlertPolicyDocumentationPtrInput

type AlertPolicyDocumentationPtrInput interface {
	pulumi.Input

	ToAlertPolicyDocumentationPtrOutput() AlertPolicyDocumentationPtrOutput
	ToAlertPolicyDocumentationPtrOutputWithContext(context.Context) AlertPolicyDocumentationPtrOutput
}

AlertPolicyDocumentationPtrInput is an input type that accepts AlertPolicyDocumentationArgs, AlertPolicyDocumentationPtr and AlertPolicyDocumentationPtrOutput values. You can construct a concrete instance of `AlertPolicyDocumentationPtrInput` via:

        AlertPolicyDocumentationArgs{...}

or:

        nil

type AlertPolicyDocumentationPtrOutput

type AlertPolicyDocumentationPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyDocumentationPtrOutput) Content

The text of the documentation, interpreted according to mimeType. The content may not exceed 8,192 Unicode characters and may not exceed more than 10,240 bytes when encoded in UTF-8 format, whichever is smaller.

func (AlertPolicyDocumentationPtrOutput) Elem

func (AlertPolicyDocumentationPtrOutput) ElementType

func (AlertPolicyDocumentationPtrOutput) MimeType

The format of the content field. Presently, only the value "text/markdown" is supported.

func (AlertPolicyDocumentationPtrOutput) ToAlertPolicyDocumentationPtrOutput

func (o AlertPolicyDocumentationPtrOutput) ToAlertPolicyDocumentationPtrOutput() AlertPolicyDocumentationPtrOutput

func (AlertPolicyDocumentationPtrOutput) ToAlertPolicyDocumentationPtrOutputWithContext

func (o AlertPolicyDocumentationPtrOutput) ToAlertPolicyDocumentationPtrOutputWithContext(ctx context.Context) AlertPolicyDocumentationPtrOutput

func (AlertPolicyDocumentationPtrOutput) ToOutput added in v6.65.1

type AlertPolicyInput

type AlertPolicyInput interface {
	pulumi.Input

	ToAlertPolicyOutput() AlertPolicyOutput
	ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput
}

type AlertPolicyMap

type AlertPolicyMap map[string]AlertPolicyInput

func (AlertPolicyMap) ElementType

func (AlertPolicyMap) ElementType() reflect.Type

func (AlertPolicyMap) ToAlertPolicyMapOutput

func (i AlertPolicyMap) ToAlertPolicyMapOutput() AlertPolicyMapOutput

func (AlertPolicyMap) ToAlertPolicyMapOutputWithContext

func (i AlertPolicyMap) ToAlertPolicyMapOutputWithContext(ctx context.Context) AlertPolicyMapOutput

func (AlertPolicyMap) ToOutput added in v6.65.1

type AlertPolicyMapInput

type AlertPolicyMapInput interface {
	pulumi.Input

	ToAlertPolicyMapOutput() AlertPolicyMapOutput
	ToAlertPolicyMapOutputWithContext(context.Context) AlertPolicyMapOutput
}

AlertPolicyMapInput is an input type that accepts AlertPolicyMap and AlertPolicyMapOutput values. You can construct a concrete instance of `AlertPolicyMapInput` via:

AlertPolicyMap{ "key": AlertPolicyArgs{...} }

type AlertPolicyMapOutput

type AlertPolicyMapOutput struct{ *pulumi.OutputState }

func (AlertPolicyMapOutput) ElementType

func (AlertPolicyMapOutput) ElementType() reflect.Type

func (AlertPolicyMapOutput) MapIndex

func (AlertPolicyMapOutput) ToAlertPolicyMapOutput

func (o AlertPolicyMapOutput) ToAlertPolicyMapOutput() AlertPolicyMapOutput

func (AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext

func (o AlertPolicyMapOutput) ToAlertPolicyMapOutputWithContext(ctx context.Context) AlertPolicyMapOutput

func (AlertPolicyMapOutput) ToOutput added in v6.65.1

type AlertPolicyOutput

type AlertPolicyOutput struct{ *pulumi.OutputState }

func (AlertPolicyOutput) AlertStrategy added in v6.23.0

Control over how this alert policy's notification channels are notified. Structure is documented below.

func (AlertPolicyOutput) Combiner added in v6.23.0

func (o AlertPolicyOutput) Combiner() pulumi.StringOutput

How to combine the results of multiple conditions to determine if an incident should be opened. Possible values are: `AND`, `OR`, `AND_WITH_MATCHING_RESOURCE`.

func (AlertPolicyOutput) Conditions added in v6.23.0

A list of conditions for the policy. The conditions are combined by AND or OR according to the combiner field. If the combined conditions evaluate to true, then an incident is created. A policy can have from one to six conditions. Structure is documented below.

func (AlertPolicyOutput) CreationRecords added in v6.23.0

A read-only record of the creation of the alerting policy. If provided in a call to create or update, this field will be ignored. Structure is documented below.

func (AlertPolicyOutput) DisplayName added in v6.23.0

func (o AlertPolicyOutput) DisplayName() pulumi.StringOutput

A short name or phrase used to identify the policy in dashboards, notifications, and incidents. To avoid confusion, don't use the same display name for multiple policies in the same project. The name is limited to 512 Unicode characters.

func (AlertPolicyOutput) Documentation added in v6.23.0

Documentation that is included with notifications and incidents related to this policy. Best practice is for the documentation to include information to help responders understand, mitigate, escalate, and correct the underlying problems detected by the alerting policy. Notification channels that have limited capacity might not show this documentation. Structure is documented below.

func (AlertPolicyOutput) ElementType

func (AlertPolicyOutput) ElementType() reflect.Type

func (AlertPolicyOutput) Enabled added in v6.23.0

Whether or not the policy is enabled. The default is true.

func (AlertPolicyOutput) Name added in v6.23.0

(Output) The unique resource name for this condition. Its syntax is: projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID] [CONDITION_ID] is assigned by Stackdriver Monitoring when the condition is created as part of a new or updated alerting policy.

func (AlertPolicyOutput) NotificationChannels added in v6.23.0

func (o AlertPolicyOutput) NotificationChannels() pulumi.StringArrayOutput

Identifies the notification channels to which notifications should be sent when incidents are opened or closed or when new violations occur on an already opened incident. Each element of this array corresponds to the name field in each of the NotificationChannel objects that are returned from the notificationChannels.list method. The syntax of the entries in this field is `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`

func (AlertPolicyOutput) Project added in v6.23.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (AlertPolicyOutput) ToAlertPolicyOutput

func (o AlertPolicyOutput) ToAlertPolicyOutput() AlertPolicyOutput

func (AlertPolicyOutput) ToAlertPolicyOutputWithContext

func (o AlertPolicyOutput) ToAlertPolicyOutputWithContext(ctx context.Context) AlertPolicyOutput

func (AlertPolicyOutput) ToOutput added in v6.65.1

func (AlertPolicyOutput) UserLabels added in v6.23.0

func (o AlertPolicyOutput) UserLabels() pulumi.StringMapOutput

This field is intended to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.

type AlertPolicyState

type AlertPolicyState struct {
	// Control over how this alert policy's notification channels are notified.
	// Structure is documented below.
	AlertStrategy AlertPolicyAlertStrategyPtrInput
	// How to combine the results of multiple conditions to
	// determine if an incident should be opened.
	// Possible values are: `AND`, `OR`, `AND_WITH_MATCHING_RESOURCE`.
	Combiner pulumi.StringPtrInput
	// A list of conditions for the policy. The conditions are combined by
	// AND or OR according to the combiner field. If the combined conditions
	// evaluate to true, then an incident is created. A policy can have from
	// one to six conditions.
	// Structure is documented below.
	Conditions AlertPolicyConditionArrayInput
	// A read-only record of the creation of the alerting policy.
	// If provided in a call to create or update, this field will
	// be ignored.
	// Structure is documented below.
	CreationRecords AlertPolicyCreationRecordArrayInput
	// A short name or phrase used to identify the policy in
	// dashboards, notifications, and incidents. To avoid confusion, don't use
	// the same display name for multiple policies in the same project. The
	// name is limited to 512 Unicode characters.
	DisplayName pulumi.StringPtrInput
	// Documentation that is included with notifications and incidents related
	// to this policy. Best practice is for the documentation to include information
	// to help responders understand, mitigate, escalate, and correct the underlying
	// problems detected by the alerting policy. Notification channels that have
	// limited capacity might not show this documentation.
	// Structure is documented below.
	Documentation AlertPolicyDocumentationPtrInput
	// Whether or not the policy is enabled. The default is true.
	Enabled pulumi.BoolPtrInput
	// (Output)
	// The unique resource name for this condition.
	// Its syntax is:
	// projects/[PROJECT_ID]/alertPolicies/[POLICY_ID]/conditions/[CONDITION_ID]
	// [CONDITION_ID] is assigned by Stackdriver Monitoring when
	// the condition is created as part of a new or updated alerting
	// policy.
	Name pulumi.StringPtrInput
	// Identifies the notification channels to which notifications should be
	// sent when incidents are opened or closed or when new violations occur
	// on an already opened incident. Each element of this array corresponds
	// to the name field in each of the NotificationChannel objects that are
	// returned from the notificationChannels.list method. The syntax of the
	// entries in this field is
	// `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`
	NotificationChannels pulumi.StringArrayInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// This field is intended to be used for organizing and identifying the AlertPolicy
	// objects.The field can contain up to 64 entries. Each key and value is limited
	// to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values
	// can contain only lowercase letters, numerals, underscores, and dashes. Keys
	// must begin with a letter.
	UserLabels pulumi.StringMapInput
}

func (AlertPolicyState) ElementType

func (AlertPolicyState) ElementType() reflect.Type

type CustomService

type CustomService struct {
	pulumi.CustomResourceState

	// Name used for UI elements listing this Service.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The full resource name for this service. The syntax is:
	// projects/[PROJECT_ID]/services/[SERVICE_ID].
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// An optional service ID to use. If not given, the server will generate a
	// service ID.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// Configuration for how to query telemetry on a Service.
	// Structure is documented below.
	Telemetry CustomServiceTelemetryPtrOutput `pulumi:"telemetry"`
	// Labels which have been used to annotate the service. Label keys must start
	// with a letter. Label keys and values may contain lowercase letters,
	// numbers, underscores, and dashes. Label keys and values have a maximum
	// length of 63 characters, and must be less than 128 bytes in size. Up to 64
	// label entries may be stored. For labels which do not have a semantic value,
	// the empty string may be supplied for the label value.
	UserLabels pulumi.StringMapOutput `pulumi:"userLabels"`
}

A Service is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia). In Cloud Monitoring, a Service acts as the root resource under which operational aspects of the service are accessible

To get more information about Service, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services) * How-to Guides

## Example Usage ### Monitoring Service Custom

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewCustomService(ctx, "custom", &monitoring.CustomServiceArgs{
			DisplayName: pulumi.String("My Custom Service custom-srv"),
			ServiceId:   pulumi.String("custom-srv"),
			Telemetry: &monitoring.CustomServiceTelemetryArgs{
				ResourceName: pulumi.String("//product.googleapis.com/foo/foo/services/test"),
			},
			UserLabels: pulumi.StringMap{
				"my_key":       pulumi.String("my_value"),
				"my_other_key": pulumi.String("my_other_value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Service can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:monitoring/customService:CustomService default {{name}}

```

func GetCustomService

func GetCustomService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CustomServiceState, opts ...pulumi.ResourceOption) (*CustomService, error)

GetCustomService gets an existing CustomService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewCustomService

func NewCustomService(ctx *pulumi.Context,
	name string, args *CustomServiceArgs, opts ...pulumi.ResourceOption) (*CustomService, error)

NewCustomService registers a new resource with the given unique name, arguments, and options.

func (*CustomService) ElementType

func (*CustomService) ElementType() reflect.Type

func (*CustomService) ToCustomServiceOutput

func (i *CustomService) ToCustomServiceOutput() CustomServiceOutput

func (*CustomService) ToCustomServiceOutputWithContext

func (i *CustomService) ToCustomServiceOutputWithContext(ctx context.Context) CustomServiceOutput

func (*CustomService) ToOutput added in v6.65.1

type CustomServiceArgs

type CustomServiceArgs struct {
	// Name used for UI elements listing this Service.
	DisplayName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// An optional service ID to use. If not given, the server will generate a
	// service ID.
	ServiceId pulumi.StringPtrInput
	// Configuration for how to query telemetry on a Service.
	// Structure is documented below.
	Telemetry CustomServiceTelemetryPtrInput
	// Labels which have been used to annotate the service. Label keys must start
	// with a letter. Label keys and values may contain lowercase letters,
	// numbers, underscores, and dashes. Label keys and values have a maximum
	// length of 63 characters, and must be less than 128 bytes in size. Up to 64
	// label entries may be stored. For labels which do not have a semantic value,
	// the empty string may be supplied for the label value.
	UserLabels pulumi.StringMapInput
}

The set of arguments for constructing a CustomService resource.

func (CustomServiceArgs) ElementType

func (CustomServiceArgs) ElementType() reflect.Type

type CustomServiceArray

type CustomServiceArray []CustomServiceInput

func (CustomServiceArray) ElementType

func (CustomServiceArray) ElementType() reflect.Type

func (CustomServiceArray) ToCustomServiceArrayOutput

func (i CustomServiceArray) ToCustomServiceArrayOutput() CustomServiceArrayOutput

func (CustomServiceArray) ToCustomServiceArrayOutputWithContext

func (i CustomServiceArray) ToCustomServiceArrayOutputWithContext(ctx context.Context) CustomServiceArrayOutput

func (CustomServiceArray) ToOutput added in v6.65.1

type CustomServiceArrayInput

type CustomServiceArrayInput interface {
	pulumi.Input

	ToCustomServiceArrayOutput() CustomServiceArrayOutput
	ToCustomServiceArrayOutputWithContext(context.Context) CustomServiceArrayOutput
}

CustomServiceArrayInput is an input type that accepts CustomServiceArray and CustomServiceArrayOutput values. You can construct a concrete instance of `CustomServiceArrayInput` via:

CustomServiceArray{ CustomServiceArgs{...} }

type CustomServiceArrayOutput

type CustomServiceArrayOutput struct{ *pulumi.OutputState }

func (CustomServiceArrayOutput) ElementType

func (CustomServiceArrayOutput) ElementType() reflect.Type

func (CustomServiceArrayOutput) Index

func (CustomServiceArrayOutput) ToCustomServiceArrayOutput

func (o CustomServiceArrayOutput) ToCustomServiceArrayOutput() CustomServiceArrayOutput

func (CustomServiceArrayOutput) ToCustomServiceArrayOutputWithContext

func (o CustomServiceArrayOutput) ToCustomServiceArrayOutputWithContext(ctx context.Context) CustomServiceArrayOutput

func (CustomServiceArrayOutput) ToOutput added in v6.65.1

type CustomServiceInput

type CustomServiceInput interface {
	pulumi.Input

	ToCustomServiceOutput() CustomServiceOutput
	ToCustomServiceOutputWithContext(ctx context.Context) CustomServiceOutput
}

type CustomServiceMap

type CustomServiceMap map[string]CustomServiceInput

func (CustomServiceMap) ElementType

func (CustomServiceMap) ElementType() reflect.Type

func (CustomServiceMap) ToCustomServiceMapOutput

func (i CustomServiceMap) ToCustomServiceMapOutput() CustomServiceMapOutput

func (CustomServiceMap) ToCustomServiceMapOutputWithContext

func (i CustomServiceMap) ToCustomServiceMapOutputWithContext(ctx context.Context) CustomServiceMapOutput

func (CustomServiceMap) ToOutput added in v6.65.1

type CustomServiceMapInput

type CustomServiceMapInput interface {
	pulumi.Input

	ToCustomServiceMapOutput() CustomServiceMapOutput
	ToCustomServiceMapOutputWithContext(context.Context) CustomServiceMapOutput
}

CustomServiceMapInput is an input type that accepts CustomServiceMap and CustomServiceMapOutput values. You can construct a concrete instance of `CustomServiceMapInput` via:

CustomServiceMap{ "key": CustomServiceArgs{...} }

type CustomServiceMapOutput

type CustomServiceMapOutput struct{ *pulumi.OutputState }

func (CustomServiceMapOutput) ElementType

func (CustomServiceMapOutput) ElementType() reflect.Type

func (CustomServiceMapOutput) MapIndex

func (CustomServiceMapOutput) ToCustomServiceMapOutput

func (o CustomServiceMapOutput) ToCustomServiceMapOutput() CustomServiceMapOutput

func (CustomServiceMapOutput) ToCustomServiceMapOutputWithContext

func (o CustomServiceMapOutput) ToCustomServiceMapOutputWithContext(ctx context.Context) CustomServiceMapOutput

func (CustomServiceMapOutput) ToOutput added in v6.65.1

type CustomServiceOutput

type CustomServiceOutput struct{ *pulumi.OutputState }

func (CustomServiceOutput) DisplayName added in v6.23.0

func (o CustomServiceOutput) DisplayName() pulumi.StringPtrOutput

Name used for UI elements listing this Service.

func (CustomServiceOutput) ElementType

func (CustomServiceOutput) ElementType() reflect.Type

func (CustomServiceOutput) Name added in v6.23.0

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

func (CustomServiceOutput) Project added in v6.23.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (CustomServiceOutput) ServiceId added in v6.23.0

func (o CustomServiceOutput) ServiceId() pulumi.StringOutput

An optional service ID to use. If not given, the server will generate a service ID.

func (CustomServiceOutput) Telemetry added in v6.23.0

Configuration for how to query telemetry on a Service. Structure is documented below.

func (CustomServiceOutput) ToCustomServiceOutput

func (o CustomServiceOutput) ToCustomServiceOutput() CustomServiceOutput

func (CustomServiceOutput) ToCustomServiceOutputWithContext

func (o CustomServiceOutput) ToCustomServiceOutputWithContext(ctx context.Context) CustomServiceOutput

func (CustomServiceOutput) ToOutput added in v6.65.1

func (CustomServiceOutput) UserLabels added in v6.28.0

Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.

type CustomServiceState

type CustomServiceState struct {
	// Name used for UI elements listing this Service.
	DisplayName pulumi.StringPtrInput
	// The full resource name for this service. The syntax is:
	// projects/[PROJECT_ID]/services/[SERVICE_ID].
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// An optional service ID to use. If not given, the server will generate a
	// service ID.
	ServiceId pulumi.StringPtrInput
	// Configuration for how to query telemetry on a Service.
	// Structure is documented below.
	Telemetry CustomServiceTelemetryPtrInput
	// Labels which have been used to annotate the service. Label keys must start
	// with a letter. Label keys and values may contain lowercase letters,
	// numbers, underscores, and dashes. Label keys and values have a maximum
	// length of 63 characters, and must be less than 128 bytes in size. Up to 64
	// label entries may be stored. For labels which do not have a semantic value,
	// the empty string may be supplied for the label value.
	UserLabels pulumi.StringMapInput
}

func (CustomServiceState) ElementType

func (CustomServiceState) ElementType() reflect.Type

type CustomServiceTelemetry

type CustomServiceTelemetry struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName *string `pulumi:"resourceName"`
}

type CustomServiceTelemetryArgs

type CustomServiceTelemetryArgs struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName pulumi.StringPtrInput `pulumi:"resourceName"`
}

func (CustomServiceTelemetryArgs) ElementType

func (CustomServiceTelemetryArgs) ElementType() reflect.Type

func (CustomServiceTelemetryArgs) ToCustomServiceTelemetryOutput

func (i CustomServiceTelemetryArgs) ToCustomServiceTelemetryOutput() CustomServiceTelemetryOutput

func (CustomServiceTelemetryArgs) ToCustomServiceTelemetryOutputWithContext

func (i CustomServiceTelemetryArgs) ToCustomServiceTelemetryOutputWithContext(ctx context.Context) CustomServiceTelemetryOutput

func (CustomServiceTelemetryArgs) ToCustomServiceTelemetryPtrOutput

func (i CustomServiceTelemetryArgs) ToCustomServiceTelemetryPtrOutput() CustomServiceTelemetryPtrOutput

func (CustomServiceTelemetryArgs) ToCustomServiceTelemetryPtrOutputWithContext

func (i CustomServiceTelemetryArgs) ToCustomServiceTelemetryPtrOutputWithContext(ctx context.Context) CustomServiceTelemetryPtrOutput

func (CustomServiceTelemetryArgs) ToOutput added in v6.65.1

type CustomServiceTelemetryInput

type CustomServiceTelemetryInput interface {
	pulumi.Input

	ToCustomServiceTelemetryOutput() CustomServiceTelemetryOutput
	ToCustomServiceTelemetryOutputWithContext(context.Context) CustomServiceTelemetryOutput
}

CustomServiceTelemetryInput is an input type that accepts CustomServiceTelemetryArgs and CustomServiceTelemetryOutput values. You can construct a concrete instance of `CustomServiceTelemetryInput` via:

CustomServiceTelemetryArgs{...}

type CustomServiceTelemetryOutput

type CustomServiceTelemetryOutput struct{ *pulumi.OutputState }

func (CustomServiceTelemetryOutput) ElementType

func (CustomServiceTelemetryOutput) ResourceName

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

func (CustomServiceTelemetryOutput) ToCustomServiceTelemetryOutput

func (o CustomServiceTelemetryOutput) ToCustomServiceTelemetryOutput() CustomServiceTelemetryOutput

func (CustomServiceTelemetryOutput) ToCustomServiceTelemetryOutputWithContext

func (o CustomServiceTelemetryOutput) ToCustomServiceTelemetryOutputWithContext(ctx context.Context) CustomServiceTelemetryOutput

func (CustomServiceTelemetryOutput) ToCustomServiceTelemetryPtrOutput

func (o CustomServiceTelemetryOutput) ToCustomServiceTelemetryPtrOutput() CustomServiceTelemetryPtrOutput

func (CustomServiceTelemetryOutput) ToCustomServiceTelemetryPtrOutputWithContext

func (o CustomServiceTelemetryOutput) ToCustomServiceTelemetryPtrOutputWithContext(ctx context.Context) CustomServiceTelemetryPtrOutput

func (CustomServiceTelemetryOutput) ToOutput added in v6.65.1

type CustomServiceTelemetryPtrInput

type CustomServiceTelemetryPtrInput interface {
	pulumi.Input

	ToCustomServiceTelemetryPtrOutput() CustomServiceTelemetryPtrOutput
	ToCustomServiceTelemetryPtrOutputWithContext(context.Context) CustomServiceTelemetryPtrOutput
}

CustomServiceTelemetryPtrInput is an input type that accepts CustomServiceTelemetryArgs, CustomServiceTelemetryPtr and CustomServiceTelemetryPtrOutput values. You can construct a concrete instance of `CustomServiceTelemetryPtrInput` via:

        CustomServiceTelemetryArgs{...}

or:

        nil

type CustomServiceTelemetryPtrOutput

type CustomServiceTelemetryPtrOutput struct{ *pulumi.OutputState }

func (CustomServiceTelemetryPtrOutput) Elem

func (CustomServiceTelemetryPtrOutput) ElementType

func (CustomServiceTelemetryPtrOutput) ResourceName

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

func (CustomServiceTelemetryPtrOutput) ToCustomServiceTelemetryPtrOutput

func (o CustomServiceTelemetryPtrOutput) ToCustomServiceTelemetryPtrOutput() CustomServiceTelemetryPtrOutput

func (CustomServiceTelemetryPtrOutput) ToCustomServiceTelemetryPtrOutputWithContext

func (o CustomServiceTelemetryPtrOutput) ToCustomServiceTelemetryPtrOutputWithContext(ctx context.Context) CustomServiceTelemetryPtrOutput

func (CustomServiceTelemetryPtrOutput) ToOutput added in v6.65.1

type Dashboard

type Dashboard struct {
	pulumi.CustomResourceState

	// The JSON representation of a dashboard, following the format at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
	// The representation of an existing dashboard can be found by using the [API Explorer](https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards/get)
	//
	// ***
	DashboardJson pulumi.StringOutput `pulumi:"dashboardJson"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

A Google Stackdriver dashboard. Dashboards define the content and layout of pages in the Stackdriver web application.

To get more information about Dashboards, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards) * How-to Guides

## Example Usage ### Monitoring Dashboard Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewDashboard(ctx, "dashboard", &monitoring.DashboardArgs{
			DashboardJson: pulumi.String(`{
  "displayName": "Demo Dashboard",
  "gridLayout": {
    "widgets": [
      {
        "blank": {}
      }
    ]
  }
}

`),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Dashboard GridLayout

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewDashboard(ctx, "dashboard", &monitoring.DashboardArgs{
			DashboardJson: pulumi.String(`{
  "displayName": "Grid Layout Example",
  "gridLayout": {
    "columns": "2",
    "widgets": [
      {
        "title": "Widget 1",
        "xyChart": {
          "dataSets": [{
            "timeSeriesQuery": {
              "timeSeriesFilter": {
                "filter": "metric.type=\"agent.googleapis.com/nginx/connections/accepted_count\"",
                "aggregation": {
                  "perSeriesAligner": "ALIGN_RATE"
                }
              },
              "unitOverride": "1"
            },
            "plotType": "LINE"
          }],
          "timeshiftDuration": "0s",
          "yAxis": {
            "label": "y1Axis",
            "scale": "LINEAR"
          }
        }
      },
      {
        "text": {
          "content": "Widget 2",
          "format": "MARKDOWN"
        }
      },
      {
        "title": "Widget 3",
        "xyChart": {
          "dataSets": [{
            "timeSeriesQuery": {
              "timeSeriesFilter": {
                "filter": "metric.type=\"agent.googleapis.com/nginx/connections/accepted_count\"",
                "aggregation": {
                  "perSeriesAligner": "ALIGN_RATE"
                }
              },
              "unitOverride": "1"
            },
            "plotType": "STACKED_BAR"
          }],
          "timeshiftDuration": "0s",
          "yAxis": {
            "label": "y1Axis",
            "scale": "LINEAR"
          }
        }
      }
    ]
  }
}

`),

		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Dashboard can be imported using any of these accepted formats

```sh

$ pulumi import gcp:monitoring/dashboard:Dashboard default projects/{{project}}/dashboards/{{dashboard_id}}

```

```sh

$ pulumi import gcp:monitoring/dashboard:Dashboard default {{dashboard_id}}

```

func GetDashboard

func GetDashboard(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DashboardState, opts ...pulumi.ResourceOption) (*Dashboard, error)

GetDashboard gets an existing Dashboard resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDashboard

func NewDashboard(ctx *pulumi.Context,
	name string, args *DashboardArgs, opts ...pulumi.ResourceOption) (*Dashboard, error)

NewDashboard registers a new resource with the given unique name, arguments, and options.

func (*Dashboard) ElementType

func (*Dashboard) ElementType() reflect.Type

func (*Dashboard) ToDashboardOutput

func (i *Dashboard) ToDashboardOutput() DashboardOutput

func (*Dashboard) ToDashboardOutputWithContext

func (i *Dashboard) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

func (*Dashboard) ToOutput added in v6.65.1

func (i *Dashboard) ToOutput(ctx context.Context) pulumix.Output[*Dashboard]

type DashboardArgs

type DashboardArgs struct {
	// The JSON representation of a dashboard, following the format at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
	// The representation of an existing dashboard can be found by using the [API Explorer](https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards/get)
	//
	// ***
	DashboardJson pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Dashboard resource.

func (DashboardArgs) ElementType

func (DashboardArgs) ElementType() reflect.Type

type DashboardArray

type DashboardArray []DashboardInput

func (DashboardArray) ElementType

func (DashboardArray) ElementType() reflect.Type

func (DashboardArray) ToDashboardArrayOutput

func (i DashboardArray) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArray) ToDashboardArrayOutputWithContext

func (i DashboardArray) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

func (DashboardArray) ToOutput added in v6.65.1

func (i DashboardArray) ToOutput(ctx context.Context) pulumix.Output[[]*Dashboard]

type DashboardArrayInput

type DashboardArrayInput interface {
	pulumi.Input

	ToDashboardArrayOutput() DashboardArrayOutput
	ToDashboardArrayOutputWithContext(context.Context) DashboardArrayOutput
}

DashboardArrayInput is an input type that accepts DashboardArray and DashboardArrayOutput values. You can construct a concrete instance of `DashboardArrayInput` via:

DashboardArray{ DashboardArgs{...} }

type DashboardArrayOutput

type DashboardArrayOutput struct{ *pulumi.OutputState }

func (DashboardArrayOutput) ElementType

func (DashboardArrayOutput) ElementType() reflect.Type

func (DashboardArrayOutput) Index

func (DashboardArrayOutput) ToDashboardArrayOutput

func (o DashboardArrayOutput) ToDashboardArrayOutput() DashboardArrayOutput

func (DashboardArrayOutput) ToDashboardArrayOutputWithContext

func (o DashboardArrayOutput) ToDashboardArrayOutputWithContext(ctx context.Context) DashboardArrayOutput

func (DashboardArrayOutput) ToOutput added in v6.65.1

type DashboardInput

type DashboardInput interface {
	pulumi.Input

	ToDashboardOutput() DashboardOutput
	ToDashboardOutputWithContext(ctx context.Context) DashboardOutput
}

type DashboardMap

type DashboardMap map[string]DashboardInput

func (DashboardMap) ElementType

func (DashboardMap) ElementType() reflect.Type

func (DashboardMap) ToDashboardMapOutput

func (i DashboardMap) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMap) ToDashboardMapOutputWithContext

func (i DashboardMap) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

func (DashboardMap) ToOutput added in v6.65.1

func (i DashboardMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Dashboard]

type DashboardMapInput

type DashboardMapInput interface {
	pulumi.Input

	ToDashboardMapOutput() DashboardMapOutput
	ToDashboardMapOutputWithContext(context.Context) DashboardMapOutput
}

DashboardMapInput is an input type that accepts DashboardMap and DashboardMapOutput values. You can construct a concrete instance of `DashboardMapInput` via:

DashboardMap{ "key": DashboardArgs{...} }

type DashboardMapOutput

type DashboardMapOutput struct{ *pulumi.OutputState }

func (DashboardMapOutput) ElementType

func (DashboardMapOutput) ElementType() reflect.Type

func (DashboardMapOutput) MapIndex

func (DashboardMapOutput) ToDashboardMapOutput

func (o DashboardMapOutput) ToDashboardMapOutput() DashboardMapOutput

func (DashboardMapOutput) ToDashboardMapOutputWithContext

func (o DashboardMapOutput) ToDashboardMapOutputWithContext(ctx context.Context) DashboardMapOutput

func (DashboardMapOutput) ToOutput added in v6.65.1

type DashboardOutput

type DashboardOutput struct{ *pulumi.OutputState }

func (DashboardOutput) DashboardJson added in v6.23.0

func (o DashboardOutput) DashboardJson() pulumi.StringOutput

The JSON representation of a dashboard, following the format at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards. The representation of an existing dashboard can be found by using the [API Explorer](https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards/get)

***

func (DashboardOutput) ElementType

func (DashboardOutput) ElementType() reflect.Type

func (DashboardOutput) Project added in v6.23.0

func (o DashboardOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (DashboardOutput) ToDashboardOutput

func (o DashboardOutput) ToDashboardOutput() DashboardOutput

func (DashboardOutput) ToDashboardOutputWithContext

func (o DashboardOutput) ToDashboardOutputWithContext(ctx context.Context) DashboardOutput

func (DashboardOutput) ToOutput added in v6.65.1

type DashboardState

type DashboardState struct {
	// The JSON representation of a dashboard, following the format at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards.
	// The representation of an existing dashboard can be found by using the [API Explorer](https://cloud.google.com/monitoring/api/ref_v3/rest/v1/projects.dashboards/get)
	//
	// ***
	DashboardJson pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (DashboardState) ElementType

func (DashboardState) ElementType() reflect.Type

type GenericService added in v6.42.0

type GenericService struct {
	pulumi.CustomResourceState

	// A well-known service type, defined by its service type and service labels.
	// Valid values of service types and services labels are described at
	// https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli
	// Structure is documented below.
	BasicService GenericServiceBasicServicePtrOutput `pulumi:"basicService"`
	// Name used for UI elements listing this Service.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The full resource name for this service. The syntax is:
	// projects/[PROJECT_ID]/services/[SERVICE_ID].
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// An optional service ID to use. If not given, the server will generate a
	// service ID.
	//
	// ***
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// Configuration for how to query telemetry on a Service.
	// Structure is documented below.
	Telemetries GenericServiceTelemetryArrayOutput `pulumi:"telemetries"`
	// Labels which have been used to annotate the service. Label keys must start
	// with a letter. Label keys and values may contain lowercase letters,
	// numbers, underscores, and dashes. Label keys and values have a maximum
	// length of 63 characters, and must be less than 128 bytes in size. Up to 64
	// label entries may be stored. For labels which do not have a semantic value,
	// the empty string may be supplied for the label value.
	UserLabels pulumi.StringMapOutput `pulumi:"userLabels"`
}

A Service is a discrete, autonomous, and network-accessible unit, designed to solve an individual concern (Wikipedia). In Cloud Monitoring, a Service acts as the root resource under which operational aspects of the service are accessible

To get more information about GenericService, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services) * How-to Guides

## Example Usage ### Monitoring Service Example

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewGenericService(ctx, "myService", &monitoring.GenericServiceArgs{
			BasicService: &monitoring.GenericServiceBasicServiceArgs{
				ServiceLabels: pulumi.StringMap{
					"moduleId": pulumi.String("another-module-id"),
				},
				ServiceType: pulumi.String("APP_ENGINE"),
			},
			DisplayName: pulumi.String("My Service my-service"),
			ServiceId:   pulumi.String("my-service"),
			UserLabels: pulumi.StringMap{
				"my_key":       pulumi.String("my_value"),
				"my_other_key": pulumi.String("my_other_value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

GenericService can be imported using any of these accepted formats

```sh

$ pulumi import gcp:monitoring/genericService:GenericService default projects/{{project}}/services/{{service_id}}

```

```sh

$ pulumi import gcp:monitoring/genericService:GenericService default {{project}}/{{service_id}}

```

```sh

$ pulumi import gcp:monitoring/genericService:GenericService default {{service_id}}

```

func GetGenericService added in v6.42.0

func GetGenericService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GenericServiceState, opts ...pulumi.ResourceOption) (*GenericService, error)

GetGenericService gets an existing GenericService resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGenericService added in v6.42.0

func NewGenericService(ctx *pulumi.Context,
	name string, args *GenericServiceArgs, opts ...pulumi.ResourceOption) (*GenericService, error)

NewGenericService registers a new resource with the given unique name, arguments, and options.

func (*GenericService) ElementType added in v6.42.0

func (*GenericService) ElementType() reflect.Type

func (*GenericService) ToGenericServiceOutput added in v6.42.0

func (i *GenericService) ToGenericServiceOutput() GenericServiceOutput

func (*GenericService) ToGenericServiceOutputWithContext added in v6.42.0

func (i *GenericService) ToGenericServiceOutputWithContext(ctx context.Context) GenericServiceOutput

func (*GenericService) ToOutput added in v6.65.1

type GenericServiceArgs added in v6.42.0

type GenericServiceArgs struct {
	// A well-known service type, defined by its service type and service labels.
	// Valid values of service types and services labels are described at
	// https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli
	// Structure is documented below.
	BasicService GenericServiceBasicServicePtrInput
	// Name used for UI elements listing this Service.
	DisplayName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// An optional service ID to use. If not given, the server will generate a
	// service ID.
	//
	// ***
	ServiceId pulumi.StringInput
	// Labels which have been used to annotate the service. Label keys must start
	// with a letter. Label keys and values may contain lowercase letters,
	// numbers, underscores, and dashes. Label keys and values have a maximum
	// length of 63 characters, and must be less than 128 bytes in size. Up to 64
	// label entries may be stored. For labels which do not have a semantic value,
	// the empty string may be supplied for the label value.
	UserLabels pulumi.StringMapInput
}

The set of arguments for constructing a GenericService resource.

func (GenericServiceArgs) ElementType added in v6.42.0

func (GenericServiceArgs) ElementType() reflect.Type

type GenericServiceArray added in v6.42.0

type GenericServiceArray []GenericServiceInput

func (GenericServiceArray) ElementType added in v6.42.0

func (GenericServiceArray) ElementType() reflect.Type

func (GenericServiceArray) ToGenericServiceArrayOutput added in v6.42.0

func (i GenericServiceArray) ToGenericServiceArrayOutput() GenericServiceArrayOutput

func (GenericServiceArray) ToGenericServiceArrayOutputWithContext added in v6.42.0

func (i GenericServiceArray) ToGenericServiceArrayOutputWithContext(ctx context.Context) GenericServiceArrayOutput

func (GenericServiceArray) ToOutput added in v6.65.1

type GenericServiceArrayInput added in v6.42.0

type GenericServiceArrayInput interface {
	pulumi.Input

	ToGenericServiceArrayOutput() GenericServiceArrayOutput
	ToGenericServiceArrayOutputWithContext(context.Context) GenericServiceArrayOutput
}

GenericServiceArrayInput is an input type that accepts GenericServiceArray and GenericServiceArrayOutput values. You can construct a concrete instance of `GenericServiceArrayInput` via:

GenericServiceArray{ GenericServiceArgs{...} }

type GenericServiceArrayOutput added in v6.42.0

type GenericServiceArrayOutput struct{ *pulumi.OutputState }

func (GenericServiceArrayOutput) ElementType added in v6.42.0

func (GenericServiceArrayOutput) ElementType() reflect.Type

func (GenericServiceArrayOutput) Index added in v6.42.0

func (GenericServiceArrayOutput) ToGenericServiceArrayOutput added in v6.42.0

func (o GenericServiceArrayOutput) ToGenericServiceArrayOutput() GenericServiceArrayOutput

func (GenericServiceArrayOutput) ToGenericServiceArrayOutputWithContext added in v6.42.0

func (o GenericServiceArrayOutput) ToGenericServiceArrayOutputWithContext(ctx context.Context) GenericServiceArrayOutput

func (GenericServiceArrayOutput) ToOutput added in v6.65.1

type GenericServiceBasicService added in v6.42.0

type GenericServiceBasicService struct {
	// Labels that specify the resource that emits the monitoring data
	// which is used for SLO reporting of this `Service`.
	ServiceLabels map[string]string `pulumi:"serviceLabels"`
	// The type of service that this basic service defines, e.g.
	// APP_ENGINE service type
	ServiceType *string `pulumi:"serviceType"`
}

type GenericServiceBasicServiceArgs added in v6.42.0

type GenericServiceBasicServiceArgs struct {
	// Labels that specify the resource that emits the monitoring data
	// which is used for SLO reporting of this `Service`.
	ServiceLabels pulumi.StringMapInput `pulumi:"serviceLabels"`
	// The type of service that this basic service defines, e.g.
	// APP_ENGINE service type
	ServiceType pulumi.StringPtrInput `pulumi:"serviceType"`
}

func (GenericServiceBasicServiceArgs) ElementType added in v6.42.0

func (GenericServiceBasicServiceArgs) ToGenericServiceBasicServiceOutput added in v6.42.0

func (i GenericServiceBasicServiceArgs) ToGenericServiceBasicServiceOutput() GenericServiceBasicServiceOutput

func (GenericServiceBasicServiceArgs) ToGenericServiceBasicServiceOutputWithContext added in v6.42.0

func (i GenericServiceBasicServiceArgs) ToGenericServiceBasicServiceOutputWithContext(ctx context.Context) GenericServiceBasicServiceOutput

func (GenericServiceBasicServiceArgs) ToGenericServiceBasicServicePtrOutput added in v6.42.0

func (i GenericServiceBasicServiceArgs) ToGenericServiceBasicServicePtrOutput() GenericServiceBasicServicePtrOutput

func (GenericServiceBasicServiceArgs) ToGenericServiceBasicServicePtrOutputWithContext added in v6.42.0

func (i GenericServiceBasicServiceArgs) ToGenericServiceBasicServicePtrOutputWithContext(ctx context.Context) GenericServiceBasicServicePtrOutput

func (GenericServiceBasicServiceArgs) ToOutput added in v6.65.1

type GenericServiceBasicServiceInput added in v6.42.0

type GenericServiceBasicServiceInput interface {
	pulumi.Input

	ToGenericServiceBasicServiceOutput() GenericServiceBasicServiceOutput
	ToGenericServiceBasicServiceOutputWithContext(context.Context) GenericServiceBasicServiceOutput
}

GenericServiceBasicServiceInput is an input type that accepts GenericServiceBasicServiceArgs and GenericServiceBasicServiceOutput values. You can construct a concrete instance of `GenericServiceBasicServiceInput` via:

GenericServiceBasicServiceArgs{...}

type GenericServiceBasicServiceOutput added in v6.42.0

type GenericServiceBasicServiceOutput struct{ *pulumi.OutputState }

func (GenericServiceBasicServiceOutput) ElementType added in v6.42.0

func (GenericServiceBasicServiceOutput) ServiceLabels added in v6.42.0

Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.

func (GenericServiceBasicServiceOutput) ServiceType added in v6.42.0

The type of service that this basic service defines, e.g. APP_ENGINE service type

func (GenericServiceBasicServiceOutput) ToGenericServiceBasicServiceOutput added in v6.42.0

func (o GenericServiceBasicServiceOutput) ToGenericServiceBasicServiceOutput() GenericServiceBasicServiceOutput

func (GenericServiceBasicServiceOutput) ToGenericServiceBasicServiceOutputWithContext added in v6.42.0

func (o GenericServiceBasicServiceOutput) ToGenericServiceBasicServiceOutputWithContext(ctx context.Context) GenericServiceBasicServiceOutput

func (GenericServiceBasicServiceOutput) ToGenericServiceBasicServicePtrOutput added in v6.42.0

func (o GenericServiceBasicServiceOutput) ToGenericServiceBasicServicePtrOutput() GenericServiceBasicServicePtrOutput

func (GenericServiceBasicServiceOutput) ToGenericServiceBasicServicePtrOutputWithContext added in v6.42.0

func (o GenericServiceBasicServiceOutput) ToGenericServiceBasicServicePtrOutputWithContext(ctx context.Context) GenericServiceBasicServicePtrOutput

func (GenericServiceBasicServiceOutput) ToOutput added in v6.65.1

type GenericServiceBasicServicePtrInput added in v6.42.0

type GenericServiceBasicServicePtrInput interface {
	pulumi.Input

	ToGenericServiceBasicServicePtrOutput() GenericServiceBasicServicePtrOutput
	ToGenericServiceBasicServicePtrOutputWithContext(context.Context) GenericServiceBasicServicePtrOutput
}

GenericServiceBasicServicePtrInput is an input type that accepts GenericServiceBasicServiceArgs, GenericServiceBasicServicePtr and GenericServiceBasicServicePtrOutput values. You can construct a concrete instance of `GenericServiceBasicServicePtrInput` via:

        GenericServiceBasicServiceArgs{...}

or:

        nil

func GenericServiceBasicServicePtr added in v6.42.0

type GenericServiceBasicServicePtrOutput added in v6.42.0

type GenericServiceBasicServicePtrOutput struct{ *pulumi.OutputState }

func (GenericServiceBasicServicePtrOutput) Elem added in v6.42.0

func (GenericServiceBasicServicePtrOutput) ElementType added in v6.42.0

func (GenericServiceBasicServicePtrOutput) ServiceLabels added in v6.42.0

Labels that specify the resource that emits the monitoring data which is used for SLO reporting of this `Service`.

func (GenericServiceBasicServicePtrOutput) ServiceType added in v6.42.0

The type of service that this basic service defines, e.g. APP_ENGINE service type

func (GenericServiceBasicServicePtrOutput) ToGenericServiceBasicServicePtrOutput added in v6.42.0

func (o GenericServiceBasicServicePtrOutput) ToGenericServiceBasicServicePtrOutput() GenericServiceBasicServicePtrOutput

func (GenericServiceBasicServicePtrOutput) ToGenericServiceBasicServicePtrOutputWithContext added in v6.42.0

func (o GenericServiceBasicServicePtrOutput) ToGenericServiceBasicServicePtrOutputWithContext(ctx context.Context) GenericServiceBasicServicePtrOutput

func (GenericServiceBasicServicePtrOutput) ToOutput added in v6.65.1

type GenericServiceInput added in v6.42.0

type GenericServiceInput interface {
	pulumi.Input

	ToGenericServiceOutput() GenericServiceOutput
	ToGenericServiceOutputWithContext(ctx context.Context) GenericServiceOutput
}

type GenericServiceMap added in v6.42.0

type GenericServiceMap map[string]GenericServiceInput

func (GenericServiceMap) ElementType added in v6.42.0

func (GenericServiceMap) ElementType() reflect.Type

func (GenericServiceMap) ToGenericServiceMapOutput added in v6.42.0

func (i GenericServiceMap) ToGenericServiceMapOutput() GenericServiceMapOutput

func (GenericServiceMap) ToGenericServiceMapOutputWithContext added in v6.42.0

func (i GenericServiceMap) ToGenericServiceMapOutputWithContext(ctx context.Context) GenericServiceMapOutput

func (GenericServiceMap) ToOutput added in v6.65.1

type GenericServiceMapInput added in v6.42.0

type GenericServiceMapInput interface {
	pulumi.Input

	ToGenericServiceMapOutput() GenericServiceMapOutput
	ToGenericServiceMapOutputWithContext(context.Context) GenericServiceMapOutput
}

GenericServiceMapInput is an input type that accepts GenericServiceMap and GenericServiceMapOutput values. You can construct a concrete instance of `GenericServiceMapInput` via:

GenericServiceMap{ "key": GenericServiceArgs{...} }

type GenericServiceMapOutput added in v6.42.0

type GenericServiceMapOutput struct{ *pulumi.OutputState }

func (GenericServiceMapOutput) ElementType added in v6.42.0

func (GenericServiceMapOutput) ElementType() reflect.Type

func (GenericServiceMapOutput) MapIndex added in v6.42.0

func (GenericServiceMapOutput) ToGenericServiceMapOutput added in v6.42.0

func (o GenericServiceMapOutput) ToGenericServiceMapOutput() GenericServiceMapOutput

func (GenericServiceMapOutput) ToGenericServiceMapOutputWithContext added in v6.42.0

func (o GenericServiceMapOutput) ToGenericServiceMapOutputWithContext(ctx context.Context) GenericServiceMapOutput

func (GenericServiceMapOutput) ToOutput added in v6.65.1

type GenericServiceOutput added in v6.42.0

type GenericServiceOutput struct{ *pulumi.OutputState }

func (GenericServiceOutput) BasicService added in v6.42.0

A well-known service type, defined by its service type and service labels. Valid values of service types and services labels are described at https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli Structure is documented below.

func (GenericServiceOutput) DisplayName added in v6.42.0

Name used for UI elements listing this Service.

func (GenericServiceOutput) ElementType added in v6.42.0

func (GenericServiceOutput) ElementType() reflect.Type

func (GenericServiceOutput) Name added in v6.42.0

The full resource name for this service. The syntax is: projects/[PROJECT_ID]/services/[SERVICE_ID].

func (GenericServiceOutput) Project added in v6.42.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (GenericServiceOutput) ServiceId added in v6.42.0

An optional service ID to use. If not given, the server will generate a service ID.

***

func (GenericServiceOutput) Telemetries added in v6.42.0

Configuration for how to query telemetry on a Service. Structure is documented below.

func (GenericServiceOutput) ToGenericServiceOutput added in v6.42.0

func (o GenericServiceOutput) ToGenericServiceOutput() GenericServiceOutput

func (GenericServiceOutput) ToGenericServiceOutputWithContext added in v6.42.0

func (o GenericServiceOutput) ToGenericServiceOutputWithContext(ctx context.Context) GenericServiceOutput

func (GenericServiceOutput) ToOutput added in v6.65.1

func (GenericServiceOutput) UserLabels added in v6.42.0

Labels which have been used to annotate the service. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.

type GenericServiceState added in v6.42.0

type GenericServiceState struct {
	// A well-known service type, defined by its service type and service labels.
	// Valid values of service types and services labels are described at
	// https://cloud.google.com/stackdriver/docs/solutions/slo-monitoring/api/api-structures#basic-svc-w-basic-sli
	// Structure is documented below.
	BasicService GenericServiceBasicServicePtrInput
	// Name used for UI elements listing this Service.
	DisplayName pulumi.StringPtrInput
	// The full resource name for this service. The syntax is:
	// projects/[PROJECT_ID]/services/[SERVICE_ID].
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// An optional service ID to use. If not given, the server will generate a
	// service ID.
	//
	// ***
	ServiceId pulumi.StringPtrInput
	// Configuration for how to query telemetry on a Service.
	// Structure is documented below.
	Telemetries GenericServiceTelemetryArrayInput
	// Labels which have been used to annotate the service. Label keys must start
	// with a letter. Label keys and values may contain lowercase letters,
	// numbers, underscores, and dashes. Label keys and values have a maximum
	// length of 63 characters, and must be less than 128 bytes in size. Up to 64
	// label entries may be stored. For labels which do not have a semantic value,
	// the empty string may be supplied for the label value.
	UserLabels pulumi.StringMapInput
}

func (GenericServiceState) ElementType added in v6.42.0

func (GenericServiceState) ElementType() reflect.Type

type GenericServiceTelemetry added in v6.42.0

type GenericServiceTelemetry struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName *string `pulumi:"resourceName"`
}

type GenericServiceTelemetryArgs added in v6.42.0

type GenericServiceTelemetryArgs struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName pulumi.StringPtrInput `pulumi:"resourceName"`
}

func (GenericServiceTelemetryArgs) ElementType added in v6.42.0

func (GenericServiceTelemetryArgs) ToGenericServiceTelemetryOutput added in v6.42.0

func (i GenericServiceTelemetryArgs) ToGenericServiceTelemetryOutput() GenericServiceTelemetryOutput

func (GenericServiceTelemetryArgs) ToGenericServiceTelemetryOutputWithContext added in v6.42.0

func (i GenericServiceTelemetryArgs) ToGenericServiceTelemetryOutputWithContext(ctx context.Context) GenericServiceTelemetryOutput

func (GenericServiceTelemetryArgs) ToOutput added in v6.65.1

type GenericServiceTelemetryArray added in v6.42.0

type GenericServiceTelemetryArray []GenericServiceTelemetryInput

func (GenericServiceTelemetryArray) ElementType added in v6.42.0

func (GenericServiceTelemetryArray) ToGenericServiceTelemetryArrayOutput added in v6.42.0

func (i GenericServiceTelemetryArray) ToGenericServiceTelemetryArrayOutput() GenericServiceTelemetryArrayOutput

func (GenericServiceTelemetryArray) ToGenericServiceTelemetryArrayOutputWithContext added in v6.42.0

func (i GenericServiceTelemetryArray) ToGenericServiceTelemetryArrayOutputWithContext(ctx context.Context) GenericServiceTelemetryArrayOutput

func (GenericServiceTelemetryArray) ToOutput added in v6.65.1

type GenericServiceTelemetryArrayInput added in v6.42.0

type GenericServiceTelemetryArrayInput interface {
	pulumi.Input

	ToGenericServiceTelemetryArrayOutput() GenericServiceTelemetryArrayOutput
	ToGenericServiceTelemetryArrayOutputWithContext(context.Context) GenericServiceTelemetryArrayOutput
}

GenericServiceTelemetryArrayInput is an input type that accepts GenericServiceTelemetryArray and GenericServiceTelemetryArrayOutput values. You can construct a concrete instance of `GenericServiceTelemetryArrayInput` via:

GenericServiceTelemetryArray{ GenericServiceTelemetryArgs{...} }

type GenericServiceTelemetryArrayOutput added in v6.42.0

type GenericServiceTelemetryArrayOutput struct{ *pulumi.OutputState }

func (GenericServiceTelemetryArrayOutput) ElementType added in v6.42.0

func (GenericServiceTelemetryArrayOutput) Index added in v6.42.0

func (GenericServiceTelemetryArrayOutput) ToGenericServiceTelemetryArrayOutput added in v6.42.0

func (o GenericServiceTelemetryArrayOutput) ToGenericServiceTelemetryArrayOutput() GenericServiceTelemetryArrayOutput

func (GenericServiceTelemetryArrayOutput) ToGenericServiceTelemetryArrayOutputWithContext added in v6.42.0

func (o GenericServiceTelemetryArrayOutput) ToGenericServiceTelemetryArrayOutputWithContext(ctx context.Context) GenericServiceTelemetryArrayOutput

func (GenericServiceTelemetryArrayOutput) ToOutput added in v6.65.1

type GenericServiceTelemetryInput added in v6.42.0

type GenericServiceTelemetryInput interface {
	pulumi.Input

	ToGenericServiceTelemetryOutput() GenericServiceTelemetryOutput
	ToGenericServiceTelemetryOutputWithContext(context.Context) GenericServiceTelemetryOutput
}

GenericServiceTelemetryInput is an input type that accepts GenericServiceTelemetryArgs and GenericServiceTelemetryOutput values. You can construct a concrete instance of `GenericServiceTelemetryInput` via:

GenericServiceTelemetryArgs{...}

type GenericServiceTelemetryOutput added in v6.42.0

type GenericServiceTelemetryOutput struct{ *pulumi.OutputState }

func (GenericServiceTelemetryOutput) ElementType added in v6.42.0

func (GenericServiceTelemetryOutput) ResourceName added in v6.42.0

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

func (GenericServiceTelemetryOutput) ToGenericServiceTelemetryOutput added in v6.42.0

func (o GenericServiceTelemetryOutput) ToGenericServiceTelemetryOutput() GenericServiceTelemetryOutput

func (GenericServiceTelemetryOutput) ToGenericServiceTelemetryOutputWithContext added in v6.42.0

func (o GenericServiceTelemetryOutput) ToGenericServiceTelemetryOutputWithContext(ctx context.Context) GenericServiceTelemetryOutput

func (GenericServiceTelemetryOutput) ToOutput added in v6.65.1

type GetAppEngineServiceArgs

type GetAppEngineServiceArgs struct {
	// The ID of the App Engine module underlying this
	// service. Corresponds to the moduleId resource label in the [gaeApp](https://cloud.google.com/monitoring/api/resources#tag_gae_app) monitored resource, or the service/module name.
	//
	// ***
	//
	// Other optional fields include:
	ModuleId string `pulumi:"moduleId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getAppEngineService.

type GetAppEngineServiceOutputArgs

type GetAppEngineServiceOutputArgs struct {
	// The ID of the App Engine module underlying this
	// service. Corresponds to the moduleId resource label in the [gaeApp](https://cloud.google.com/monitoring/api/resources#tag_gae_app) monitored resource, or the service/module name.
	//
	// ***
	//
	// Other optional fields include:
	ModuleId pulumi.StringInput `pulumi:"moduleId"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getAppEngineService.

func (GetAppEngineServiceOutputArgs) ElementType

type GetAppEngineServiceResult

type GetAppEngineServiceResult struct {
	// Name used for UI elements listing this (Monitoring) Service.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	ModuleId string `pulumi:"moduleId"`
	// The full REST resource name for this channel. The syntax is:
	// `projects/[PROJECT_ID]/services/[SERVICE_ID]`.
	Name      string  `pulumi:"name"`
	Project   *string `pulumi:"project"`
	ServiceId string  `pulumi:"serviceId"`
	// Configuration for how to query telemetry on the Service. Structure is documented below.
	Telemetries []GetAppEngineServiceTelemetry `pulumi:"telemetries"`
	UserLabels  map[string]string              `pulumi:"userLabels"`
}

A collection of values returned by getAppEngineService.

func GetAppEngineService

func GetAppEngineService(ctx *pulumi.Context, args *GetAppEngineServiceArgs, opts ...pulumi.InvokeOption) (*GetAppEngineServiceResult, error)

A Monitoring Service is the root resource under which operational aspects of a generic service are accessible. A service is some discrete, autonomous, and network-accessible unit, designed to solve an individual concern

An App Engine monitoring service is automatically created by GCP to monitor App Engine services.

To get more information about Service, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services) * How-to Guides

## Example Usage ### Monitoring App Engine Service

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/appengine"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Location: pulumi.String("US"),
		})
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("./test-fixtures/hello-world.zip"),
		})
		if err != nil {
			return err
		}
		myapp, err := appengine.NewStandardAppVersion(ctx, "myapp", &appengine.StandardAppVersionArgs{
			VersionId: pulumi.String("v1"),
			Service:   pulumi.String("myapp"),
			Runtime:   pulumi.String("nodejs10"),
			Entrypoint: &appengine.StandardAppVersionEntrypointArgs{
				Shell: pulumi.String("node ./app.js"),
			},
			Deployment: &appengine.StandardAppVersionDeploymentArgs{
				Zip: &appengine.StandardAppVersionDeploymentZipArgs{
					SourceUrl: pulumi.All(bucket.Name, object.Name).ApplyT(func(_args []interface{}) (string, error) {
						bucketName := _args[0].(string)
						objectName := _args[1].(string)
						return fmt.Sprintf("https://storage.googleapis.com/%v/%v", bucketName, objectName), nil
					}).(pulumi.StringOutput),
				},
			},
			EnvVariables: pulumi.StringMap{
				"port": pulumi.String("8080"),
			},
			DeleteServiceOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_ = monitoring.GetAppEngineServiceOutput(ctx, monitoring.GetAppEngineServiceOutputArgs{
			ModuleId: myapp.Service,
		}, nil)
		return nil
	})
}

```

type GetAppEngineServiceResultOutput

type GetAppEngineServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppEngineService.

func (GetAppEngineServiceResultOutput) DisplayName

Name used for UI elements listing this (Monitoring) Service.

func (GetAppEngineServiceResultOutput) ElementType

func (GetAppEngineServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetAppEngineServiceResultOutput) ModuleId

func (GetAppEngineServiceResultOutput) Name

The full REST resource name for this channel. The syntax is: `projects/[PROJECT_ID]/services/[SERVICE_ID]`.

func (GetAppEngineServiceResultOutput) Project

func (GetAppEngineServiceResultOutput) ServiceId

func (GetAppEngineServiceResultOutput) Telemetries

Configuration for how to query telemetry on the Service. Structure is documented below.

func (GetAppEngineServiceResultOutput) ToGetAppEngineServiceResultOutput

func (o GetAppEngineServiceResultOutput) ToGetAppEngineServiceResultOutput() GetAppEngineServiceResultOutput

func (GetAppEngineServiceResultOutput) ToGetAppEngineServiceResultOutputWithContext

func (o GetAppEngineServiceResultOutput) ToGetAppEngineServiceResultOutputWithContext(ctx context.Context) GetAppEngineServiceResultOutput

func (GetAppEngineServiceResultOutput) ToOutput added in v6.65.1

func (GetAppEngineServiceResultOutput) UserLabels added in v6.28.0

type GetAppEngineServiceTelemetry

type GetAppEngineServiceTelemetry struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName string `pulumi:"resourceName"`
}

type GetAppEngineServiceTelemetryArgs

type GetAppEngineServiceTelemetryArgs struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName pulumi.StringInput `pulumi:"resourceName"`
}

func (GetAppEngineServiceTelemetryArgs) ElementType

func (GetAppEngineServiceTelemetryArgs) ToGetAppEngineServiceTelemetryOutput

func (i GetAppEngineServiceTelemetryArgs) ToGetAppEngineServiceTelemetryOutput() GetAppEngineServiceTelemetryOutput

func (GetAppEngineServiceTelemetryArgs) ToGetAppEngineServiceTelemetryOutputWithContext

func (i GetAppEngineServiceTelemetryArgs) ToGetAppEngineServiceTelemetryOutputWithContext(ctx context.Context) GetAppEngineServiceTelemetryOutput

func (GetAppEngineServiceTelemetryArgs) ToOutput added in v6.65.1

type GetAppEngineServiceTelemetryArray

type GetAppEngineServiceTelemetryArray []GetAppEngineServiceTelemetryInput

func (GetAppEngineServiceTelemetryArray) ElementType

func (GetAppEngineServiceTelemetryArray) ToGetAppEngineServiceTelemetryArrayOutput

func (i GetAppEngineServiceTelemetryArray) ToGetAppEngineServiceTelemetryArrayOutput() GetAppEngineServiceTelemetryArrayOutput

func (GetAppEngineServiceTelemetryArray) ToGetAppEngineServiceTelemetryArrayOutputWithContext

func (i GetAppEngineServiceTelemetryArray) ToGetAppEngineServiceTelemetryArrayOutputWithContext(ctx context.Context) GetAppEngineServiceTelemetryArrayOutput

func (GetAppEngineServiceTelemetryArray) ToOutput added in v6.65.1

type GetAppEngineServiceTelemetryArrayInput

type GetAppEngineServiceTelemetryArrayInput interface {
	pulumi.Input

	ToGetAppEngineServiceTelemetryArrayOutput() GetAppEngineServiceTelemetryArrayOutput
	ToGetAppEngineServiceTelemetryArrayOutputWithContext(context.Context) GetAppEngineServiceTelemetryArrayOutput
}

GetAppEngineServiceTelemetryArrayInput is an input type that accepts GetAppEngineServiceTelemetryArray and GetAppEngineServiceTelemetryArrayOutput values. You can construct a concrete instance of `GetAppEngineServiceTelemetryArrayInput` via:

GetAppEngineServiceTelemetryArray{ GetAppEngineServiceTelemetryArgs{...} }

type GetAppEngineServiceTelemetryArrayOutput

type GetAppEngineServiceTelemetryArrayOutput struct{ *pulumi.OutputState }

func (GetAppEngineServiceTelemetryArrayOutput) ElementType

func (GetAppEngineServiceTelemetryArrayOutput) Index

func (GetAppEngineServiceTelemetryArrayOutput) ToGetAppEngineServiceTelemetryArrayOutput

func (o GetAppEngineServiceTelemetryArrayOutput) ToGetAppEngineServiceTelemetryArrayOutput() GetAppEngineServiceTelemetryArrayOutput

func (GetAppEngineServiceTelemetryArrayOutput) ToGetAppEngineServiceTelemetryArrayOutputWithContext

func (o GetAppEngineServiceTelemetryArrayOutput) ToGetAppEngineServiceTelemetryArrayOutputWithContext(ctx context.Context) GetAppEngineServiceTelemetryArrayOutput

func (GetAppEngineServiceTelemetryArrayOutput) ToOutput added in v6.65.1

type GetAppEngineServiceTelemetryInput

type GetAppEngineServiceTelemetryInput interface {
	pulumi.Input

	ToGetAppEngineServiceTelemetryOutput() GetAppEngineServiceTelemetryOutput
	ToGetAppEngineServiceTelemetryOutputWithContext(context.Context) GetAppEngineServiceTelemetryOutput
}

GetAppEngineServiceTelemetryInput is an input type that accepts GetAppEngineServiceTelemetryArgs and GetAppEngineServiceTelemetryOutput values. You can construct a concrete instance of `GetAppEngineServiceTelemetryInput` via:

GetAppEngineServiceTelemetryArgs{...}

type GetAppEngineServiceTelemetryOutput

type GetAppEngineServiceTelemetryOutput struct{ *pulumi.OutputState }

func (GetAppEngineServiceTelemetryOutput) ElementType

func (GetAppEngineServiceTelemetryOutput) ResourceName

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

func (GetAppEngineServiceTelemetryOutput) ToGetAppEngineServiceTelemetryOutput

func (o GetAppEngineServiceTelemetryOutput) ToGetAppEngineServiceTelemetryOutput() GetAppEngineServiceTelemetryOutput

func (GetAppEngineServiceTelemetryOutput) ToGetAppEngineServiceTelemetryOutputWithContext

func (o GetAppEngineServiceTelemetryOutput) ToGetAppEngineServiceTelemetryOutputWithContext(ctx context.Context) GetAppEngineServiceTelemetryOutput

func (GetAppEngineServiceTelemetryOutput) ToOutput added in v6.65.1

type GetClusterIstioServiceArgs

type GetClusterIstioServiceArgs struct {
	// The name of the Kubernetes cluster in which this Istio service
	// is defined. Corresponds to the clusterName resource label in k8sCluster resources.
	ClusterName string `pulumi:"clusterName"`
	// The location of the Kubernetes cluster in which this Istio service
	// is defined. Corresponds to the location resource label in k8sCluster resources.
	Location string `pulumi:"location"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// The name of the Istio service underlying this service.
	// Corresponds to the destinationServiceName metric label in Istio metrics.
	//
	// ***
	//
	// Other optional fields include:
	ServiceName string `pulumi:"serviceName"`
	// The namespace of the Istio service underlying this service.
	// Corresponds to the destinationServiceNamespace metric label in Istio metrics.
	ServiceNamespace string `pulumi:"serviceNamespace"`
}

A collection of arguments for invoking getClusterIstioService.

type GetClusterIstioServiceOutputArgs

type GetClusterIstioServiceOutputArgs struct {
	// The name of the Kubernetes cluster in which this Istio service
	// is defined. Corresponds to the clusterName resource label in k8sCluster resources.
	ClusterName pulumi.StringInput `pulumi:"clusterName"`
	// The location of the Kubernetes cluster in which this Istio service
	// is defined. Corresponds to the location resource label in k8sCluster resources.
	Location pulumi.StringInput `pulumi:"location"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// The name of the Istio service underlying this service.
	// Corresponds to the destinationServiceName metric label in Istio metrics.
	//
	// ***
	//
	// Other optional fields include:
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// The namespace of the Istio service underlying this service.
	// Corresponds to the destinationServiceNamespace metric label in Istio metrics.
	ServiceNamespace pulumi.StringInput `pulumi:"serviceNamespace"`
}

A collection of arguments for invoking getClusterIstioService.

func (GetClusterIstioServiceOutputArgs) ElementType

type GetClusterIstioServiceResult

type GetClusterIstioServiceResult struct {
	ClusterName string `pulumi:"clusterName"`
	// Name used for UI elements listing this (Monitoring) Service.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Location string `pulumi:"location"`
	// The full REST resource name for this channel. The syntax is:
	// `projects/[PROJECT_ID]/services/[SERVICE_ID]`.
	Name             string  `pulumi:"name"`
	Project          *string `pulumi:"project"`
	ServiceId        string  `pulumi:"serviceId"`
	ServiceName      string  `pulumi:"serviceName"`
	ServiceNamespace string  `pulumi:"serviceNamespace"`
	// Configuration for how to query telemetry on the Service. Structure is documented below.
	Telemetries []GetClusterIstioServiceTelemetry `pulumi:"telemetries"`
	UserLabels  map[string]string                 `pulumi:"userLabels"`
}

A collection of values returned by getClusterIstioService.

func GetClusterIstioService

func GetClusterIstioService(ctx *pulumi.Context, args *GetClusterIstioServiceArgs, opts ...pulumi.InvokeOption) (*GetClusterIstioServiceResult, error)

A Monitoring Service is the root resource under which operational aspects of a generic service are accessible. A service is some discrete, autonomous, and network-accessible unit, designed to solve an individual concern

An Cluster Istio monitoring service is automatically created by GCP to monitor Cluster Istio services.

To get more information about Service, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services) * How-to Guides

## Example Usage ### Monitoring Cluster Istio Service

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.GetClusterIstioService(ctx, &monitoring.GetClusterIstioServiceArgs{
			ClusterName:      "west",
			Location:         "us-west2-a",
			ServiceName:      "istio-policy",
			ServiceNamespace: "istio-system",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetClusterIstioServiceResultOutput

type GetClusterIstioServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusterIstioService.

func (GetClusterIstioServiceResultOutput) ClusterName

func (GetClusterIstioServiceResultOutput) DisplayName

Name used for UI elements listing this (Monitoring) Service.

func (GetClusterIstioServiceResultOutput) ElementType

func (GetClusterIstioServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetClusterIstioServiceResultOutput) Location

func (GetClusterIstioServiceResultOutput) Name

The full REST resource name for this channel. The syntax is: `projects/[PROJECT_ID]/services/[SERVICE_ID]`.

func (GetClusterIstioServiceResultOutput) Project

func (GetClusterIstioServiceResultOutput) ServiceId

func (GetClusterIstioServiceResultOutput) ServiceName

func (GetClusterIstioServiceResultOutput) ServiceNamespace

func (GetClusterIstioServiceResultOutput) Telemetries

Configuration for how to query telemetry on the Service. Structure is documented below.

func (GetClusterIstioServiceResultOutput) ToGetClusterIstioServiceResultOutput

func (o GetClusterIstioServiceResultOutput) ToGetClusterIstioServiceResultOutput() GetClusterIstioServiceResultOutput

func (GetClusterIstioServiceResultOutput) ToGetClusterIstioServiceResultOutputWithContext

func (o GetClusterIstioServiceResultOutput) ToGetClusterIstioServiceResultOutputWithContext(ctx context.Context) GetClusterIstioServiceResultOutput

func (GetClusterIstioServiceResultOutput) ToOutput added in v6.65.1

func (GetClusterIstioServiceResultOutput) UserLabels added in v6.28.0

type GetClusterIstioServiceTelemetry

type GetClusterIstioServiceTelemetry struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName string `pulumi:"resourceName"`
}

type GetClusterIstioServiceTelemetryArgs

type GetClusterIstioServiceTelemetryArgs struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName pulumi.StringInput `pulumi:"resourceName"`
}

func (GetClusterIstioServiceTelemetryArgs) ElementType

func (GetClusterIstioServiceTelemetryArgs) ToGetClusterIstioServiceTelemetryOutput

func (i GetClusterIstioServiceTelemetryArgs) ToGetClusterIstioServiceTelemetryOutput() GetClusterIstioServiceTelemetryOutput

func (GetClusterIstioServiceTelemetryArgs) ToGetClusterIstioServiceTelemetryOutputWithContext

func (i GetClusterIstioServiceTelemetryArgs) ToGetClusterIstioServiceTelemetryOutputWithContext(ctx context.Context) GetClusterIstioServiceTelemetryOutput

func (GetClusterIstioServiceTelemetryArgs) ToOutput added in v6.65.1

type GetClusterIstioServiceTelemetryArray

type GetClusterIstioServiceTelemetryArray []GetClusterIstioServiceTelemetryInput

func (GetClusterIstioServiceTelemetryArray) ElementType

func (GetClusterIstioServiceTelemetryArray) ToGetClusterIstioServiceTelemetryArrayOutput

func (i GetClusterIstioServiceTelemetryArray) ToGetClusterIstioServiceTelemetryArrayOutput() GetClusterIstioServiceTelemetryArrayOutput

func (GetClusterIstioServiceTelemetryArray) ToGetClusterIstioServiceTelemetryArrayOutputWithContext

func (i GetClusterIstioServiceTelemetryArray) ToGetClusterIstioServiceTelemetryArrayOutputWithContext(ctx context.Context) GetClusterIstioServiceTelemetryArrayOutput

func (GetClusterIstioServiceTelemetryArray) ToOutput added in v6.65.1

type GetClusterIstioServiceTelemetryArrayInput

type GetClusterIstioServiceTelemetryArrayInput interface {
	pulumi.Input

	ToGetClusterIstioServiceTelemetryArrayOutput() GetClusterIstioServiceTelemetryArrayOutput
	ToGetClusterIstioServiceTelemetryArrayOutputWithContext(context.Context) GetClusterIstioServiceTelemetryArrayOutput
}

GetClusterIstioServiceTelemetryArrayInput is an input type that accepts GetClusterIstioServiceTelemetryArray and GetClusterIstioServiceTelemetryArrayOutput values. You can construct a concrete instance of `GetClusterIstioServiceTelemetryArrayInput` via:

GetClusterIstioServiceTelemetryArray{ GetClusterIstioServiceTelemetryArgs{...} }

type GetClusterIstioServiceTelemetryArrayOutput

type GetClusterIstioServiceTelemetryArrayOutput struct{ *pulumi.OutputState }

func (GetClusterIstioServiceTelemetryArrayOutput) ElementType

func (GetClusterIstioServiceTelemetryArrayOutput) Index

func (GetClusterIstioServiceTelemetryArrayOutput) ToGetClusterIstioServiceTelemetryArrayOutput

func (o GetClusterIstioServiceTelemetryArrayOutput) ToGetClusterIstioServiceTelemetryArrayOutput() GetClusterIstioServiceTelemetryArrayOutput

func (GetClusterIstioServiceTelemetryArrayOutput) ToGetClusterIstioServiceTelemetryArrayOutputWithContext

func (o GetClusterIstioServiceTelemetryArrayOutput) ToGetClusterIstioServiceTelemetryArrayOutputWithContext(ctx context.Context) GetClusterIstioServiceTelemetryArrayOutput

func (GetClusterIstioServiceTelemetryArrayOutput) ToOutput added in v6.65.1

type GetClusterIstioServiceTelemetryInput

type GetClusterIstioServiceTelemetryInput interface {
	pulumi.Input

	ToGetClusterIstioServiceTelemetryOutput() GetClusterIstioServiceTelemetryOutput
	ToGetClusterIstioServiceTelemetryOutputWithContext(context.Context) GetClusterIstioServiceTelemetryOutput
}

GetClusterIstioServiceTelemetryInput is an input type that accepts GetClusterIstioServiceTelemetryArgs and GetClusterIstioServiceTelemetryOutput values. You can construct a concrete instance of `GetClusterIstioServiceTelemetryInput` via:

GetClusterIstioServiceTelemetryArgs{...}

type GetClusterIstioServiceTelemetryOutput

type GetClusterIstioServiceTelemetryOutput struct{ *pulumi.OutputState }

func (GetClusterIstioServiceTelemetryOutput) ElementType

func (GetClusterIstioServiceTelemetryOutput) ResourceName

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

func (GetClusterIstioServiceTelemetryOutput) ToGetClusterIstioServiceTelemetryOutput

func (o GetClusterIstioServiceTelemetryOutput) ToGetClusterIstioServiceTelemetryOutput() GetClusterIstioServiceTelemetryOutput

func (GetClusterIstioServiceTelemetryOutput) ToGetClusterIstioServiceTelemetryOutputWithContext

func (o GetClusterIstioServiceTelemetryOutput) ToGetClusterIstioServiceTelemetryOutputWithContext(ctx context.Context) GetClusterIstioServiceTelemetryOutput

func (GetClusterIstioServiceTelemetryOutput) ToOutput added in v6.65.1

type GetIstioCanonicalServiceArgs

type GetIstioCanonicalServiceArgs struct {
	// The name of the canonical service underlying this service.
	// Corresponds to the destinationCanonicalServiceName metric label in label in Istio metrics.
	//
	// ***
	//
	// Other optional fields include:
	CanonicalService string `pulumi:"canonicalService"`
	// The namespace of the canonical service underlying this service.
	// Corresponds to the destinationCanonicalServiceNamespace metric label in Istio metrics.
	CanonicalServiceNamespace string `pulumi:"canonicalServiceNamespace"`
	// Identifier for the mesh in which this Istio service is defined.
	// Corresponds to the meshUid metric label in Istio metrics.
	MeshUid string `pulumi:"meshUid"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getIstioCanonicalService.

type GetIstioCanonicalServiceOutputArgs

type GetIstioCanonicalServiceOutputArgs struct {
	// The name of the canonical service underlying this service.
	// Corresponds to the destinationCanonicalServiceName metric label in label in Istio metrics.
	//
	// ***
	//
	// Other optional fields include:
	CanonicalService pulumi.StringInput `pulumi:"canonicalService"`
	// The namespace of the canonical service underlying this service.
	// Corresponds to the destinationCanonicalServiceNamespace metric label in Istio metrics.
	CanonicalServiceNamespace pulumi.StringInput `pulumi:"canonicalServiceNamespace"`
	// Identifier for the mesh in which this Istio service is defined.
	// Corresponds to the meshUid metric label in Istio metrics.
	MeshUid pulumi.StringInput `pulumi:"meshUid"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getIstioCanonicalService.

func (GetIstioCanonicalServiceOutputArgs) ElementType

type GetIstioCanonicalServiceResult

type GetIstioCanonicalServiceResult struct {
	CanonicalService          string `pulumi:"canonicalService"`
	CanonicalServiceNamespace string `pulumi:"canonicalServiceNamespace"`
	// Name used for UI elements listing this (Monitoring) Service.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	MeshUid string `pulumi:"meshUid"`
	// The full REST resource name for this channel. The syntax is:
	// `projects/[PROJECT_ID]/services/[SERVICE_ID]`.
	Name      string  `pulumi:"name"`
	Project   *string `pulumi:"project"`
	ServiceId string  `pulumi:"serviceId"`
	// Configuration for how to query telemetry on the Service. Structure is documented below.
	Telemetries []GetIstioCanonicalServiceTelemetry `pulumi:"telemetries"`
	UserLabels  map[string]string                   `pulumi:"userLabels"`
}

A collection of values returned by getIstioCanonicalService.

func GetIstioCanonicalService

func GetIstioCanonicalService(ctx *pulumi.Context, args *GetIstioCanonicalServiceArgs, opts ...pulumi.InvokeOption) (*GetIstioCanonicalServiceResult, error)

A Monitoring Service is the root resource under which operational aspects of a generic service are accessible. A service is some discrete, autonomous, and network-accessible unit, designed to solve an individual concern

A monitoring Istio Canonical Service is automatically created by GCP to monitor Istio Canonical Services.

To get more information about Service, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services) * How-to Guides

## Example Usage ### Monitoring Istio Canonical Service

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.GetIstioCanonicalService(ctx, &monitoring.GetIstioCanonicalServiceArgs{
			CanonicalService:          "prometheus",
			CanonicalServiceNamespace: "istio-system",
			MeshUid:                   "proj-573164786102",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetIstioCanonicalServiceResultOutput

type GetIstioCanonicalServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIstioCanonicalService.

func (GetIstioCanonicalServiceResultOutput) CanonicalService

func (GetIstioCanonicalServiceResultOutput) CanonicalServiceNamespace

func (o GetIstioCanonicalServiceResultOutput) CanonicalServiceNamespace() pulumi.StringOutput

func (GetIstioCanonicalServiceResultOutput) DisplayName

Name used for UI elements listing this (Monitoring) Service.

func (GetIstioCanonicalServiceResultOutput) ElementType

func (GetIstioCanonicalServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetIstioCanonicalServiceResultOutput) MeshUid

func (GetIstioCanonicalServiceResultOutput) Name

The full REST resource name for this channel. The syntax is: `projects/[PROJECT_ID]/services/[SERVICE_ID]`.

func (GetIstioCanonicalServiceResultOutput) Project

func (GetIstioCanonicalServiceResultOutput) ServiceId

func (GetIstioCanonicalServiceResultOutput) Telemetries

Configuration for how to query telemetry on the Service. Structure is documented below.

func (GetIstioCanonicalServiceResultOutput) ToGetIstioCanonicalServiceResultOutput

func (o GetIstioCanonicalServiceResultOutput) ToGetIstioCanonicalServiceResultOutput() GetIstioCanonicalServiceResultOutput

func (GetIstioCanonicalServiceResultOutput) ToGetIstioCanonicalServiceResultOutputWithContext

func (o GetIstioCanonicalServiceResultOutput) ToGetIstioCanonicalServiceResultOutputWithContext(ctx context.Context) GetIstioCanonicalServiceResultOutput

func (GetIstioCanonicalServiceResultOutput) ToOutput added in v6.65.1

func (GetIstioCanonicalServiceResultOutput) UserLabels added in v6.28.0

type GetIstioCanonicalServiceTelemetry

type GetIstioCanonicalServiceTelemetry struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName string `pulumi:"resourceName"`
}

type GetIstioCanonicalServiceTelemetryArgs

type GetIstioCanonicalServiceTelemetryArgs struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName pulumi.StringInput `pulumi:"resourceName"`
}

func (GetIstioCanonicalServiceTelemetryArgs) ElementType

func (GetIstioCanonicalServiceTelemetryArgs) ToGetIstioCanonicalServiceTelemetryOutput

func (i GetIstioCanonicalServiceTelemetryArgs) ToGetIstioCanonicalServiceTelemetryOutput() GetIstioCanonicalServiceTelemetryOutput

func (GetIstioCanonicalServiceTelemetryArgs) ToGetIstioCanonicalServiceTelemetryOutputWithContext

func (i GetIstioCanonicalServiceTelemetryArgs) ToGetIstioCanonicalServiceTelemetryOutputWithContext(ctx context.Context) GetIstioCanonicalServiceTelemetryOutput

func (GetIstioCanonicalServiceTelemetryArgs) ToOutput added in v6.65.1

type GetIstioCanonicalServiceTelemetryArray

type GetIstioCanonicalServiceTelemetryArray []GetIstioCanonicalServiceTelemetryInput

func (GetIstioCanonicalServiceTelemetryArray) ElementType

func (GetIstioCanonicalServiceTelemetryArray) ToGetIstioCanonicalServiceTelemetryArrayOutput

func (i GetIstioCanonicalServiceTelemetryArray) ToGetIstioCanonicalServiceTelemetryArrayOutput() GetIstioCanonicalServiceTelemetryArrayOutput

func (GetIstioCanonicalServiceTelemetryArray) ToGetIstioCanonicalServiceTelemetryArrayOutputWithContext

func (i GetIstioCanonicalServiceTelemetryArray) ToGetIstioCanonicalServiceTelemetryArrayOutputWithContext(ctx context.Context) GetIstioCanonicalServiceTelemetryArrayOutput

func (GetIstioCanonicalServiceTelemetryArray) ToOutput added in v6.65.1

type GetIstioCanonicalServiceTelemetryArrayInput

type GetIstioCanonicalServiceTelemetryArrayInput interface {
	pulumi.Input

	ToGetIstioCanonicalServiceTelemetryArrayOutput() GetIstioCanonicalServiceTelemetryArrayOutput
	ToGetIstioCanonicalServiceTelemetryArrayOutputWithContext(context.Context) GetIstioCanonicalServiceTelemetryArrayOutput
}

GetIstioCanonicalServiceTelemetryArrayInput is an input type that accepts GetIstioCanonicalServiceTelemetryArray and GetIstioCanonicalServiceTelemetryArrayOutput values. You can construct a concrete instance of `GetIstioCanonicalServiceTelemetryArrayInput` via:

GetIstioCanonicalServiceTelemetryArray{ GetIstioCanonicalServiceTelemetryArgs{...} }

type GetIstioCanonicalServiceTelemetryArrayOutput

type GetIstioCanonicalServiceTelemetryArrayOutput struct{ *pulumi.OutputState }

func (GetIstioCanonicalServiceTelemetryArrayOutput) ElementType

func (GetIstioCanonicalServiceTelemetryArrayOutput) Index

func (GetIstioCanonicalServiceTelemetryArrayOutput) ToGetIstioCanonicalServiceTelemetryArrayOutput

func (o GetIstioCanonicalServiceTelemetryArrayOutput) ToGetIstioCanonicalServiceTelemetryArrayOutput() GetIstioCanonicalServiceTelemetryArrayOutput

func (GetIstioCanonicalServiceTelemetryArrayOutput) ToGetIstioCanonicalServiceTelemetryArrayOutputWithContext

func (o GetIstioCanonicalServiceTelemetryArrayOutput) ToGetIstioCanonicalServiceTelemetryArrayOutputWithContext(ctx context.Context) GetIstioCanonicalServiceTelemetryArrayOutput

func (GetIstioCanonicalServiceTelemetryArrayOutput) ToOutput added in v6.65.1

type GetIstioCanonicalServiceTelemetryInput

type GetIstioCanonicalServiceTelemetryInput interface {
	pulumi.Input

	ToGetIstioCanonicalServiceTelemetryOutput() GetIstioCanonicalServiceTelemetryOutput
	ToGetIstioCanonicalServiceTelemetryOutputWithContext(context.Context) GetIstioCanonicalServiceTelemetryOutput
}

GetIstioCanonicalServiceTelemetryInput is an input type that accepts GetIstioCanonicalServiceTelemetryArgs and GetIstioCanonicalServiceTelemetryOutput values. You can construct a concrete instance of `GetIstioCanonicalServiceTelemetryInput` via:

GetIstioCanonicalServiceTelemetryArgs{...}

type GetIstioCanonicalServiceTelemetryOutput

type GetIstioCanonicalServiceTelemetryOutput struct{ *pulumi.OutputState }

func (GetIstioCanonicalServiceTelemetryOutput) ElementType

func (GetIstioCanonicalServiceTelemetryOutput) ResourceName

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

func (GetIstioCanonicalServiceTelemetryOutput) ToGetIstioCanonicalServiceTelemetryOutput

func (o GetIstioCanonicalServiceTelemetryOutput) ToGetIstioCanonicalServiceTelemetryOutput() GetIstioCanonicalServiceTelemetryOutput

func (GetIstioCanonicalServiceTelemetryOutput) ToGetIstioCanonicalServiceTelemetryOutputWithContext

func (o GetIstioCanonicalServiceTelemetryOutput) ToGetIstioCanonicalServiceTelemetryOutputWithContext(ctx context.Context) GetIstioCanonicalServiceTelemetryOutput

func (GetIstioCanonicalServiceTelemetryOutput) ToOutput added in v6.65.1

type GetMeshIstioServiceArgs

type GetMeshIstioServiceArgs struct {
	// Identifier for the mesh in which this Istio service is defined.
	// Corresponds to the meshUid metric label in Istio metrics.
	MeshUid string `pulumi:"meshUid"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// The name of the Istio service underlying this service.
	// Corresponds to the destinationServiceName metric label in Istio metrics.
	//
	// ***
	//
	// Other optional fields include:
	ServiceName string `pulumi:"serviceName"`
	// The namespace of the Istio service underlying this service.
	// Corresponds to the destinationServiceNamespace metric label in Istio metrics.
	ServiceNamespace string `pulumi:"serviceNamespace"`
}

A collection of arguments for invoking getMeshIstioService.

type GetMeshIstioServiceOutputArgs

type GetMeshIstioServiceOutputArgs struct {
	// Identifier for the mesh in which this Istio service is defined.
	// Corresponds to the meshUid metric label in Istio metrics.
	MeshUid pulumi.StringInput `pulumi:"meshUid"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// The name of the Istio service underlying this service.
	// Corresponds to the destinationServiceName metric label in Istio metrics.
	//
	// ***
	//
	// Other optional fields include:
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// The namespace of the Istio service underlying this service.
	// Corresponds to the destinationServiceNamespace metric label in Istio metrics.
	ServiceNamespace pulumi.StringInput `pulumi:"serviceNamespace"`
}

A collection of arguments for invoking getMeshIstioService.

func (GetMeshIstioServiceOutputArgs) ElementType

type GetMeshIstioServiceResult

type GetMeshIstioServiceResult struct {
	// Name used for UI elements listing this (Monitoring) Service.
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id      string `pulumi:"id"`
	MeshUid string `pulumi:"meshUid"`
	// The full REST resource name for this channel. The syntax is:
	// `projects/[PROJECT_ID]/services/[SERVICE_ID]`.
	Name             string  `pulumi:"name"`
	Project          *string `pulumi:"project"`
	ServiceId        string  `pulumi:"serviceId"`
	ServiceName      string  `pulumi:"serviceName"`
	ServiceNamespace string  `pulumi:"serviceNamespace"`
	// Configuration for how to query telemetry on the Service. Structure is documented below.
	Telemetries []GetMeshIstioServiceTelemetry `pulumi:"telemetries"`
	UserLabels  map[string]string              `pulumi:"userLabels"`
}

A collection of values returned by getMeshIstioService.

func GetMeshIstioService

func GetMeshIstioService(ctx *pulumi.Context, args *GetMeshIstioServiceArgs, opts ...pulumi.InvokeOption) (*GetMeshIstioServiceResult, error)

A Monitoring Service is the root resource under which operational aspects of a generic service are accessible. A service is some discrete, autonomous, and network-accessible unit, designed to solve an individual concern

An Mesh Istio monitoring service is automatically created by GCP to monitor Mesh Istio services.

To get more information about Service, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services) * How-to Guides

## Example Usage ### Monitoring Mesh Istio Service

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.GetMeshIstioService(ctx, &monitoring.GetMeshIstioServiceArgs{
			MeshUid:          "proj-573164786102",
			ServiceName:      "prometheus",
			ServiceNamespace: "istio-system",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetMeshIstioServiceResultOutput

type GetMeshIstioServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMeshIstioService.

func (GetMeshIstioServiceResultOutput) DisplayName

Name used for UI elements listing this (Monitoring) Service.

func (GetMeshIstioServiceResultOutput) ElementType

func (GetMeshIstioServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetMeshIstioServiceResultOutput) MeshUid

func (GetMeshIstioServiceResultOutput) Name

The full REST resource name for this channel. The syntax is: `projects/[PROJECT_ID]/services/[SERVICE_ID]`.

func (GetMeshIstioServiceResultOutput) Project

func (GetMeshIstioServiceResultOutput) ServiceId

func (GetMeshIstioServiceResultOutput) ServiceName

func (GetMeshIstioServiceResultOutput) ServiceNamespace

func (GetMeshIstioServiceResultOutput) Telemetries

Configuration for how to query telemetry on the Service. Structure is documented below.

func (GetMeshIstioServiceResultOutput) ToGetMeshIstioServiceResultOutput

func (o GetMeshIstioServiceResultOutput) ToGetMeshIstioServiceResultOutput() GetMeshIstioServiceResultOutput

func (GetMeshIstioServiceResultOutput) ToGetMeshIstioServiceResultOutputWithContext

func (o GetMeshIstioServiceResultOutput) ToGetMeshIstioServiceResultOutputWithContext(ctx context.Context) GetMeshIstioServiceResultOutput

func (GetMeshIstioServiceResultOutput) ToOutput added in v6.65.1

func (GetMeshIstioServiceResultOutput) UserLabels added in v6.28.0

type GetMeshIstioServiceTelemetry

type GetMeshIstioServiceTelemetry struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName string `pulumi:"resourceName"`
}

type GetMeshIstioServiceTelemetryArgs

type GetMeshIstioServiceTelemetryArgs struct {
	// The full name of the resource that defines this service.
	// Formatted as described in
	// https://cloud.google.com/apis/design/resource_names.
	ResourceName pulumi.StringInput `pulumi:"resourceName"`
}

func (GetMeshIstioServiceTelemetryArgs) ElementType

func (GetMeshIstioServiceTelemetryArgs) ToGetMeshIstioServiceTelemetryOutput

func (i GetMeshIstioServiceTelemetryArgs) ToGetMeshIstioServiceTelemetryOutput() GetMeshIstioServiceTelemetryOutput

func (GetMeshIstioServiceTelemetryArgs) ToGetMeshIstioServiceTelemetryOutputWithContext

func (i GetMeshIstioServiceTelemetryArgs) ToGetMeshIstioServiceTelemetryOutputWithContext(ctx context.Context) GetMeshIstioServiceTelemetryOutput

func (GetMeshIstioServiceTelemetryArgs) ToOutput added in v6.65.1

type GetMeshIstioServiceTelemetryArray

type GetMeshIstioServiceTelemetryArray []GetMeshIstioServiceTelemetryInput

func (GetMeshIstioServiceTelemetryArray) ElementType

func (GetMeshIstioServiceTelemetryArray) ToGetMeshIstioServiceTelemetryArrayOutput

func (i GetMeshIstioServiceTelemetryArray) ToGetMeshIstioServiceTelemetryArrayOutput() GetMeshIstioServiceTelemetryArrayOutput

func (GetMeshIstioServiceTelemetryArray) ToGetMeshIstioServiceTelemetryArrayOutputWithContext

func (i GetMeshIstioServiceTelemetryArray) ToGetMeshIstioServiceTelemetryArrayOutputWithContext(ctx context.Context) GetMeshIstioServiceTelemetryArrayOutput

func (GetMeshIstioServiceTelemetryArray) ToOutput added in v6.65.1

type GetMeshIstioServiceTelemetryArrayInput

type GetMeshIstioServiceTelemetryArrayInput interface {
	pulumi.Input

	ToGetMeshIstioServiceTelemetryArrayOutput() GetMeshIstioServiceTelemetryArrayOutput
	ToGetMeshIstioServiceTelemetryArrayOutputWithContext(context.Context) GetMeshIstioServiceTelemetryArrayOutput
}

GetMeshIstioServiceTelemetryArrayInput is an input type that accepts GetMeshIstioServiceTelemetryArray and GetMeshIstioServiceTelemetryArrayOutput values. You can construct a concrete instance of `GetMeshIstioServiceTelemetryArrayInput` via:

GetMeshIstioServiceTelemetryArray{ GetMeshIstioServiceTelemetryArgs{...} }

type GetMeshIstioServiceTelemetryArrayOutput

type GetMeshIstioServiceTelemetryArrayOutput struct{ *pulumi.OutputState }

func (GetMeshIstioServiceTelemetryArrayOutput) ElementType

func (GetMeshIstioServiceTelemetryArrayOutput) Index

func (GetMeshIstioServiceTelemetryArrayOutput) ToGetMeshIstioServiceTelemetryArrayOutput

func (o GetMeshIstioServiceTelemetryArrayOutput) ToGetMeshIstioServiceTelemetryArrayOutput() GetMeshIstioServiceTelemetryArrayOutput

func (GetMeshIstioServiceTelemetryArrayOutput) ToGetMeshIstioServiceTelemetryArrayOutputWithContext

func (o GetMeshIstioServiceTelemetryArrayOutput) ToGetMeshIstioServiceTelemetryArrayOutputWithContext(ctx context.Context) GetMeshIstioServiceTelemetryArrayOutput

func (GetMeshIstioServiceTelemetryArrayOutput) ToOutput added in v6.65.1

type GetMeshIstioServiceTelemetryInput

type GetMeshIstioServiceTelemetryInput interface {
	pulumi.Input

	ToGetMeshIstioServiceTelemetryOutput() GetMeshIstioServiceTelemetryOutput
	ToGetMeshIstioServiceTelemetryOutputWithContext(context.Context) GetMeshIstioServiceTelemetryOutput
}

GetMeshIstioServiceTelemetryInput is an input type that accepts GetMeshIstioServiceTelemetryArgs and GetMeshIstioServiceTelemetryOutput values. You can construct a concrete instance of `GetMeshIstioServiceTelemetryInput` via:

GetMeshIstioServiceTelemetryArgs{...}

type GetMeshIstioServiceTelemetryOutput

type GetMeshIstioServiceTelemetryOutput struct{ *pulumi.OutputState }

func (GetMeshIstioServiceTelemetryOutput) ElementType

func (GetMeshIstioServiceTelemetryOutput) ResourceName

The full name of the resource that defines this service. Formatted as described in https://cloud.google.com/apis/design/resource_names.

func (GetMeshIstioServiceTelemetryOutput) ToGetMeshIstioServiceTelemetryOutput

func (o GetMeshIstioServiceTelemetryOutput) ToGetMeshIstioServiceTelemetryOutput() GetMeshIstioServiceTelemetryOutput

func (GetMeshIstioServiceTelemetryOutput) ToGetMeshIstioServiceTelemetryOutputWithContext

func (o GetMeshIstioServiceTelemetryOutput) ToGetMeshIstioServiceTelemetryOutputWithContext(ctx context.Context) GetMeshIstioServiceTelemetryOutput

func (GetMeshIstioServiceTelemetryOutput) ToOutput added in v6.65.1

type GetNotificationChannelSensitiveLabel

type GetNotificationChannelSensitiveLabel struct {
	AuthToken  string `pulumi:"authToken"`
	Password   string `pulumi:"password"`
	ServiceKey string `pulumi:"serviceKey"`
}

type GetNotificationChannelSensitiveLabelArgs

type GetNotificationChannelSensitiveLabelArgs struct {
	AuthToken  pulumi.StringInput `pulumi:"authToken"`
	Password   pulumi.StringInput `pulumi:"password"`
	ServiceKey pulumi.StringInput `pulumi:"serviceKey"`
}

func (GetNotificationChannelSensitiveLabelArgs) ElementType

func (GetNotificationChannelSensitiveLabelArgs) ToGetNotificationChannelSensitiveLabelOutput

func (i GetNotificationChannelSensitiveLabelArgs) ToGetNotificationChannelSensitiveLabelOutput() GetNotificationChannelSensitiveLabelOutput

func (GetNotificationChannelSensitiveLabelArgs) ToGetNotificationChannelSensitiveLabelOutputWithContext

func (i GetNotificationChannelSensitiveLabelArgs) ToGetNotificationChannelSensitiveLabelOutputWithContext(ctx context.Context) GetNotificationChannelSensitiveLabelOutput

func (GetNotificationChannelSensitiveLabelArgs) ToOutput added in v6.65.1

type GetNotificationChannelSensitiveLabelArray

type GetNotificationChannelSensitiveLabelArray []GetNotificationChannelSensitiveLabelInput

func (GetNotificationChannelSensitiveLabelArray) ElementType

func (GetNotificationChannelSensitiveLabelArray) ToGetNotificationChannelSensitiveLabelArrayOutput

func (i GetNotificationChannelSensitiveLabelArray) ToGetNotificationChannelSensitiveLabelArrayOutput() GetNotificationChannelSensitiveLabelArrayOutput

func (GetNotificationChannelSensitiveLabelArray) ToGetNotificationChannelSensitiveLabelArrayOutputWithContext

func (i GetNotificationChannelSensitiveLabelArray) ToGetNotificationChannelSensitiveLabelArrayOutputWithContext(ctx context.Context) GetNotificationChannelSensitiveLabelArrayOutput

func (GetNotificationChannelSensitiveLabelArray) ToOutput added in v6.65.1

type GetNotificationChannelSensitiveLabelArrayInput

type GetNotificationChannelSensitiveLabelArrayInput interface {
	pulumi.Input

	ToGetNotificationChannelSensitiveLabelArrayOutput() GetNotificationChannelSensitiveLabelArrayOutput
	ToGetNotificationChannelSensitiveLabelArrayOutputWithContext(context.Context) GetNotificationChannelSensitiveLabelArrayOutput
}

GetNotificationChannelSensitiveLabelArrayInput is an input type that accepts GetNotificationChannelSensitiveLabelArray and GetNotificationChannelSensitiveLabelArrayOutput values. You can construct a concrete instance of `GetNotificationChannelSensitiveLabelArrayInput` via:

GetNotificationChannelSensitiveLabelArray{ GetNotificationChannelSensitiveLabelArgs{...} }

type GetNotificationChannelSensitiveLabelArrayOutput

type GetNotificationChannelSensitiveLabelArrayOutput struct{ *pulumi.OutputState }

func (GetNotificationChannelSensitiveLabelArrayOutput) ElementType

func (GetNotificationChannelSensitiveLabelArrayOutput) Index

func (GetNotificationChannelSensitiveLabelArrayOutput) ToGetNotificationChannelSensitiveLabelArrayOutput

func (o GetNotificationChannelSensitiveLabelArrayOutput) ToGetNotificationChannelSensitiveLabelArrayOutput() GetNotificationChannelSensitiveLabelArrayOutput

func (GetNotificationChannelSensitiveLabelArrayOutput) ToGetNotificationChannelSensitiveLabelArrayOutputWithContext

func (o GetNotificationChannelSensitiveLabelArrayOutput) ToGetNotificationChannelSensitiveLabelArrayOutputWithContext(ctx context.Context) GetNotificationChannelSensitiveLabelArrayOutput

func (GetNotificationChannelSensitiveLabelArrayOutput) ToOutput added in v6.65.1

type GetNotificationChannelSensitiveLabelInput

type GetNotificationChannelSensitiveLabelInput interface {
	pulumi.Input

	ToGetNotificationChannelSensitiveLabelOutput() GetNotificationChannelSensitiveLabelOutput
	ToGetNotificationChannelSensitiveLabelOutputWithContext(context.Context) GetNotificationChannelSensitiveLabelOutput
}

GetNotificationChannelSensitiveLabelInput is an input type that accepts GetNotificationChannelSensitiveLabelArgs and GetNotificationChannelSensitiveLabelOutput values. You can construct a concrete instance of `GetNotificationChannelSensitiveLabelInput` via:

GetNotificationChannelSensitiveLabelArgs{...}

type GetNotificationChannelSensitiveLabelOutput

type GetNotificationChannelSensitiveLabelOutput struct{ *pulumi.OutputState }

func (GetNotificationChannelSensitiveLabelOutput) AuthToken

func (GetNotificationChannelSensitiveLabelOutput) ElementType

func (GetNotificationChannelSensitiveLabelOutput) Password

func (GetNotificationChannelSensitiveLabelOutput) ServiceKey

func (GetNotificationChannelSensitiveLabelOutput) ToGetNotificationChannelSensitiveLabelOutput

func (o GetNotificationChannelSensitiveLabelOutput) ToGetNotificationChannelSensitiveLabelOutput() GetNotificationChannelSensitiveLabelOutput

func (GetNotificationChannelSensitiveLabelOutput) ToGetNotificationChannelSensitiveLabelOutputWithContext

func (o GetNotificationChannelSensitiveLabelOutput) ToGetNotificationChannelSensitiveLabelOutputWithContext(ctx context.Context) GetNotificationChannelSensitiveLabelOutput

func (GetNotificationChannelSensitiveLabelOutput) ToOutput added in v6.65.1

type GetSecretVersionArgs

type GetSecretVersionArgs struct {
	// The project to get the secret version for. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// The secret to get the secret version for.
	Secret string `pulumi:"secret"`
	// The version of the secret to get. If it
	// is not provided, the latest version is retrieved.
	Version *string `pulumi:"version"`
}

A collection of arguments for invoking getSecretVersion.

type GetSecretVersionOutputArgs

type GetSecretVersionOutputArgs struct {
	// The project to get the secret version for. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// The secret to get the secret version for.
	Secret pulumi.StringInput `pulumi:"secret"`
	// The version of the secret to get. If it
	// is not provided, the latest version is retrieved.
	Version pulumi.StringPtrInput `pulumi:"version"`
}

A collection of arguments for invoking getSecretVersion.

func (GetSecretVersionOutputArgs) ElementType

func (GetSecretVersionOutputArgs) ElementType() reflect.Type

type GetSecretVersionResult

type GetSecretVersionResult struct {
	// The time at which the Secret was created.
	CreateTime string `pulumi:"createTime"`
	// The time at which the Secret was destroyed. Only present if state is DESTROYED.
	DestroyTime string `pulumi:"destroyTime"`
	// True if the current state of the SecretVersion is enabled.
	Enabled bool `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The resource name of the SecretVersion. Format:
	// `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`
	Name    string `pulumi:"name"`
	Project string `pulumi:"project"`
	Secret  string `pulumi:"secret"`
	// The secret data. No larger than 64KiB.
	SecretData string `pulumi:"secretData"`
	Version    string `pulumi:"version"`
}

A collection of values returned by getSecretVersion.

func GetSecretVersion deprecated

func GetSecretVersion(ctx *pulumi.Context, args *GetSecretVersionArgs, opts ...pulumi.InvokeOption) (*GetSecretVersionResult, error)

Get the value and metadata from a Secret Manager secret version. For more information see the official documentation datasource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/secretmanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := secretmanager.LookupSecretVersion(ctx, &secretmanager.LookupSecretVersionArgs{
			Secret: "my-secret",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

Deprecated: gcp.monitoring.getSecretVersion has been deprecated in favor of gcp.secretmanager.getSecretVersion

type GetSecretVersionResultOutput

type GetSecretVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecretVersion.

func (GetSecretVersionResultOutput) CreateTime

The time at which the Secret was created.

func (GetSecretVersionResultOutput) DestroyTime

The time at which the Secret was destroyed. Only present if state is DESTROYED.

func (GetSecretVersionResultOutput) ElementType

func (GetSecretVersionResultOutput) Enabled

True if the current state of the SecretVersion is enabled.

func (GetSecretVersionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSecretVersionResultOutput) Name

The resource name of the SecretVersion. Format: `projects/{{project}}/secrets/{{secret_id}}/versions/{{version}}`

func (GetSecretVersionResultOutput) Project

func (GetSecretVersionResultOutput) Secret

func (GetSecretVersionResultOutput) SecretData

The secret data. No larger than 64KiB.

func (GetSecretVersionResultOutput) ToGetSecretVersionResultOutput

func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutput() GetSecretVersionResultOutput

func (GetSecretVersionResultOutput) ToGetSecretVersionResultOutputWithContext

func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutputWithContext(ctx context.Context) GetSecretVersionResultOutput

func (GetSecretVersionResultOutput) ToOutput added in v6.65.1

func (GetSecretVersionResultOutput) Version

type GetUptimeCheckIPsResult

type GetUptimeCheckIPsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of uptime check IPs used by Stackdriver Monitoring. Each `uptimeCheckIp` contains:
	UptimeCheckIps []GetUptimeCheckIPsUptimeCheckIp `pulumi:"uptimeCheckIps"`
}

A collection of values returned by getUptimeCheckIPs.

func GetUptimeCheckIPs

func GetUptimeCheckIPs(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetUptimeCheckIPsResult, error)

Returns the list of IP addresses that checkers run from. For more information see the [official documentation](https://cloud.google.com/monitoring/uptime-checks#get-ips).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		ips, err := monitoring.GetUptimeCheckIPs(ctx, nil, nil)
		if err != nil {
			return err
		}
		ctx.Export("ipList", ips.UptimeCheckIps)
		return nil
	})
}

```

type GetUptimeCheckIPsResultOutput added in v6.67.1

type GetUptimeCheckIPsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getUptimeCheckIPs.

func GetUptimeCheckIPsOutput added in v6.67.1

func GetUptimeCheckIPsOutput(ctx *pulumi.Context, opts ...pulumi.InvokeOption) GetUptimeCheckIPsResultOutput

func (GetUptimeCheckIPsResultOutput) ElementType added in v6.67.1

func (GetUptimeCheckIPsResultOutput) Id added in v6.67.1

The provider-assigned unique ID for this managed resource.

func (GetUptimeCheckIPsResultOutput) ToGetUptimeCheckIPsResultOutput added in v6.67.1

func (o GetUptimeCheckIPsResultOutput) ToGetUptimeCheckIPsResultOutput() GetUptimeCheckIPsResultOutput

func (GetUptimeCheckIPsResultOutput) ToGetUptimeCheckIPsResultOutputWithContext added in v6.67.1

func (o GetUptimeCheckIPsResultOutput) ToGetUptimeCheckIPsResultOutputWithContext(ctx context.Context) GetUptimeCheckIPsResultOutput

func (GetUptimeCheckIPsResultOutput) ToOutput added in v6.67.1

func (GetUptimeCheckIPsResultOutput) UptimeCheckIps added in v6.67.1

A list of uptime check IPs used by Stackdriver Monitoring. Each `uptimeCheckIp` contains:

type GetUptimeCheckIPsUptimeCheckIp

type GetUptimeCheckIPsUptimeCheckIp struct {
	// The IP address from which the Uptime check originates. This is a fully specified IP address
	// (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not
	// rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either
	// IPv4 or IPv6 format.
	IpAddress string `pulumi:"ipAddress"`
	// A more specific location within the region that typically encodes a particular city/town/metro
	// (and its containing state/province or country) within the broader umbrella region category.
	Location string `pulumi:"location"`
	// A broad region category in which the IP address is located.
	Region string `pulumi:"region"`
}

type GetUptimeCheckIPsUptimeCheckIpArgs

type GetUptimeCheckIPsUptimeCheckIpArgs struct {
	// The IP address from which the Uptime check originates. This is a fully specified IP address
	// (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not
	// rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either
	// IPv4 or IPv6 format.
	IpAddress pulumi.StringInput `pulumi:"ipAddress"`
	// A more specific location within the region that typically encodes a particular city/town/metro
	// (and its containing state/province or country) within the broader umbrella region category.
	Location pulumi.StringInput `pulumi:"location"`
	// A broad region category in which the IP address is located.
	Region pulumi.StringInput `pulumi:"region"`
}

func (GetUptimeCheckIPsUptimeCheckIpArgs) ElementType

func (GetUptimeCheckIPsUptimeCheckIpArgs) ToGetUptimeCheckIPsUptimeCheckIpOutput

func (i GetUptimeCheckIPsUptimeCheckIpArgs) ToGetUptimeCheckIPsUptimeCheckIpOutput() GetUptimeCheckIPsUptimeCheckIpOutput

func (GetUptimeCheckIPsUptimeCheckIpArgs) ToGetUptimeCheckIPsUptimeCheckIpOutputWithContext

func (i GetUptimeCheckIPsUptimeCheckIpArgs) ToGetUptimeCheckIPsUptimeCheckIpOutputWithContext(ctx context.Context) GetUptimeCheckIPsUptimeCheckIpOutput

func (GetUptimeCheckIPsUptimeCheckIpArgs) ToOutput added in v6.65.1

type GetUptimeCheckIPsUptimeCheckIpArray

type GetUptimeCheckIPsUptimeCheckIpArray []GetUptimeCheckIPsUptimeCheckIpInput

func (GetUptimeCheckIPsUptimeCheckIpArray) ElementType

func (GetUptimeCheckIPsUptimeCheckIpArray) ToGetUptimeCheckIPsUptimeCheckIpArrayOutput

func (i GetUptimeCheckIPsUptimeCheckIpArray) ToGetUptimeCheckIPsUptimeCheckIpArrayOutput() GetUptimeCheckIPsUptimeCheckIpArrayOutput

func (GetUptimeCheckIPsUptimeCheckIpArray) ToGetUptimeCheckIPsUptimeCheckIpArrayOutputWithContext

func (i GetUptimeCheckIPsUptimeCheckIpArray) ToGetUptimeCheckIPsUptimeCheckIpArrayOutputWithContext(ctx context.Context) GetUptimeCheckIPsUptimeCheckIpArrayOutput

func (GetUptimeCheckIPsUptimeCheckIpArray) ToOutput added in v6.65.1

type GetUptimeCheckIPsUptimeCheckIpArrayInput

type GetUptimeCheckIPsUptimeCheckIpArrayInput interface {
	pulumi.Input

	ToGetUptimeCheckIPsUptimeCheckIpArrayOutput() GetUptimeCheckIPsUptimeCheckIpArrayOutput
	ToGetUptimeCheckIPsUptimeCheckIpArrayOutputWithContext(context.Context) GetUptimeCheckIPsUptimeCheckIpArrayOutput
}

GetUptimeCheckIPsUptimeCheckIpArrayInput is an input type that accepts GetUptimeCheckIPsUptimeCheckIpArray and GetUptimeCheckIPsUptimeCheckIpArrayOutput values. You can construct a concrete instance of `GetUptimeCheckIPsUptimeCheckIpArrayInput` via:

GetUptimeCheckIPsUptimeCheckIpArray{ GetUptimeCheckIPsUptimeCheckIpArgs{...} }

type GetUptimeCheckIPsUptimeCheckIpArrayOutput

type GetUptimeCheckIPsUptimeCheckIpArrayOutput struct{ *pulumi.OutputState }

func (GetUptimeCheckIPsUptimeCheckIpArrayOutput) ElementType

func (GetUptimeCheckIPsUptimeCheckIpArrayOutput) Index

func (GetUptimeCheckIPsUptimeCheckIpArrayOutput) ToGetUptimeCheckIPsUptimeCheckIpArrayOutput

func (o GetUptimeCheckIPsUptimeCheckIpArrayOutput) ToGetUptimeCheckIPsUptimeCheckIpArrayOutput() GetUptimeCheckIPsUptimeCheckIpArrayOutput

func (GetUptimeCheckIPsUptimeCheckIpArrayOutput) ToGetUptimeCheckIPsUptimeCheckIpArrayOutputWithContext

func (o GetUptimeCheckIPsUptimeCheckIpArrayOutput) ToGetUptimeCheckIPsUptimeCheckIpArrayOutputWithContext(ctx context.Context) GetUptimeCheckIPsUptimeCheckIpArrayOutput

func (GetUptimeCheckIPsUptimeCheckIpArrayOutput) ToOutput added in v6.65.1

type GetUptimeCheckIPsUptimeCheckIpInput

type GetUptimeCheckIPsUptimeCheckIpInput interface {
	pulumi.Input

	ToGetUptimeCheckIPsUptimeCheckIpOutput() GetUptimeCheckIPsUptimeCheckIpOutput
	ToGetUptimeCheckIPsUptimeCheckIpOutputWithContext(context.Context) GetUptimeCheckIPsUptimeCheckIpOutput
}

GetUptimeCheckIPsUptimeCheckIpInput is an input type that accepts GetUptimeCheckIPsUptimeCheckIpArgs and GetUptimeCheckIPsUptimeCheckIpOutput values. You can construct a concrete instance of `GetUptimeCheckIPsUptimeCheckIpInput` via:

GetUptimeCheckIPsUptimeCheckIpArgs{...}

type GetUptimeCheckIPsUptimeCheckIpOutput

type GetUptimeCheckIPsUptimeCheckIpOutput struct{ *pulumi.OutputState }

func (GetUptimeCheckIPsUptimeCheckIpOutput) ElementType

func (GetUptimeCheckIPsUptimeCheckIpOutput) IpAddress

The IP address from which the Uptime check originates. This is a fully specified IP address (not an IP address range). Most IP addresses, as of this publication, are in IPv4 format; however, one should not rely on the IP addresses being in IPv4 format indefinitely, and should support interpreting this field in either IPv4 or IPv6 format.

func (GetUptimeCheckIPsUptimeCheckIpOutput) Location

A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.

func (GetUptimeCheckIPsUptimeCheckIpOutput) Region

A broad region category in which the IP address is located.

func (GetUptimeCheckIPsUptimeCheckIpOutput) ToGetUptimeCheckIPsUptimeCheckIpOutput

func (o GetUptimeCheckIPsUptimeCheckIpOutput) ToGetUptimeCheckIPsUptimeCheckIpOutput() GetUptimeCheckIPsUptimeCheckIpOutput

func (GetUptimeCheckIPsUptimeCheckIpOutput) ToGetUptimeCheckIPsUptimeCheckIpOutputWithContext

func (o GetUptimeCheckIPsUptimeCheckIpOutput) ToGetUptimeCheckIPsUptimeCheckIpOutputWithContext(ctx context.Context) GetUptimeCheckIPsUptimeCheckIpOutput

func (GetUptimeCheckIPsUptimeCheckIpOutput) ToOutput added in v6.65.1

type Group

type Group struct {
	pulumi.CustomResourceState

	// A user-assigned name for this group, used only for display
	// purposes.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The filter used to determine which monitored resources
	// belong to this group.
	//
	// ***
	Filter pulumi.StringOutput `pulumi:"filter"`
	// If true, the members of this group are considered to be a
	// cluster. The system can perform additional analysis on
	// groups that are clusters.
	IsCluster pulumi.BoolPtrOutput `pulumi:"isCluster"`
	// A unique identifier for this group. The format is
	// "projects/{project_id_or_number}/groups/{group_id}".
	Name pulumi.StringOutput `pulumi:"name"`
	// The name of the group's parent, if it has one. The format is
	// "projects/{project_id_or_number}/groups/{group_id}". For
	// groups with no parent, parentName is the empty string, "".
	ParentName pulumi.StringPtrOutput `pulumi:"parentName"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
}

The description of a dynamic collection of monitored resources. Each group has a filter that is matched against monitored resources and their associated metadata. If a group's filter matches an available monitored resource, then that resource is a member of that group.

To get more information about Group, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.groups) * How-to Guides

## Example Usage ### Monitoring Group Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewGroup(ctx, "basic", &monitoring.GroupArgs{
			DisplayName: pulumi.String("tf-test MonitoringGroup"),
			Filter:      pulumi.String("resource.metadata.region=\"europe-west2\""),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Group Subgroup

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		parent, err := monitoring.NewGroup(ctx, "parent", &monitoring.GroupArgs{
			DisplayName: pulumi.String("tf-test MonitoringParentGroup"),
			Filter:      pulumi.String("resource.metadata.region=\"europe-west2\""),
		})
		if err != nil {
			return err
		}
		_, err = monitoring.NewGroup(ctx, "subgroup", &monitoring.GroupArgs{
			DisplayName: pulumi.String("tf-test MonitoringSubGroup"),
			Filter:      pulumi.String("resource.metadata.region=\"europe-west2\""),
			ParentName:  parent.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Group can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:monitoring/group:Group default {{name}}

```

func GetGroup

func GetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *GroupState, opts ...pulumi.ResourceOption) (*Group, error)

GetGroup gets an existing Group resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewGroup

func NewGroup(ctx *pulumi.Context,
	name string, args *GroupArgs, opts ...pulumi.ResourceOption) (*Group, error)

NewGroup registers a new resource with the given unique name, arguments, and options.

func (*Group) ElementType

func (*Group) ElementType() reflect.Type

func (*Group) ToGroupOutput

func (i *Group) ToGroupOutput() GroupOutput

func (*Group) ToGroupOutputWithContext

func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (*Group) ToOutput added in v6.65.1

func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group]

type GroupArgs

type GroupArgs struct {
	// A user-assigned name for this group, used only for display
	// purposes.
	DisplayName pulumi.StringInput
	// The filter used to determine which monitored resources
	// belong to this group.
	//
	// ***
	Filter pulumi.StringInput
	// If true, the members of this group are considered to be a
	// cluster. The system can perform additional analysis on
	// groups that are clusters.
	IsCluster pulumi.BoolPtrInput
	// The name of the group's parent, if it has one. The format is
	// "projects/{project_id_or_number}/groups/{group_id}". For
	// groups with no parent, parentName is the empty string, "".
	ParentName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Group resource.

func (GroupArgs) ElementType

func (GroupArgs) ElementType() reflect.Type

type GroupArray

type GroupArray []GroupInput

func (GroupArray) ElementType

func (GroupArray) ElementType() reflect.Type

func (GroupArray) ToGroupArrayOutput

func (i GroupArray) ToGroupArrayOutput() GroupArrayOutput

func (GroupArray) ToGroupArrayOutputWithContext

func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

func (GroupArray) ToOutput added in v6.65.1

func (i GroupArray) ToOutput(ctx context.Context) pulumix.Output[[]*Group]

type GroupArrayInput

type GroupArrayInput interface {
	pulumi.Input

	ToGroupArrayOutput() GroupArrayOutput
	ToGroupArrayOutputWithContext(context.Context) GroupArrayOutput
}

GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. You can construct a concrete instance of `GroupArrayInput` via:

GroupArray{ GroupArgs{...} }

type GroupArrayOutput

type GroupArrayOutput struct{ *pulumi.OutputState }

func (GroupArrayOutput) ElementType

func (GroupArrayOutput) ElementType() reflect.Type

func (GroupArrayOutput) Index

func (GroupArrayOutput) ToGroupArrayOutput

func (o GroupArrayOutput) ToGroupArrayOutput() GroupArrayOutput

func (GroupArrayOutput) ToGroupArrayOutputWithContext

func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) GroupArrayOutput

func (GroupArrayOutput) ToOutput added in v6.65.1

func (o GroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Group]

type GroupInput

type GroupInput interface {
	pulumi.Input

	ToGroupOutput() GroupOutput
	ToGroupOutputWithContext(ctx context.Context) GroupOutput
}

type GroupMap

type GroupMap map[string]GroupInput

func (GroupMap) ElementType

func (GroupMap) ElementType() reflect.Type

func (GroupMap) ToGroupMapOutput

func (i GroupMap) ToGroupMapOutput() GroupMapOutput

func (GroupMap) ToGroupMapOutputWithContext

func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

func (GroupMap) ToOutput added in v6.65.1

func (i GroupMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Group]

type GroupMapInput

type GroupMapInput interface {
	pulumi.Input

	ToGroupMapOutput() GroupMapOutput
	ToGroupMapOutputWithContext(context.Context) GroupMapOutput
}

GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. You can construct a concrete instance of `GroupMapInput` via:

GroupMap{ "key": GroupArgs{...} }

type GroupMapOutput

type GroupMapOutput struct{ *pulumi.OutputState }

func (GroupMapOutput) ElementType

func (GroupMapOutput) ElementType() reflect.Type

func (GroupMapOutput) MapIndex

func (GroupMapOutput) ToGroupMapOutput

func (o GroupMapOutput) ToGroupMapOutput() GroupMapOutput

func (GroupMapOutput) ToGroupMapOutputWithContext

func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutput

func (GroupMapOutput) ToOutput added in v6.65.1

func (o GroupMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Group]

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) DisplayName added in v6.23.0

func (o GroupOutput) DisplayName() pulumi.StringOutput

A user-assigned name for this group, used only for display purposes.

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) Filter added in v6.23.0

func (o GroupOutput) Filter() pulumi.StringOutput

The filter used to determine which monitored resources belong to this group.

***

func (GroupOutput) IsCluster added in v6.23.0

func (o GroupOutput) IsCluster() pulumi.BoolPtrOutput

If true, the members of this group are considered to be a cluster. The system can perform additional analysis on groups that are clusters.

func (GroupOutput) Name added in v6.23.0

func (o GroupOutput) Name() pulumi.StringOutput

A unique identifier for this group. The format is "projects/{project_id_or_number}/groups/{group_id}".

func (GroupOutput) ParentName added in v6.23.0

func (o GroupOutput) ParentName() pulumi.StringPtrOutput

The name of the group's parent, if it has one. The format is "projects/{project_id_or_number}/groups/{group_id}". For groups with no parent, parentName is the empty string, "".

func (GroupOutput) Project added in v6.23.0

func (o GroupOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput

func (GroupOutput) ToOutput added in v6.65.1

func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group]

type GroupState

type GroupState struct {
	// A user-assigned name for this group, used only for display
	// purposes.
	DisplayName pulumi.StringPtrInput
	// The filter used to determine which monitored resources
	// belong to this group.
	//
	// ***
	Filter pulumi.StringPtrInput
	// If true, the members of this group are considered to be a
	// cluster. The system can perform additional analysis on
	// groups that are clusters.
	IsCluster pulumi.BoolPtrInput
	// A unique identifier for this group. The format is
	// "projects/{project_id_or_number}/groups/{group_id}".
	Name pulumi.StringPtrInput
	// The name of the group's parent, if it has one. The format is
	// "projects/{project_id_or_number}/groups/{group_id}". For
	// groups with no parent, parentName is the empty string, "".
	ParentName pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

func (GroupState) ElementType

func (GroupState) ElementType() reflect.Type

type LookupNotificationChannelArgs

type LookupNotificationChannelArgs struct {
	// The display name for this notification channel.
	DisplayName *string `pulumi:"displayName"`
	// Labels (corresponding to the
	// NotificationChannelDescriptor schema) to filter the notification channels by.
	Labels map[string]string `pulumi:"labels"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project *string `pulumi:"project"`
	// The type of the notification channel.
	//
	// ***
	//
	// Other optional fields include:
	Type *string `pulumi:"type"`
	// User-provided key-value labels to filter by.
	UserLabels map[string]string `pulumi:"userLabels"`
}

A collection of arguments for invoking getNotificationChannel.

type LookupNotificationChannelOutputArgs

type LookupNotificationChannelOutputArgs struct {
	// The display name for this notification channel.
	DisplayName pulumi.StringPtrInput `pulumi:"displayName"`
	// Labels (corresponding to the
	// NotificationChannelDescriptor schema) to filter the notification channels by.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
	// The type of the notification channel.
	//
	// ***
	//
	// Other optional fields include:
	Type pulumi.StringPtrInput `pulumi:"type"`
	// User-provided key-value labels to filter by.
	UserLabels pulumi.StringMapInput `pulumi:"userLabels"`
}

A collection of arguments for invoking getNotificationChannel.

func (LookupNotificationChannelOutputArgs) ElementType

type LookupNotificationChannelResult

type LookupNotificationChannelResult struct {
	// An optional human-readable description of this notification channel.
	Description string  `pulumi:"description"`
	DisplayName *string `pulumi:"displayName"`
	// Whether notifications are forwarded to the described channel.
	Enabled     bool `pulumi:"enabled"`
	ForceDelete bool `pulumi:"forceDelete"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Configuration fields that define the channel and its behavior.
	Labels map[string]string `pulumi:"labels"`
	// The full REST resource name for this channel. The syntax is:
	// `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.
	Name            string                                 `pulumi:"name"`
	Project         *string                                `pulumi:"project"`
	SensitiveLabels []GetNotificationChannelSensitiveLabel `pulumi:"sensitiveLabels"`
	Type            *string                                `pulumi:"type"`
	// User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field.
	UserLabels map[string]string `pulumi:"userLabels"`
	// Indicates whether this channel has been verified or not.
	VerificationStatus string `pulumi:"verificationStatus"`
}

A collection of values returned by getNotificationChannel.

func LookupNotificationChannel

func LookupNotificationChannel(ctx *pulumi.Context, args *LookupNotificationChannelArgs, opts ...pulumi.InvokeOption) (*LookupNotificationChannelResult, error)

A NotificationChannel is a medium through which an alert is delivered when a policy violation is detected. Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval.

To get more information about NotificationChannel, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels) * How-to Guides

## Example Usage ### Notification Channel Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		basic, err := monitoring.LookupNotificationChannel(ctx, &monitoring.LookupNotificationChannelArgs{
			DisplayName: pulumi.StringRef("Test Notification Channel"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = monitoring.NewAlertPolicy(ctx, "alertPolicy", &monitoring.AlertPolicyArgs{
			DisplayName: pulumi.String("My Alert Policy"),
			NotificationChannels: pulumi.StringArray{
				*pulumi.String(basic.Name),
			},
			Combiner: pulumi.String("OR"),
			Conditions: monitoring.AlertPolicyConditionArray{
				&monitoring.AlertPolicyConditionArgs{
					DisplayName: pulumi.String("test condition"),
					ConditionThreshold: &monitoring.AlertPolicyConditionConditionThresholdArgs{
						Filter:     pulumi.String("metric.type=\"compute.googleapis.com/instance/disk/write_bytes_count\" AND resource.type=\"gce_instance\""),
						Duration:   pulumi.String("60s"),
						Comparison: pulumi.String("COMPARISON_GT"),
						Aggregations: monitoring.AlertPolicyConditionConditionThresholdAggregationArray{
							&monitoring.AlertPolicyConditionConditionThresholdAggregationArgs{
								AlignmentPeriod:  pulumi.String("60s"),
								PerSeriesAligner: pulumi.String("ALIGN_RATE"),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupNotificationChannelResultOutput

type LookupNotificationChannelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNotificationChannel.

func (LookupNotificationChannelResultOutput) Description

An optional human-readable description of this notification channel.

func (LookupNotificationChannelResultOutput) DisplayName

func (LookupNotificationChannelResultOutput) ElementType

func (LookupNotificationChannelResultOutput) Enabled

Whether notifications are forwarded to the described channel.

func (LookupNotificationChannelResultOutput) ForceDelete added in v6.38.0

func (LookupNotificationChannelResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupNotificationChannelResultOutput) Labels

Configuration fields that define the channel and its behavior.

func (LookupNotificationChannelResultOutput) Name

The full REST resource name for this channel. The syntax is: `projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]`.

func (LookupNotificationChannelResultOutput) Project

func (LookupNotificationChannelResultOutput) SensitiveLabels

func (LookupNotificationChannelResultOutput) ToLookupNotificationChannelResultOutput

func (o LookupNotificationChannelResultOutput) ToLookupNotificationChannelResultOutput() LookupNotificationChannelResultOutput

func (LookupNotificationChannelResultOutput) ToLookupNotificationChannelResultOutputWithContext

func (o LookupNotificationChannelResultOutput) ToLookupNotificationChannelResultOutputWithContext(ctx context.Context) LookupNotificationChannelResultOutput

func (LookupNotificationChannelResultOutput) ToOutput added in v6.65.1

func (LookupNotificationChannelResultOutput) Type

func (LookupNotificationChannelResultOutput) UserLabels

User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field.

func (LookupNotificationChannelResultOutput) VerificationStatus

Indicates whether this channel has been verified or not.

type MetricDescriptor

type MetricDescriptor struct {
	pulumi.CustomResourceState

	// A detailed description of the metric, which can be used in documentation.
	Description pulumi.StringOutput `pulumi:"description"`
	// A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
	//
	// ***
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
	// Structure is documented below.
	Labels MetricDescriptorLabelArrayOutput `pulumi:"labels"`
	// The launch stage of the metric definition.
	// Possible values are: `LAUNCH_STAGE_UNSPECIFIED`, `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringPtrOutput `pulumi:"launchStage"`
	// Metadata which can be used to guide usage of the metric.
	// Structure is documented below.
	Metadata MetricDescriptorMetadataPtrOutput `pulumi:"metadata"`
	// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported.
	// Possible values are: `METRIC_KIND_UNSPECIFIED`, `GAUGE`, `DELTA`, `CUMULATIVE`.
	MetricKind pulumi.StringOutput `pulumi:"metricKind"`
	// If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. This field allows time series to be associated with the intersection of this metric type and the monitored resource types in this list.
	MonitoredResourceTypes pulumi.StringArrayOutput `pulumi:"monitoredResourceTypes"`
	// The resource name of the metric descriptor.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The metric type, including its DNS name prefix. The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relativeMetricName is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/.
	Type pulumi.StringOutput `pulumi:"type"`
	// The units in which the metric value is reported. It is only applicable if the
	// valueType is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of
	// the stored metric values.
	// Different systems may scale the values to be more easily displayed (so a value of
	// 0.02KBy might be displayed as 20By, and a value of 3523KBy might be displayed as
	// 3.5MBy). However, if the unit is KBy, then the value of the metric is always in
	// thousands of bytes, no matter how it may be displayed.
	// If you want a custom metric to record the exact number of CPU-seconds used by a job,
	// you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently
	// 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as
	// 12005.
	// Alternatively, if you want a custom metric to record data in a more granular way, you
	// can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value
	// 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).
	// The supported units are a subset of The Unified Code for Units of Measure standard.
	// More info can be found in the API documentation
	// (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
	Unit pulumi.StringPtrOutput `pulumi:"unit"`
	// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
	// Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
	ValueType pulumi.StringOutput `pulumi:"valueType"`
}

Defines a metric type and its schema. Once a metric descriptor is created, deleting or altering it stops data collection and makes the metric type's existing data unusable.

To get more information about MetricDescriptor, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) * How-to Guides

## Example Usage ### Monitoring Metric Descriptor Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewMetricDescriptor(ctx, "basic", &monitoring.MetricDescriptorArgs{
			Description: pulumi.String("Daily sales records from all branch stores."),
			DisplayName: pulumi.String("metric-descriptor"),
			Labels: monitoring.MetricDescriptorLabelArray{
				&monitoring.MetricDescriptorLabelArgs{
					Description: pulumi.String("The ID of the store."),
					Key:         pulumi.String("store_id"),
					ValueType:   pulumi.String("STRING"),
				},
			},
			LaunchStage: pulumi.String("BETA"),
			Metadata: &monitoring.MetricDescriptorMetadataArgs{
				IngestDelay:  pulumi.String("30s"),
				SamplePeriod: pulumi.String("60s"),
			},
			MetricKind: pulumi.String("GAUGE"),
			Type:       pulumi.String("custom.googleapis.com/stores/daily_sales"),
			Unit:       pulumi.String("{USD}"),
			ValueType:  pulumi.String("DOUBLE"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Metric Descriptor Alert

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		withAlert, err := monitoring.NewMetricDescriptor(ctx, "withAlert", &monitoring.MetricDescriptorArgs{
			Description: pulumi.String("Daily sales records from all branch stores."),
			DisplayName: pulumi.String("metric-descriptor"),
			MetricKind:  pulumi.String("GAUGE"),
			Type:        pulumi.String("custom.googleapis.com/stores/daily_sales"),
			Unit:        pulumi.String("{USD}"),
			ValueType:   pulumi.String("DOUBLE"),
		})
		if err != nil {
			return err
		}
		_, err = monitoring.NewAlertPolicy(ctx, "alertPolicy", &monitoring.AlertPolicyArgs{
			Combiner: pulumi.String("OR"),
			Conditions: monitoring.AlertPolicyConditionArray{
				&monitoring.AlertPolicyConditionArgs{
					ConditionThreshold: &monitoring.AlertPolicyConditionConditionThresholdArgs{
						Comparison: pulumi.String("COMPARISON_GT"),
						Duration:   pulumi.String("60s"),
						Filter: withAlert.Type.ApplyT(func(_type string) (string, error) {
							return fmt.Sprintf("metric.type=\"%v\" AND resource.type=\"gce_instance\"", _type), nil
						}).(pulumi.StringOutput),
					},
					DisplayName: pulumi.String("test condition"),
				},
			},
			DisplayName: pulumi.String("metric-descriptor"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MetricDescriptor can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:monitoring/metricDescriptor:MetricDescriptor default {{name}}

```

func GetMetricDescriptor

func GetMetricDescriptor(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MetricDescriptorState, opts ...pulumi.ResourceOption) (*MetricDescriptor, error)

GetMetricDescriptor gets an existing MetricDescriptor resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMetricDescriptor

func NewMetricDescriptor(ctx *pulumi.Context,
	name string, args *MetricDescriptorArgs, opts ...pulumi.ResourceOption) (*MetricDescriptor, error)

NewMetricDescriptor registers a new resource with the given unique name, arguments, and options.

func (*MetricDescriptor) ElementType

func (*MetricDescriptor) ElementType() reflect.Type

func (*MetricDescriptor) ToMetricDescriptorOutput

func (i *MetricDescriptor) ToMetricDescriptorOutput() MetricDescriptorOutput

func (*MetricDescriptor) ToMetricDescriptorOutputWithContext

func (i *MetricDescriptor) ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput

func (*MetricDescriptor) ToOutput added in v6.65.1

type MetricDescriptorArgs

type MetricDescriptorArgs struct {
	// A detailed description of the metric, which can be used in documentation.
	Description pulumi.StringInput
	// A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
	//
	// ***
	DisplayName pulumi.StringInput
	// The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
	// Structure is documented below.
	Labels MetricDescriptorLabelArrayInput
	// The launch stage of the metric definition.
	// Possible values are: `LAUNCH_STAGE_UNSPECIFIED`, `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringPtrInput
	// Metadata which can be used to guide usage of the metric.
	// Structure is documented below.
	Metadata MetricDescriptorMetadataPtrInput
	// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported.
	// Possible values are: `METRIC_KIND_UNSPECIFIED`, `GAUGE`, `DELTA`, `CUMULATIVE`.
	MetricKind pulumi.StringInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The metric type, including its DNS name prefix. The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relativeMetricName is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/.
	Type pulumi.StringInput
	// The units in which the metric value is reported. It is only applicable if the
	// valueType is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of
	// the stored metric values.
	// Different systems may scale the values to be more easily displayed (so a value of
	// 0.02KBy might be displayed as 20By, and a value of 3523KBy might be displayed as
	// 3.5MBy). However, if the unit is KBy, then the value of the metric is always in
	// thousands of bytes, no matter how it may be displayed.
	// If you want a custom metric to record the exact number of CPU-seconds used by a job,
	// you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently
	// 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as
	// 12005.
	// Alternatively, if you want a custom metric to record data in a more granular way, you
	// can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value
	// 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).
	// The supported units are a subset of The Unified Code for Units of Measure standard.
	// More info can be found in the API documentation
	// (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
	Unit pulumi.StringPtrInput
	// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
	// Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
	ValueType pulumi.StringInput
}

The set of arguments for constructing a MetricDescriptor resource.

func (MetricDescriptorArgs) ElementType

func (MetricDescriptorArgs) ElementType() reflect.Type

type MetricDescriptorArray

type MetricDescriptorArray []MetricDescriptorInput

func (MetricDescriptorArray) ElementType

func (MetricDescriptorArray) ElementType() reflect.Type

func (MetricDescriptorArray) ToMetricDescriptorArrayOutput

func (i MetricDescriptorArray) ToMetricDescriptorArrayOutput() MetricDescriptorArrayOutput

func (MetricDescriptorArray) ToMetricDescriptorArrayOutputWithContext

func (i MetricDescriptorArray) ToMetricDescriptorArrayOutputWithContext(ctx context.Context) MetricDescriptorArrayOutput

func (MetricDescriptorArray) ToOutput added in v6.65.1

type MetricDescriptorArrayInput

type MetricDescriptorArrayInput interface {
	pulumi.Input

	ToMetricDescriptorArrayOutput() MetricDescriptorArrayOutput
	ToMetricDescriptorArrayOutputWithContext(context.Context) MetricDescriptorArrayOutput
}

MetricDescriptorArrayInput is an input type that accepts MetricDescriptorArray and MetricDescriptorArrayOutput values. You can construct a concrete instance of `MetricDescriptorArrayInput` via:

MetricDescriptorArray{ MetricDescriptorArgs{...} }

type MetricDescriptorArrayOutput

type MetricDescriptorArrayOutput struct{ *pulumi.OutputState }

func (MetricDescriptorArrayOutput) ElementType

func (MetricDescriptorArrayOutput) Index

func (MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutput

func (o MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutput() MetricDescriptorArrayOutput

func (MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutputWithContext

func (o MetricDescriptorArrayOutput) ToMetricDescriptorArrayOutputWithContext(ctx context.Context) MetricDescriptorArrayOutput

func (MetricDescriptorArrayOutput) ToOutput added in v6.65.1

type MetricDescriptorInput

type MetricDescriptorInput interface {
	pulumi.Input

	ToMetricDescriptorOutput() MetricDescriptorOutput
	ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput
}

type MetricDescriptorLabel

type MetricDescriptorLabel struct {
	// A human-readable description for the label.
	Description *string `pulumi:"description"`
	// The key for this label. The key must not exceed 100 characters. The first character of the key must be an upper- or lower-case letter, the remaining characters must be letters, digits or underscores, and the key must match the regular expression [a-zA-Z][a-zA-Z0-9_]*
	Key string `pulumi:"key"`
	// The type of data that can be assigned to the label.
	// Default value is `STRING`.
	// Possible values are: `STRING`, `BOOL`, `INT64`.
	ValueType *string `pulumi:"valueType"`
}

type MetricDescriptorLabelArgs

type MetricDescriptorLabelArgs struct {
	// A human-readable description for the label.
	Description pulumi.StringPtrInput `pulumi:"description"`
	// The key for this label. The key must not exceed 100 characters. The first character of the key must be an upper- or lower-case letter, the remaining characters must be letters, digits or underscores, and the key must match the regular expression [a-zA-Z][a-zA-Z0-9_]*
	Key pulumi.StringInput `pulumi:"key"`
	// The type of data that can be assigned to the label.
	// Default value is `STRING`.
	// Possible values are: `STRING`, `BOOL`, `INT64`.
	ValueType pulumi.StringPtrInput `pulumi:"valueType"`
}

func (MetricDescriptorLabelArgs) ElementType

func (MetricDescriptorLabelArgs) ElementType() reflect.Type

func (MetricDescriptorLabelArgs) ToMetricDescriptorLabelOutput

func (i MetricDescriptorLabelArgs) ToMetricDescriptorLabelOutput() MetricDescriptorLabelOutput

func (MetricDescriptorLabelArgs) ToMetricDescriptorLabelOutputWithContext

func (i MetricDescriptorLabelArgs) ToMetricDescriptorLabelOutputWithContext(ctx context.Context) MetricDescriptorLabelOutput

func (MetricDescriptorLabelArgs) ToOutput added in v6.65.1

type MetricDescriptorLabelArray

type MetricDescriptorLabelArray []MetricDescriptorLabelInput

func (MetricDescriptorLabelArray) ElementType

func (MetricDescriptorLabelArray) ElementType() reflect.Type

func (MetricDescriptorLabelArray) ToMetricDescriptorLabelArrayOutput

func (i MetricDescriptorLabelArray) ToMetricDescriptorLabelArrayOutput() MetricDescriptorLabelArrayOutput

func (MetricDescriptorLabelArray) ToMetricDescriptorLabelArrayOutputWithContext

func (i MetricDescriptorLabelArray) ToMetricDescriptorLabelArrayOutputWithContext(ctx context.Context) MetricDescriptorLabelArrayOutput

func (MetricDescriptorLabelArray) ToOutput added in v6.65.1

type MetricDescriptorLabelArrayInput

type MetricDescriptorLabelArrayInput interface {
	pulumi.Input

	ToMetricDescriptorLabelArrayOutput() MetricDescriptorLabelArrayOutput
	ToMetricDescriptorLabelArrayOutputWithContext(context.Context) MetricDescriptorLabelArrayOutput
}

MetricDescriptorLabelArrayInput is an input type that accepts MetricDescriptorLabelArray and MetricDescriptorLabelArrayOutput values. You can construct a concrete instance of `MetricDescriptorLabelArrayInput` via:

MetricDescriptorLabelArray{ MetricDescriptorLabelArgs{...} }

type MetricDescriptorLabelArrayOutput

type MetricDescriptorLabelArrayOutput struct{ *pulumi.OutputState }

func (MetricDescriptorLabelArrayOutput) ElementType

func (MetricDescriptorLabelArrayOutput) Index

func (MetricDescriptorLabelArrayOutput) ToMetricDescriptorLabelArrayOutput

func (o MetricDescriptorLabelArrayOutput) ToMetricDescriptorLabelArrayOutput() MetricDescriptorLabelArrayOutput

func (MetricDescriptorLabelArrayOutput) ToMetricDescriptorLabelArrayOutputWithContext

func (o MetricDescriptorLabelArrayOutput) ToMetricDescriptorLabelArrayOutputWithContext(ctx context.Context) MetricDescriptorLabelArrayOutput

func (MetricDescriptorLabelArrayOutput) ToOutput added in v6.65.1

type MetricDescriptorLabelInput

type MetricDescriptorLabelInput interface {
	pulumi.Input

	ToMetricDescriptorLabelOutput() MetricDescriptorLabelOutput
	ToMetricDescriptorLabelOutputWithContext(context.Context) MetricDescriptorLabelOutput
}

MetricDescriptorLabelInput is an input type that accepts MetricDescriptorLabelArgs and MetricDescriptorLabelOutput values. You can construct a concrete instance of `MetricDescriptorLabelInput` via:

MetricDescriptorLabelArgs{...}

type MetricDescriptorLabelOutput

type MetricDescriptorLabelOutput struct{ *pulumi.OutputState }

func (MetricDescriptorLabelOutput) Description

A human-readable description for the label.

func (MetricDescriptorLabelOutput) ElementType

func (MetricDescriptorLabelOutput) Key

The key for this label. The key must not exceed 100 characters. The first character of the key must be an upper- or lower-case letter, the remaining characters must be letters, digits or underscores, and the key must match the regular expression [a-zA-Z][a-zA-Z0-9_]*

func (MetricDescriptorLabelOutput) ToMetricDescriptorLabelOutput

func (o MetricDescriptorLabelOutput) ToMetricDescriptorLabelOutput() MetricDescriptorLabelOutput

func (MetricDescriptorLabelOutput) ToMetricDescriptorLabelOutputWithContext

func (o MetricDescriptorLabelOutput) ToMetricDescriptorLabelOutputWithContext(ctx context.Context) MetricDescriptorLabelOutput

func (MetricDescriptorLabelOutput) ToOutput added in v6.65.1

func (MetricDescriptorLabelOutput) ValueType

The type of data that can be assigned to the label. Default value is `STRING`. Possible values are: `STRING`, `BOOL`, `INT64`.

type MetricDescriptorMap

type MetricDescriptorMap map[string]MetricDescriptorInput

func (MetricDescriptorMap) ElementType

func (MetricDescriptorMap) ElementType() reflect.Type

func (MetricDescriptorMap) ToMetricDescriptorMapOutput

func (i MetricDescriptorMap) ToMetricDescriptorMapOutput() MetricDescriptorMapOutput

func (MetricDescriptorMap) ToMetricDescriptorMapOutputWithContext

func (i MetricDescriptorMap) ToMetricDescriptorMapOutputWithContext(ctx context.Context) MetricDescriptorMapOutput

func (MetricDescriptorMap) ToOutput added in v6.65.1

type MetricDescriptorMapInput

type MetricDescriptorMapInput interface {
	pulumi.Input

	ToMetricDescriptorMapOutput() MetricDescriptorMapOutput
	ToMetricDescriptorMapOutputWithContext(context.Context) MetricDescriptorMapOutput
}

MetricDescriptorMapInput is an input type that accepts MetricDescriptorMap and MetricDescriptorMapOutput values. You can construct a concrete instance of `MetricDescriptorMapInput` via:

MetricDescriptorMap{ "key": MetricDescriptorArgs{...} }

type MetricDescriptorMapOutput

type MetricDescriptorMapOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMapOutput) ElementType

func (MetricDescriptorMapOutput) ElementType() reflect.Type

func (MetricDescriptorMapOutput) MapIndex

func (MetricDescriptorMapOutput) ToMetricDescriptorMapOutput

func (o MetricDescriptorMapOutput) ToMetricDescriptorMapOutput() MetricDescriptorMapOutput

func (MetricDescriptorMapOutput) ToMetricDescriptorMapOutputWithContext

func (o MetricDescriptorMapOutput) ToMetricDescriptorMapOutputWithContext(ctx context.Context) MetricDescriptorMapOutput

func (MetricDescriptorMapOutput) ToOutput added in v6.65.1

type MetricDescriptorMetadata

type MetricDescriptorMetadata struct {
	// The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.
	IngestDelay *string `pulumi:"ingestDelay"`
	// The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.
	SamplePeriod *string `pulumi:"samplePeriod"`
}

type MetricDescriptorMetadataArgs

type MetricDescriptorMetadataArgs struct {
	// The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.
	IngestDelay pulumi.StringPtrInput `pulumi:"ingestDelay"`
	// The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.
	SamplePeriod pulumi.StringPtrInput `pulumi:"samplePeriod"`
}

func (MetricDescriptorMetadataArgs) ElementType

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutput

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContext

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutputWithContext

func (i MetricDescriptorMetadataArgs) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataArgs) ToOutput added in v6.65.1

type MetricDescriptorMetadataInput

type MetricDescriptorMetadataInput interface {
	pulumi.Input

	ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput
	ToMetricDescriptorMetadataOutputWithContext(context.Context) MetricDescriptorMetadataOutput
}

MetricDescriptorMetadataInput is an input type that accepts MetricDescriptorMetadataArgs and MetricDescriptorMetadataOutput values. You can construct a concrete instance of `MetricDescriptorMetadataInput` via:

MetricDescriptorMetadataArgs{...}

type MetricDescriptorMetadataOutput

type MetricDescriptorMetadataOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMetadataOutput) ElementType

func (MetricDescriptorMetadataOutput) IngestDelay

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.

func (MetricDescriptorMetadataOutput) SamplePeriod

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutput

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutput() MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutputWithContext

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataOutputWithContext(ctx context.Context) MetricDescriptorMetadataOutput

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutput

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithContext

func (o MetricDescriptorMetadataOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataOutput) ToOutput added in v6.65.1

type MetricDescriptorMetadataPtrInput

type MetricDescriptorMetadataPtrInput interface {
	pulumi.Input

	ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput
	ToMetricDescriptorMetadataPtrOutputWithContext(context.Context) MetricDescriptorMetadataPtrOutput
}

MetricDescriptorMetadataPtrInput is an input type that accepts MetricDescriptorMetadataArgs, MetricDescriptorMetadataPtr and MetricDescriptorMetadataPtrOutput values. You can construct a concrete instance of `MetricDescriptorMetadataPtrInput` via:

        MetricDescriptorMetadataArgs{...}

or:

        nil

type MetricDescriptorMetadataPtrOutput

type MetricDescriptorMetadataPtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorMetadataPtrOutput) Elem

func (MetricDescriptorMetadataPtrOutput) ElementType

func (MetricDescriptorMetadataPtrOutput) IngestDelay

The delay of data points caused by ingestion. Data points older than this age are guaranteed to be ingested and available to be read, excluding data loss due to errors. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.

func (MetricDescriptorMetadataPtrOutput) SamplePeriod

The sampling period of metric data points. For metrics which are written periodically, consecutive data points are stored at this time interval, excluding data loss due to errors. Metrics with a higher granularity have a smaller sampling period. In `[duration format](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf?&_ga=2.264881487.1507873253.1593446723-935052455.1591817775#google.protobuf.Duration)`.

func (MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutput

func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutput() MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWithContext

func (o MetricDescriptorMetadataPtrOutput) ToMetricDescriptorMetadataPtrOutputWithContext(ctx context.Context) MetricDescriptorMetadataPtrOutput

func (MetricDescriptorMetadataPtrOutput) ToOutput added in v6.65.1

type MetricDescriptorOutput

type MetricDescriptorOutput struct{ *pulumi.OutputState }

func (MetricDescriptorOutput) Description added in v6.23.0

func (o MetricDescriptorOutput) Description() pulumi.StringOutput

A detailed description of the metric, which can be used in documentation.

func (MetricDescriptorOutput) DisplayName added in v6.23.0

func (o MetricDescriptorOutput) DisplayName() pulumi.StringOutput

A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".

***

func (MetricDescriptorOutput) ElementType

func (MetricDescriptorOutput) ElementType() reflect.Type

func (MetricDescriptorOutput) Labels added in v6.23.0

The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels. Structure is documented below.

func (MetricDescriptorOutput) LaunchStage added in v6.23.0

The launch stage of the metric definition. Possible values are: `LAUNCH_STAGE_UNSPECIFIED`, `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.

func (MetricDescriptorOutput) Metadata added in v6.23.0

Metadata which can be used to guide usage of the metric. Structure is documented below.

func (MetricDescriptorOutput) MetricKind added in v6.23.0

Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported. Possible values are: `METRIC_KIND_UNSPECIFIED`, `GAUGE`, `DELTA`, `CUMULATIVE`.

func (MetricDescriptorOutput) MonitoredResourceTypes added in v6.23.0

func (o MetricDescriptorOutput) MonitoredResourceTypes() pulumi.StringArrayOutput

If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. This field allows time series to be associated with the intersection of this metric type and the monitored resource types in this list.

func (MetricDescriptorOutput) Name added in v6.23.0

The resource name of the metric descriptor.

func (MetricDescriptorOutput) Project added in v6.23.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (MetricDescriptorOutput) ToMetricDescriptorOutput

func (o MetricDescriptorOutput) ToMetricDescriptorOutput() MetricDescriptorOutput

func (MetricDescriptorOutput) ToMetricDescriptorOutputWithContext

func (o MetricDescriptorOutput) ToMetricDescriptorOutputWithContext(ctx context.Context) MetricDescriptorOutput

func (MetricDescriptorOutput) ToOutput added in v6.65.1

func (MetricDescriptorOutput) Type added in v6.23.0

The metric type, including its DNS name prefix. The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relativeMetricName is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/.

func (MetricDescriptorOutput) Unit added in v6.23.0

The units in which the metric value is reported. It is only applicable if the valueType is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values. Different systems may scale the values to be more easily displayed (so a value of 0.02KBy might be displayed as 20By, and a value of 3523KBy might be displayed as 3.5MBy). However, if the unit is KBy, then the value of the metric is always in thousands of bytes, no matter how it may be displayed. If you want a custom metric to record the exact number of CPU-seconds used by a job, you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as 12005. Alternatively, if you want a custom metric to record data in a more granular way, you can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024). The supported units are a subset of The Unified Code for Units of Measure standard. More info can be found in the API documentation (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).

func (MetricDescriptorOutput) ValueType added in v6.23.0

Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported. Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.

type MetricDescriptorState

type MetricDescriptorState struct {
	// A detailed description of the metric, which can be used in documentation.
	Description pulumi.StringPtrInput
	// A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
	//
	// ***
	DisplayName pulumi.StringPtrInput
	// The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
	// Structure is documented below.
	Labels MetricDescriptorLabelArrayInput
	// The launch stage of the metric definition.
	// Possible values are: `LAUNCH_STAGE_UNSPECIFIED`, `UNIMPLEMENTED`, `PRELAUNCH`, `EARLY_ACCESS`, `ALPHA`, `BETA`, `GA`, `DEPRECATED`.
	LaunchStage pulumi.StringPtrInput
	// Metadata which can be used to guide usage of the metric.
	// Structure is documented below.
	Metadata MetricDescriptorMetadataPtrInput
	// Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported.
	// Possible values are: `METRIC_KIND_UNSPECIFIED`, `GAUGE`, `DELTA`, `CUMULATIVE`.
	MetricKind pulumi.StringPtrInput
	// If present, then a time series, which is identified partially by a metric type and a MonitoredResourceDescriptor, that is associated with this metric type can only be associated with one of the monitored resource types listed here. This field allows time series to be associated with the intersection of this metric type and the monitored resource types in this list.
	MonitoredResourceTypes pulumi.StringArrayInput
	// The resource name of the metric descriptor.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The metric type, including its DNS name prefix. The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relativeMetricName is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/.
	Type pulumi.StringPtrInput
	// The units in which the metric value is reported. It is only applicable if the
	// valueType is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of
	// the stored metric values.
	// Different systems may scale the values to be more easily displayed (so a value of
	// 0.02KBy might be displayed as 20By, and a value of 3523KBy might be displayed as
	// 3.5MBy). However, if the unit is KBy, then the value of the metric is always in
	// thousands of bytes, no matter how it may be displayed.
	// If you want a custom metric to record the exact number of CPU-seconds used by a job,
	// you can create an INT64 CUMULATIVE metric whose unit is s{CPU} (or equivalently
	// 1s{CPU} or just s). If the job uses 12,005 CPU-seconds, then the value is written as
	// 12005.
	// Alternatively, if you want a custom metric to record data in a more granular way, you
	// can create a DOUBLE CUMULATIVE metric whose unit is ks{CPU}, and then write the value
	// 12.005 (which is 12005/1000), or use Kis{CPU} and write 11.723 (which is 12005/1024).
	// The supported units are a subset of The Unified Code for Units of Measure standard.
	// More info can be found in the API documentation
	// (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
	Unit pulumi.StringPtrInput
	// Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
	// Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
	ValueType pulumi.StringPtrInput
}

func (MetricDescriptorState) ElementType

func (MetricDescriptorState) ElementType() reflect.Type

type MonitoredProject

type MonitoredProject struct {
	pulumi.CustomResourceState

	// Output only. The time when this `MonitoredProject` was created.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}
	//
	// ***
	MetricsScope pulumi.StringOutput `pulumi:"metricsScope"`
	// Immutable. The resource name of the `MonitoredProject`. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
	Name pulumi.StringOutput `pulumi:"name"`
}

A [project being monitored](https://cloud.google.com/monitoring/settings/multiple-projects#create-multi) by a Metrics Scope.

To get more information about MonitoredProject, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes.projects) * How-to Guides

## Example Usage ### Monitoring Monitored Project Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewMonitoredProject(ctx, "primary", &monitoring.MonitoredProjectArgs{
			MetricsScope: pulumi.String("my-project-name"),
		})
		if err != nil {
			return err
		}
		_, err = organizations.NewProject(ctx, "basic", &organizations.ProjectArgs{
			ProjectId: pulumi.String("m-id"),
			OrgId:     pulumi.String("123456789"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

MonitoredProject can be imported using any of these accepted formats

```sh

$ pulumi import gcp:monitoring/monitoredProject:MonitoredProject default v1/locations/global/metricsScopes/{{name}}

```

```sh

$ pulumi import gcp:monitoring/monitoredProject:MonitoredProject default {{name}}

```

func GetMonitoredProject

func GetMonitoredProject(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *MonitoredProjectState, opts ...pulumi.ResourceOption) (*MonitoredProject, error)

GetMonitoredProject gets an existing MonitoredProject resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewMonitoredProject

func NewMonitoredProject(ctx *pulumi.Context,
	name string, args *MonitoredProjectArgs, opts ...pulumi.ResourceOption) (*MonitoredProject, error)

NewMonitoredProject registers a new resource with the given unique name, arguments, and options.

func (*MonitoredProject) ElementType

func (*MonitoredProject) ElementType() reflect.Type

func (*MonitoredProject) ToMonitoredProjectOutput

func (i *MonitoredProject) ToMonitoredProjectOutput() MonitoredProjectOutput

func (*MonitoredProject) ToMonitoredProjectOutputWithContext

func (i *MonitoredProject) ToMonitoredProjectOutputWithContext(ctx context.Context) MonitoredProjectOutput

func (*MonitoredProject) ToOutput added in v6.65.1

type MonitoredProjectArgs

type MonitoredProjectArgs struct {
	// Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}
	//
	// ***
	MetricsScope pulumi.StringInput
	// Immutable. The resource name of the `MonitoredProject`. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a MonitoredProject resource.

func (MonitoredProjectArgs) ElementType

func (MonitoredProjectArgs) ElementType() reflect.Type

type MonitoredProjectArray

type MonitoredProjectArray []MonitoredProjectInput

func (MonitoredProjectArray) ElementType

func (MonitoredProjectArray) ElementType() reflect.Type

func (MonitoredProjectArray) ToMonitoredProjectArrayOutput

func (i MonitoredProjectArray) ToMonitoredProjectArrayOutput() MonitoredProjectArrayOutput

func (MonitoredProjectArray) ToMonitoredProjectArrayOutputWithContext

func (i MonitoredProjectArray) ToMonitoredProjectArrayOutputWithContext(ctx context.Context) MonitoredProjectArrayOutput

func (MonitoredProjectArray) ToOutput added in v6.65.1

type MonitoredProjectArrayInput

type MonitoredProjectArrayInput interface {
	pulumi.Input

	ToMonitoredProjectArrayOutput() MonitoredProjectArrayOutput
	ToMonitoredProjectArrayOutputWithContext(context.Context) MonitoredProjectArrayOutput
}

MonitoredProjectArrayInput is an input type that accepts MonitoredProjectArray and MonitoredProjectArrayOutput values. You can construct a concrete instance of `MonitoredProjectArrayInput` via:

MonitoredProjectArray{ MonitoredProjectArgs{...} }

type MonitoredProjectArrayOutput

type MonitoredProjectArrayOutput struct{ *pulumi.OutputState }

func (MonitoredProjectArrayOutput) ElementType

func (MonitoredProjectArrayOutput) Index

func (MonitoredProjectArrayOutput) ToMonitoredProjectArrayOutput

func (o MonitoredProjectArrayOutput) ToMonitoredProjectArrayOutput() MonitoredProjectArrayOutput

func (MonitoredProjectArrayOutput) ToMonitoredProjectArrayOutputWithContext

func (o MonitoredProjectArrayOutput) ToMonitoredProjectArrayOutputWithContext(ctx context.Context) MonitoredProjectArrayOutput

func (MonitoredProjectArrayOutput) ToOutput added in v6.65.1

type MonitoredProjectInput

type MonitoredProjectInput interface {
	pulumi.Input

	ToMonitoredProjectOutput() MonitoredProjectOutput
	ToMonitoredProjectOutputWithContext(ctx context.Context) MonitoredProjectOutput
}

type MonitoredProjectMap

type MonitoredProjectMap map[string]MonitoredProjectInput

func (MonitoredProjectMap) ElementType

func (MonitoredProjectMap) ElementType() reflect.Type

func (MonitoredProjectMap) ToMonitoredProjectMapOutput

func (i MonitoredProjectMap) ToMonitoredProjectMapOutput() MonitoredProjectMapOutput

func (MonitoredProjectMap) ToMonitoredProjectMapOutputWithContext

func (i MonitoredProjectMap) ToMonitoredProjectMapOutputWithContext(ctx context.Context) MonitoredProjectMapOutput

func (MonitoredProjectMap) ToOutput added in v6.65.1

type MonitoredProjectMapInput

type MonitoredProjectMapInput interface {
	pulumi.Input

	ToMonitoredProjectMapOutput() MonitoredProjectMapOutput
	ToMonitoredProjectMapOutputWithContext(context.Context) MonitoredProjectMapOutput
}

MonitoredProjectMapInput is an input type that accepts MonitoredProjectMap and MonitoredProjectMapOutput values. You can construct a concrete instance of `MonitoredProjectMapInput` via:

MonitoredProjectMap{ "key": MonitoredProjectArgs{...} }

type MonitoredProjectMapOutput

type MonitoredProjectMapOutput struct{ *pulumi.OutputState }

func (MonitoredProjectMapOutput) ElementType

func (MonitoredProjectMapOutput) ElementType() reflect.Type

func (MonitoredProjectMapOutput) MapIndex

func (MonitoredProjectMapOutput) ToMonitoredProjectMapOutput

func (o MonitoredProjectMapOutput) ToMonitoredProjectMapOutput() MonitoredProjectMapOutput

func (MonitoredProjectMapOutput) ToMonitoredProjectMapOutputWithContext

func (o MonitoredProjectMapOutput) ToMonitoredProjectMapOutputWithContext(ctx context.Context) MonitoredProjectMapOutput

func (MonitoredProjectMapOutput) ToOutput added in v6.65.1

type MonitoredProjectOutput

type MonitoredProjectOutput struct{ *pulumi.OutputState }

func (MonitoredProjectOutput) CreateTime added in v6.23.0

Output only. The time when this `MonitoredProject` was created.

func (MonitoredProjectOutput) ElementType

func (MonitoredProjectOutput) ElementType() reflect.Type

func (MonitoredProjectOutput) MetricsScope added in v6.23.0

func (o MonitoredProjectOutput) MetricsScope() pulumi.StringOutput

Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}

***

func (MonitoredProjectOutput) Name added in v6.23.0

Immutable. The resource name of the `MonitoredProject`. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`

func (MonitoredProjectOutput) ToMonitoredProjectOutput

func (o MonitoredProjectOutput) ToMonitoredProjectOutput() MonitoredProjectOutput

func (MonitoredProjectOutput) ToMonitoredProjectOutputWithContext

func (o MonitoredProjectOutput) ToMonitoredProjectOutputWithContext(ctx context.Context) MonitoredProjectOutput

func (MonitoredProjectOutput) ToOutput added in v6.65.1

type MonitoredProjectState

type MonitoredProjectState struct {
	// Output only. The time when this `MonitoredProject` was created.
	CreateTime pulumi.StringPtrInput
	// Required. The resource name of the existing Metrics Scope that will monitor this project. Example: locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}
	//
	// ***
	MetricsScope pulumi.StringPtrInput
	// Immutable. The resource name of the `MonitoredProject`. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: `locations/global/metricsScopes/{SCOPING_PROJECT_ID_OR_NUMBER}/projects/{MONITORED_PROJECT_ID_OR_NUMBER}`
	Name pulumi.StringPtrInput
}

func (MonitoredProjectState) ElementType

func (MonitoredProjectState) ElementType() reflect.Type

type NotificationChannel

type NotificationChannel struct {
	pulumi.CustomResourceState

	// An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceed 1024 Unicode characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// An optional human-readable name for this notification channel. It is recommended that you specify a non-empty and unique name in order to make it easier to identify the channels in your project, though this is not enforced. The display name is limited to 512 Unicode characters.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// Whether notifications are forwarded to the described channel. This makes it possible to disable delivery of notifications to a particular channel without removing the channel from all alerting policies that reference the channel. This is a more convenient approach when the change is temporary and you want to receive notifications from the same set of alerting policies on the channel at some point in the future.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// If true, the notification channel will be deleted regardless
	// of its use in alert policies (the policies will be updated
	// to remove the channel). If false, channels that are still
	// referenced by an existing alerting policy will fail to be
	// deleted in a delete operation.
	ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"`
	// Configuration fields that define the channel and its behavior. The
	// permissible and required labels are specified in the
	// NotificationChannelDescriptor corresponding to the type field.
	// Labels with sensitive data are obfuscated by the API and therefore the provider cannot
	// determine if there are upstream changes to these fields. They can also be configured via
	// the sensitiveLabels block, but cannot be configured in both places.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The full REST resource name for this channel. The syntax is:
	// projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
	// The [CHANNEL_ID] is automatically assigned by the server on creation.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// Different notification type behaviors are configured primarily using the the `labels` field on this
	// resource. This block contains the labels which contain secrets or passwords so that they can be marked
	// sensitive and hidden from plan output. The name of the field, eg: password, will be the key
	// in the `labels` map in the api request.
	// Credentials may not be specified in both locations and will cause an error. Changing from one location
	// to a different credential configuration in the config will require an apply to update state.
	// Structure is documented below.
	SensitiveLabels NotificationChannelSensitiveLabelsPtrOutput `pulumi:"sensitiveLabels"`
	// The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list to get the list of valid values such as "email", "slack", etc...
	//
	// ***
	Type pulumi.StringOutput `pulumi:"type"`
	// User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
	UserLabels pulumi.StringMapOutput `pulumi:"userLabels"`
	// Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel.
	VerificationStatus pulumi.StringOutput `pulumi:"verificationStatus"`
}

A NotificationChannel is a medium through which an alert is delivered when a policy violation is detected. Examples of channels include email, SMS, and third-party messaging applications. Fields containing sensitive information like authentication tokens or contact info are only partially populated on retrieval.

Notification Channels are designed to be flexible and are made up of a supported `type` and labels to configure that channel. Each `type` has specific labels that need to be present for that channel to be correctly configured. The labels that are required to be present for one channel `type` are often different than those required for another. Due to these loose constraints it's often best to set up a channel through the UI and import it to the provider when setting up a brand new channel type to determine which labels are required.

A list of supported channels per project the `list` endpoint can be accessed programmatically or through the api explorer at https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list . This provides the channel type and all of the required labels that must be passed.

To get more information about NotificationChannel, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannels) * How-to Guides

> **Warning:** All arguments including `sensitive_labels.auth_token`, `sensitive_labels.password`, and `sensitive_labels.service_key` will be stored in the raw state as plain-text.

## Example Usage ### Notification Channel Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewNotificationChannel(ctx, "basic", &monitoring.NotificationChannelArgs{
			DisplayName: pulumi.String("Test Notification Channel"),
			ForceDelete: pulumi.Bool(false),
			Labels: pulumi.StringMap{
				"email_address": pulumi.String("fake_email@blahblah.com"),
			},
			Type: pulumi.String("email"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Notification Channel Sensitive

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewNotificationChannel(ctx, "default", &monitoring.NotificationChannelArgs{
			DisplayName: pulumi.String("Test Slack Channel"),
			Labels: pulumi.StringMap{
				"channel_name": pulumi.String("#foobar"),
			},
			SensitiveLabels: &monitoring.NotificationChannelSensitiveLabelsArgs{
				AuthToken: pulumi.String("one"),
			},
			Type: pulumi.String("slack"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

NotificationChannel can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:monitoring/notificationChannel:NotificationChannel default {{name}}

```

func GetNotificationChannel

func GetNotificationChannel(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NotificationChannelState, opts ...pulumi.ResourceOption) (*NotificationChannel, error)

GetNotificationChannel gets an existing NotificationChannel resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewNotificationChannel

func NewNotificationChannel(ctx *pulumi.Context,
	name string, args *NotificationChannelArgs, opts ...pulumi.ResourceOption) (*NotificationChannel, error)

NewNotificationChannel registers a new resource with the given unique name, arguments, and options.

func (*NotificationChannel) ElementType

func (*NotificationChannel) ElementType() reflect.Type

func (*NotificationChannel) ToNotificationChannelOutput

func (i *NotificationChannel) ToNotificationChannelOutput() NotificationChannelOutput

func (*NotificationChannel) ToNotificationChannelOutputWithContext

func (i *NotificationChannel) ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput

func (*NotificationChannel) ToOutput added in v6.65.1

type NotificationChannelArgs

type NotificationChannelArgs struct {
	// An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceed 1024 Unicode characters.
	Description pulumi.StringPtrInput
	// An optional human-readable name for this notification channel. It is recommended that you specify a non-empty and unique name in order to make it easier to identify the channels in your project, though this is not enforced. The display name is limited to 512 Unicode characters.
	DisplayName pulumi.StringPtrInput
	// Whether notifications are forwarded to the described channel. This makes it possible to disable delivery of notifications to a particular channel without removing the channel from all alerting policies that reference the channel. This is a more convenient approach when the change is temporary and you want to receive notifications from the same set of alerting policies on the channel at some point in the future.
	Enabled pulumi.BoolPtrInput
	// If true, the notification channel will be deleted regardless
	// of its use in alert policies (the policies will be updated
	// to remove the channel). If false, channels that are still
	// referenced by an existing alerting policy will fail to be
	// deleted in a delete operation.
	ForceDelete pulumi.BoolPtrInput
	// Configuration fields that define the channel and its behavior. The
	// permissible and required labels are specified in the
	// NotificationChannelDescriptor corresponding to the type field.
	// Labels with sensitive data are obfuscated by the API and therefore the provider cannot
	// determine if there are upstream changes to these fields. They can also be configured via
	// the sensitiveLabels block, but cannot be configured in both places.
	Labels pulumi.StringMapInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Different notification type behaviors are configured primarily using the the `labels` field on this
	// resource. This block contains the labels which contain secrets or passwords so that they can be marked
	// sensitive and hidden from plan output. The name of the field, eg: password, will be the key
	// in the `labels` map in the api request.
	// Credentials may not be specified in both locations and will cause an error. Changing from one location
	// to a different credential configuration in the config will require an apply to update state.
	// Structure is documented below.
	SensitiveLabels NotificationChannelSensitiveLabelsPtrInput
	// The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list to get the list of valid values such as "email", "slack", etc...
	//
	// ***
	Type pulumi.StringInput
	// User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
	UserLabels pulumi.StringMapInput
}

The set of arguments for constructing a NotificationChannel resource.

func (NotificationChannelArgs) ElementType

func (NotificationChannelArgs) ElementType() reflect.Type

type NotificationChannelArray

type NotificationChannelArray []NotificationChannelInput

func (NotificationChannelArray) ElementType

func (NotificationChannelArray) ElementType() reflect.Type

func (NotificationChannelArray) ToNotificationChannelArrayOutput

func (i NotificationChannelArray) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput

func (NotificationChannelArray) ToNotificationChannelArrayOutputWithContext

func (i NotificationChannelArray) ToNotificationChannelArrayOutputWithContext(ctx context.Context) NotificationChannelArrayOutput

func (NotificationChannelArray) ToOutput added in v6.65.1

type NotificationChannelArrayInput

type NotificationChannelArrayInput interface {
	pulumi.Input

	ToNotificationChannelArrayOutput() NotificationChannelArrayOutput
	ToNotificationChannelArrayOutputWithContext(context.Context) NotificationChannelArrayOutput
}

NotificationChannelArrayInput is an input type that accepts NotificationChannelArray and NotificationChannelArrayOutput values. You can construct a concrete instance of `NotificationChannelArrayInput` via:

NotificationChannelArray{ NotificationChannelArgs{...} }

type NotificationChannelArrayOutput

type NotificationChannelArrayOutput struct{ *pulumi.OutputState }

func (NotificationChannelArrayOutput) ElementType

func (NotificationChannelArrayOutput) Index

func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutput

func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutput() NotificationChannelArrayOutput

func (NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext

func (o NotificationChannelArrayOutput) ToNotificationChannelArrayOutputWithContext(ctx context.Context) NotificationChannelArrayOutput

func (NotificationChannelArrayOutput) ToOutput added in v6.65.1

type NotificationChannelInput

type NotificationChannelInput interface {
	pulumi.Input

	ToNotificationChannelOutput() NotificationChannelOutput
	ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput
}

type NotificationChannelMap

type NotificationChannelMap map[string]NotificationChannelInput

func (NotificationChannelMap) ElementType

func (NotificationChannelMap) ElementType() reflect.Type

func (NotificationChannelMap) ToNotificationChannelMapOutput

func (i NotificationChannelMap) ToNotificationChannelMapOutput() NotificationChannelMapOutput

func (NotificationChannelMap) ToNotificationChannelMapOutputWithContext

func (i NotificationChannelMap) ToNotificationChannelMapOutputWithContext(ctx context.Context) NotificationChannelMapOutput

func (NotificationChannelMap) ToOutput added in v6.65.1

type NotificationChannelMapInput

type NotificationChannelMapInput interface {
	pulumi.Input

	ToNotificationChannelMapOutput() NotificationChannelMapOutput
	ToNotificationChannelMapOutputWithContext(context.Context) NotificationChannelMapOutput
}

NotificationChannelMapInput is an input type that accepts NotificationChannelMap and NotificationChannelMapOutput values. You can construct a concrete instance of `NotificationChannelMapInput` via:

NotificationChannelMap{ "key": NotificationChannelArgs{...} }

type NotificationChannelMapOutput

type NotificationChannelMapOutput struct{ *pulumi.OutputState }

func (NotificationChannelMapOutput) ElementType

func (NotificationChannelMapOutput) MapIndex

func (NotificationChannelMapOutput) ToNotificationChannelMapOutput

func (o NotificationChannelMapOutput) ToNotificationChannelMapOutput() NotificationChannelMapOutput

func (NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext

func (o NotificationChannelMapOutput) ToNotificationChannelMapOutputWithContext(ctx context.Context) NotificationChannelMapOutput

func (NotificationChannelMapOutput) ToOutput added in v6.65.1

type NotificationChannelOutput

type NotificationChannelOutput struct{ *pulumi.OutputState }

func (NotificationChannelOutput) Description added in v6.23.0

An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceed 1024 Unicode characters.

func (NotificationChannelOutput) DisplayName added in v6.23.0

An optional human-readable name for this notification channel. It is recommended that you specify a non-empty and unique name in order to make it easier to identify the channels in your project, though this is not enforced. The display name is limited to 512 Unicode characters.

func (NotificationChannelOutput) ElementType

func (NotificationChannelOutput) ElementType() reflect.Type

func (NotificationChannelOutput) Enabled added in v6.23.0

Whether notifications are forwarded to the described channel. This makes it possible to disable delivery of notifications to a particular channel without removing the channel from all alerting policies that reference the channel. This is a more convenient approach when the change is temporary and you want to receive notifications from the same set of alerting policies on the channel at some point in the future.

func (NotificationChannelOutput) ForceDelete added in v6.38.0

If true, the notification channel will be deleted regardless of its use in alert policies (the policies will be updated to remove the channel). If false, channels that are still referenced by an existing alerting policy will fail to be deleted in a delete operation.

func (NotificationChannelOutput) Labels added in v6.23.0

Configuration fields that define the channel and its behavior. The permissible and required labels are specified in the NotificationChannelDescriptor corresponding to the type field. Labels with sensitive data are obfuscated by the API and therefore the provider cannot determine if there are upstream changes to these fields. They can also be configured via the sensitiveLabels block, but cannot be configured in both places.

func (NotificationChannelOutput) Name added in v6.23.0

The full REST resource name for this channel. The syntax is: projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID] The [CHANNEL_ID] is automatically assigned by the server on creation.

func (NotificationChannelOutput) Project added in v6.23.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (NotificationChannelOutput) SensitiveLabels added in v6.23.0

Different notification type behaviors are configured primarily using the the `labels` field on this resource. This block contains the labels which contain secrets or passwords so that they can be marked sensitive and hidden from plan output. The name of the field, eg: password, will be the key in the `labels` map in the api request. Credentials may not be specified in both locations and will cause an error. Changing from one location to a different credential configuration in the config will require an apply to update state. Structure is documented below.

func (NotificationChannelOutput) ToNotificationChannelOutput

func (o NotificationChannelOutput) ToNotificationChannelOutput() NotificationChannelOutput

func (NotificationChannelOutput) ToNotificationChannelOutputWithContext

func (o NotificationChannelOutput) ToNotificationChannelOutputWithContext(ctx context.Context) NotificationChannelOutput

func (NotificationChannelOutput) ToOutput added in v6.65.1

func (NotificationChannelOutput) Type added in v6.23.0

The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list to get the list of valid values such as "email", "slack", etc...

***

func (NotificationChannelOutput) UserLabels added in v6.23.0

User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.

func (NotificationChannelOutput) VerificationStatus added in v6.23.0

func (o NotificationChannelOutput) VerificationStatus() pulumi.StringOutput

Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel.

type NotificationChannelSensitiveLabels

type NotificationChannelSensitiveLabels struct {
	// An authorization token for a notification channel. Channel types that support this field include: slack
	// **Note**: This property is sensitive and will not be displayed in the plan.
	AuthToken *string `pulumi:"authToken"`
	// An password for a notification channel. Channel types that support this field include: webhookBasicauth
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password *string `pulumi:"password"`
	// An servicekey token for a notification channel. Channel types that support this field include: pagerduty
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ServiceKey *string `pulumi:"serviceKey"`
}

type NotificationChannelSensitiveLabelsArgs

type NotificationChannelSensitiveLabelsArgs struct {
	// An authorization token for a notification channel. Channel types that support this field include: slack
	// **Note**: This property is sensitive and will not be displayed in the plan.
	AuthToken pulumi.StringPtrInput `pulumi:"authToken"`
	// An password for a notification channel. Channel types that support this field include: webhookBasicauth
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// An servicekey token for a notification channel. Channel types that support this field include: pagerduty
	// **Note**: This property is sensitive and will not be displayed in the plan.
	ServiceKey pulumi.StringPtrInput `pulumi:"serviceKey"`
}

func (NotificationChannelSensitiveLabelsArgs) ElementType

func (NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsOutput

func (i NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsOutput() NotificationChannelSensitiveLabelsOutput

func (NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsOutputWithContext

func (i NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsOutputWithContext(ctx context.Context) NotificationChannelSensitiveLabelsOutput

func (NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsPtrOutput

func (i NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsPtrOutput() NotificationChannelSensitiveLabelsPtrOutput

func (NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsPtrOutputWithContext

func (i NotificationChannelSensitiveLabelsArgs) ToNotificationChannelSensitiveLabelsPtrOutputWithContext(ctx context.Context) NotificationChannelSensitiveLabelsPtrOutput

func (NotificationChannelSensitiveLabelsArgs) ToOutput added in v6.65.1

type NotificationChannelSensitiveLabelsInput

type NotificationChannelSensitiveLabelsInput interface {
	pulumi.Input

	ToNotificationChannelSensitiveLabelsOutput() NotificationChannelSensitiveLabelsOutput
	ToNotificationChannelSensitiveLabelsOutputWithContext(context.Context) NotificationChannelSensitiveLabelsOutput
}

NotificationChannelSensitiveLabelsInput is an input type that accepts NotificationChannelSensitiveLabelsArgs and NotificationChannelSensitiveLabelsOutput values. You can construct a concrete instance of `NotificationChannelSensitiveLabelsInput` via:

NotificationChannelSensitiveLabelsArgs{...}

type NotificationChannelSensitiveLabelsOutput

type NotificationChannelSensitiveLabelsOutput struct{ *pulumi.OutputState }

func (NotificationChannelSensitiveLabelsOutput) AuthToken

An authorization token for a notification channel. Channel types that support this field include: slack **Note**: This property is sensitive and will not be displayed in the plan.

func (NotificationChannelSensitiveLabelsOutput) ElementType

func (NotificationChannelSensitiveLabelsOutput) Password

An password for a notification channel. Channel types that support this field include: webhookBasicauth **Note**: This property is sensitive and will not be displayed in the plan.

func (NotificationChannelSensitiveLabelsOutput) ServiceKey

An servicekey token for a notification channel. Channel types that support this field include: pagerduty **Note**: This property is sensitive and will not be displayed in the plan.

func (NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsOutput

func (o NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsOutput() NotificationChannelSensitiveLabelsOutput

func (NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsOutputWithContext

func (o NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsOutputWithContext(ctx context.Context) NotificationChannelSensitiveLabelsOutput

func (NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsPtrOutput

func (o NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsPtrOutput() NotificationChannelSensitiveLabelsPtrOutput

func (NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsPtrOutputWithContext

func (o NotificationChannelSensitiveLabelsOutput) ToNotificationChannelSensitiveLabelsPtrOutputWithContext(ctx context.Context) NotificationChannelSensitiveLabelsPtrOutput

func (NotificationChannelSensitiveLabelsOutput) ToOutput added in v6.65.1

type NotificationChannelSensitiveLabelsPtrInput

type NotificationChannelSensitiveLabelsPtrInput interface {
	pulumi.Input

	ToNotificationChannelSensitiveLabelsPtrOutput() NotificationChannelSensitiveLabelsPtrOutput
	ToNotificationChannelSensitiveLabelsPtrOutputWithContext(context.Context) NotificationChannelSensitiveLabelsPtrOutput
}

NotificationChannelSensitiveLabelsPtrInput is an input type that accepts NotificationChannelSensitiveLabelsArgs, NotificationChannelSensitiveLabelsPtr and NotificationChannelSensitiveLabelsPtrOutput values. You can construct a concrete instance of `NotificationChannelSensitiveLabelsPtrInput` via:

        NotificationChannelSensitiveLabelsArgs{...}

or:

        nil

type NotificationChannelSensitiveLabelsPtrOutput

type NotificationChannelSensitiveLabelsPtrOutput struct{ *pulumi.OutputState }

func (NotificationChannelSensitiveLabelsPtrOutput) AuthToken

An authorization token for a notification channel. Channel types that support this field include: slack **Note**: This property is sensitive and will not be displayed in the plan.

func (NotificationChannelSensitiveLabelsPtrOutput) Elem

func (NotificationChannelSensitiveLabelsPtrOutput) ElementType

func (NotificationChannelSensitiveLabelsPtrOutput) Password

An password for a notification channel. Channel types that support this field include: webhookBasicauth **Note**: This property is sensitive and will not be displayed in the plan.

func (NotificationChannelSensitiveLabelsPtrOutput) ServiceKey

An servicekey token for a notification channel. Channel types that support this field include: pagerduty **Note**: This property is sensitive and will not be displayed in the plan.

func (NotificationChannelSensitiveLabelsPtrOutput) ToNotificationChannelSensitiveLabelsPtrOutput

func (o NotificationChannelSensitiveLabelsPtrOutput) ToNotificationChannelSensitiveLabelsPtrOutput() NotificationChannelSensitiveLabelsPtrOutput

func (NotificationChannelSensitiveLabelsPtrOutput) ToNotificationChannelSensitiveLabelsPtrOutputWithContext

func (o NotificationChannelSensitiveLabelsPtrOutput) ToNotificationChannelSensitiveLabelsPtrOutputWithContext(ctx context.Context) NotificationChannelSensitiveLabelsPtrOutput

func (NotificationChannelSensitiveLabelsPtrOutput) ToOutput added in v6.65.1

type NotificationChannelState

type NotificationChannelState struct {
	// An optional human-readable description of this notification channel. This description may provide additional details, beyond the display name, for the channel. This may not exceed 1024 Unicode characters.
	Description pulumi.StringPtrInput
	// An optional human-readable name for this notification channel. It is recommended that you specify a non-empty and unique name in order to make it easier to identify the channels in your project, though this is not enforced. The display name is limited to 512 Unicode characters.
	DisplayName pulumi.StringPtrInput
	// Whether notifications are forwarded to the described channel. This makes it possible to disable delivery of notifications to a particular channel without removing the channel from all alerting policies that reference the channel. This is a more convenient approach when the change is temporary and you want to receive notifications from the same set of alerting policies on the channel at some point in the future.
	Enabled pulumi.BoolPtrInput
	// If true, the notification channel will be deleted regardless
	// of its use in alert policies (the policies will be updated
	// to remove the channel). If false, channels that are still
	// referenced by an existing alerting policy will fail to be
	// deleted in a delete operation.
	ForceDelete pulumi.BoolPtrInput
	// Configuration fields that define the channel and its behavior. The
	// permissible and required labels are specified in the
	// NotificationChannelDescriptor corresponding to the type field.
	// Labels with sensitive data are obfuscated by the API and therefore the provider cannot
	// determine if there are upstream changes to these fields. They can also be configured via
	// the sensitiveLabels block, but cannot be configured in both places.
	Labels pulumi.StringMapInput
	// The full REST resource name for this channel. The syntax is:
	// projects/[PROJECT_ID]/notificationChannels/[CHANNEL_ID]
	// The [CHANNEL_ID] is automatically assigned by the server on creation.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// Different notification type behaviors are configured primarily using the the `labels` field on this
	// resource. This block contains the labels which contain secrets or passwords so that they can be marked
	// sensitive and hidden from plan output. The name of the field, eg: password, will be the key
	// in the `labels` map in the api request.
	// Credentials may not be specified in both locations and will cause an error. Changing from one location
	// to a different credential configuration in the config will require an apply to update state.
	// Structure is documented below.
	SensitiveLabels NotificationChannelSensitiveLabelsPtrInput
	// The type of the notification channel. This field matches the value of the NotificationChannelDescriptor.type field. See https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.notificationChannelDescriptors/list to get the list of valid values such as "email", "slack", etc...
	//
	// ***
	Type pulumi.StringPtrInput
	// User-supplied key/value data that does not need to conform to the corresponding NotificationChannelDescriptor's schema, unlike the labels field. This field is intended to be used for organizing and identifying the NotificationChannel objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.
	UserLabels pulumi.StringMapInput
	// Indicates whether this channel has been verified or not. On a ListNotificationChannels or GetNotificationChannel operation, this field is expected to be populated.If the value is UNVERIFIED, then it indicates that the channel is non-functioning (it both requires verification and lacks verification); otherwise, it is assumed that the channel works.If the channel is neither VERIFIED nor UNVERIFIED, it implies that the channel is of a type that does not require verification or that this specific channel has been exempted from verification because it was created prior to verification being required for channels of this type.This field cannot be modified using a standard UpdateNotificationChannel operation. To change the value of this field, you must call VerifyNotificationChannel.
	VerificationStatus pulumi.StringPtrInput
}

func (NotificationChannelState) ElementType

func (NotificationChannelState) ElementType() reflect.Type

type Slo

type Slo struct {
	pulumi.CustomResourceState

	// Basic Service-Level Indicator (SLI) on a well-known service type.
	// Performance will be computed on the basis of pre-defined metrics.
	// SLIs are used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	BasicSli SloBasicSliPtrOutput `pulumi:"basicSli"`
	// A calendar period, semantically "since the start of the current
	// <calendarPeriod>".
	// Possible values are: `DAY`, `WEEK`, `FORTNIGHT`, `MONTH`.
	CalendarPeriod pulumi.StringPtrOutput `pulumi:"calendarPeriod"`
	// Name used for UI elements listing this SLO.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The fraction of service that must be good in order for this objective
	// to be met. 0 < goal <= 0.999
	Goal pulumi.Float64Output `pulumi:"goal"`
	// The full resource name for this service. The syntax is:
	// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// A request-based SLI defines a SLI for which atomic units of
	// service are counted directly.
	// A SLI describes a good service.
	// It is used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	RequestBasedSli SloRequestBasedSliPtrOutput `pulumi:"requestBasedSli"`
	// A rolling time period, semantically "in the past X days".
	// Must be between 1 to 30 days, inclusive.
	RollingPeriodDays pulumi.IntPtrOutput `pulumi:"rollingPeriodDays"`
	// ID of the service to which this SLO belongs.
	//
	// ***
	Service pulumi.StringOutput `pulumi:"service"`
	// The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.
	SloId pulumi.StringOutput `pulumi:"sloId"`
	// This field is intended to be used for organizing and identifying the AlertPolicy
	// objects.The field can contain up to 64 entries. Each key and value is limited
	// to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values
	// can contain only lowercase letters, numerals, underscores, and dashes. Keys
	// must begin with a letter.
	UserLabels pulumi.StringMapOutput `pulumi:"userLabels"`
	// A windows-based SLI defines the criteria for time windows.
	// goodService is defined based off the count of these time windows
	// for which the provided service was of good quality.
	// A SLI describes a good service. It is used to measure and calculate
	// the quality of the Service's performance with respect to a single
	// aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	WindowsBasedSli SloWindowsBasedSliPtrOutput `pulumi:"windowsBasedSli"`
}

A Service-Level Objective (SLO) describes the level of desired good service. It consists of a service-level indicator (SLI), a performance goal, and a period over which the objective is to be evaluated against that goal. The SLO can use SLIs defined in a number of different manners. Typical SLOs might include "99% of requests in each rolling week have latency below 200 milliseconds" or "99.5% of requests in each calendar month return successfully."

To get more information about Slo, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/services.serviceLevelObjectives) * How-to Guides

## Example Usage ### Monitoring Slo Appengine

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := monitoring.GetAppEngineService(ctx, &monitoring.GetAppEngineServiceArgs{
			ModuleId: "default",
		}, nil)
		if err != nil {
			return err
		}
		_, err = monitoring.NewSlo(ctx, "appengSlo", &monitoring.SloArgs{
			Service:        *pulumi.String(_default.ServiceId),
			SloId:          pulumi.String("ae-slo"),
			DisplayName:    pulumi.String("Test SLO for App Engine"),
			Goal:           pulumi.Float64(0.9),
			CalendarPeriod: pulumi.String("DAY"),
			BasicSli: &monitoring.SloBasicSliArgs{
				Latency: &monitoring.SloBasicSliLatencyArgs{
					Threshold: pulumi.String("1s"),
				},
			},
			UserLabels: pulumi.StringMap{
				"my_key":       pulumi.String("my_value"),
				"my_other_key": pulumi.String("my_other_value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Slo Request Based

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		customsrv, err := monitoring.NewCustomService(ctx, "customsrv", &monitoring.CustomServiceArgs{
			ServiceId:   pulumi.String("custom-srv-request-slos"),
			DisplayName: pulumi.String("My Custom Service"),
		})
		if err != nil {
			return err
		}
		_, err = monitoring.NewSlo(ctx, "requestBasedSlo", &monitoring.SloArgs{
			Service:           customsrv.ServiceId,
			SloId:             pulumi.String("consumed-api-slo"),
			DisplayName:       pulumi.String("Test SLO with request based SLI (good total ratio)"),
			Goal:              pulumi.Float64(0.9),
			RollingPeriodDays: pulumi.Int(30),
			RequestBasedSli: &monitoring.SloRequestBasedSliArgs{
				DistributionCut: &monitoring.SloRequestBasedSliDistributionCutArgs{
					DistributionFilter: pulumi.String("metric.type=\"serviceruntime.googleapis.com/api/request_latencies\" resource.type=\"api\"  "),
					Range: &monitoring.SloRequestBasedSliDistributionCutRangeArgs{
						Max: pulumi.Float64(0.5),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Slo can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:monitoring/slo:Slo default {{name}}

```

func GetSlo

func GetSlo(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SloState, opts ...pulumi.ResourceOption) (*Slo, error)

GetSlo gets an existing Slo resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSlo

func NewSlo(ctx *pulumi.Context,
	name string, args *SloArgs, opts ...pulumi.ResourceOption) (*Slo, error)

NewSlo registers a new resource with the given unique name, arguments, and options.

func (*Slo) ElementType

func (*Slo) ElementType() reflect.Type

func (*Slo) ToOutput added in v6.65.1

func (i *Slo) ToOutput(ctx context.Context) pulumix.Output[*Slo]

func (*Slo) ToSloOutput

func (i *Slo) ToSloOutput() SloOutput

func (*Slo) ToSloOutputWithContext

func (i *Slo) ToSloOutputWithContext(ctx context.Context) SloOutput

type SloArgs

type SloArgs struct {
	// Basic Service-Level Indicator (SLI) on a well-known service type.
	// Performance will be computed on the basis of pre-defined metrics.
	// SLIs are used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	BasicSli SloBasicSliPtrInput
	// A calendar period, semantically "since the start of the current
	// <calendarPeriod>".
	// Possible values are: `DAY`, `WEEK`, `FORTNIGHT`, `MONTH`.
	CalendarPeriod pulumi.StringPtrInput
	// Name used for UI elements listing this SLO.
	DisplayName pulumi.StringPtrInput
	// The fraction of service that must be good in order for this objective
	// to be met. 0 < goal <= 0.999
	Goal pulumi.Float64Input
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// A request-based SLI defines a SLI for which atomic units of
	// service are counted directly.
	// A SLI describes a good service.
	// It is used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	RequestBasedSli SloRequestBasedSliPtrInput
	// A rolling time period, semantically "in the past X days".
	// Must be between 1 to 30 days, inclusive.
	RollingPeriodDays pulumi.IntPtrInput
	// ID of the service to which this SLO belongs.
	//
	// ***
	Service pulumi.StringInput
	// The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.
	SloId pulumi.StringPtrInput
	// This field is intended to be used for organizing and identifying the AlertPolicy
	// objects.The field can contain up to 64 entries. Each key and value is limited
	// to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values
	// can contain only lowercase letters, numerals, underscores, and dashes. Keys
	// must begin with a letter.
	UserLabels pulumi.StringMapInput
	// A windows-based SLI defines the criteria for time windows.
	// goodService is defined based off the count of these time windows
	// for which the provided service was of good quality.
	// A SLI describes a good service. It is used to measure and calculate
	// the quality of the Service's performance with respect to a single
	// aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	WindowsBasedSli SloWindowsBasedSliPtrInput
}

The set of arguments for constructing a Slo resource.

func (SloArgs) ElementType

func (SloArgs) ElementType() reflect.Type

type SloArray

type SloArray []SloInput

func (SloArray) ElementType

func (SloArray) ElementType() reflect.Type

func (SloArray) ToOutput added in v6.65.1

func (i SloArray) ToOutput(ctx context.Context) pulumix.Output[[]*Slo]

func (SloArray) ToSloArrayOutput

func (i SloArray) ToSloArrayOutput() SloArrayOutput

func (SloArray) ToSloArrayOutputWithContext

func (i SloArray) ToSloArrayOutputWithContext(ctx context.Context) SloArrayOutput

type SloArrayInput

type SloArrayInput interface {
	pulumi.Input

	ToSloArrayOutput() SloArrayOutput
	ToSloArrayOutputWithContext(context.Context) SloArrayOutput
}

SloArrayInput is an input type that accepts SloArray and SloArrayOutput values. You can construct a concrete instance of `SloArrayInput` via:

SloArray{ SloArgs{...} }

type SloArrayOutput

type SloArrayOutput struct{ *pulumi.OutputState }

func (SloArrayOutput) ElementType

func (SloArrayOutput) ElementType() reflect.Type

func (SloArrayOutput) Index

func (SloArrayOutput) ToOutput added in v6.65.1

func (o SloArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Slo]

func (SloArrayOutput) ToSloArrayOutput

func (o SloArrayOutput) ToSloArrayOutput() SloArrayOutput

func (SloArrayOutput) ToSloArrayOutputWithContext

func (o SloArrayOutput) ToSloArrayOutputWithContext(ctx context.Context) SloArrayOutput

type SloBasicSli

type SloBasicSli struct {
	// Availability based SLI, dervied from count of requests made to this service that return successfully.
	// Structure is documented below.
	Availability *SloBasicSliAvailability `pulumi:"availability"`
	// Parameters for a latency threshold SLI.
	// Structure is documented below.
	Latency *SloBasicSliLatency `pulumi:"latency"`
	// An optional set of locations to which this SLI is relevant.
	// Telemetry from other locations will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// locations in which the Service has activity. For service types
	// that don't support breaking down by location, setting this
	// field will result in an error.
	Locations []string `pulumi:"locations"`
	// An optional set of RPCs to which this SLI is relevant.
	// Telemetry from other methods will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// the Service's methods. For service types that don't support
	// breaking down by method, setting this field will result in an
	// error.
	Methods []string `pulumi:"methods"`
	// The set of API versions to which this SLI is relevant.
	// Telemetry from other API versions will not be used to
	// calculate performance for this SLI. If omitted,
	// this SLI applies to all API versions. For service types
	// that don't support breaking down by version, setting this
	// field will result in an error.
	Versions []string `pulumi:"versions"`
}

type SloBasicSliArgs

type SloBasicSliArgs struct {
	// Availability based SLI, dervied from count of requests made to this service that return successfully.
	// Structure is documented below.
	Availability SloBasicSliAvailabilityPtrInput `pulumi:"availability"`
	// Parameters for a latency threshold SLI.
	// Structure is documented below.
	Latency SloBasicSliLatencyPtrInput `pulumi:"latency"`
	// An optional set of locations to which this SLI is relevant.
	// Telemetry from other locations will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// locations in which the Service has activity. For service types
	// that don't support breaking down by location, setting this
	// field will result in an error.
	Locations pulumi.StringArrayInput `pulumi:"locations"`
	// An optional set of RPCs to which this SLI is relevant.
	// Telemetry from other methods will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// the Service's methods. For service types that don't support
	// breaking down by method, setting this field will result in an
	// error.
	Methods pulumi.StringArrayInput `pulumi:"methods"`
	// The set of API versions to which this SLI is relevant.
	// Telemetry from other API versions will not be used to
	// calculate performance for this SLI. If omitted,
	// this SLI applies to all API versions. For service types
	// that don't support breaking down by version, setting this
	// field will result in an error.
	Versions pulumi.StringArrayInput `pulumi:"versions"`
}

func (SloBasicSliArgs) ElementType

func (SloBasicSliArgs) ElementType() reflect.Type

func (SloBasicSliArgs) ToOutput added in v6.65.1

func (SloBasicSliArgs) ToSloBasicSliOutput

func (i SloBasicSliArgs) ToSloBasicSliOutput() SloBasicSliOutput

func (SloBasicSliArgs) ToSloBasicSliOutputWithContext

func (i SloBasicSliArgs) ToSloBasicSliOutputWithContext(ctx context.Context) SloBasicSliOutput

func (SloBasicSliArgs) ToSloBasicSliPtrOutput

func (i SloBasicSliArgs) ToSloBasicSliPtrOutput() SloBasicSliPtrOutput

func (SloBasicSliArgs) ToSloBasicSliPtrOutputWithContext

func (i SloBasicSliArgs) ToSloBasicSliPtrOutputWithContext(ctx context.Context) SloBasicSliPtrOutput

type SloBasicSliAvailability

type SloBasicSliAvailability struct {
	// Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to  `true`.
	Enabled *bool `pulumi:"enabled"`
}

type SloBasicSliAvailabilityArgs

type SloBasicSliAvailabilityArgs struct {
	// Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to  `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (SloBasicSliAvailabilityArgs) ElementType

func (SloBasicSliAvailabilityArgs) ToOutput added in v6.65.1

func (SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityOutput

func (i SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityOutput() SloBasicSliAvailabilityOutput

func (SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityOutputWithContext

func (i SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityOutputWithContext(ctx context.Context) SloBasicSliAvailabilityOutput

func (SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityPtrOutput

func (i SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityPtrOutput() SloBasicSliAvailabilityPtrOutput

func (SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityPtrOutputWithContext

func (i SloBasicSliAvailabilityArgs) ToSloBasicSliAvailabilityPtrOutputWithContext(ctx context.Context) SloBasicSliAvailabilityPtrOutput

type SloBasicSliAvailabilityInput

type SloBasicSliAvailabilityInput interface {
	pulumi.Input

	ToSloBasicSliAvailabilityOutput() SloBasicSliAvailabilityOutput
	ToSloBasicSliAvailabilityOutputWithContext(context.Context) SloBasicSliAvailabilityOutput
}

SloBasicSliAvailabilityInput is an input type that accepts SloBasicSliAvailabilityArgs and SloBasicSliAvailabilityOutput values. You can construct a concrete instance of `SloBasicSliAvailabilityInput` via:

SloBasicSliAvailabilityArgs{...}

type SloBasicSliAvailabilityOutput

type SloBasicSliAvailabilityOutput struct{ *pulumi.OutputState }

func (SloBasicSliAvailabilityOutput) ElementType

func (SloBasicSliAvailabilityOutput) Enabled

Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to `true`.

func (SloBasicSliAvailabilityOutput) ToOutput added in v6.65.1

func (SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityOutput

func (o SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityOutput() SloBasicSliAvailabilityOutput

func (SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityOutputWithContext

func (o SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityOutputWithContext(ctx context.Context) SloBasicSliAvailabilityOutput

func (SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityPtrOutput

func (o SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityPtrOutput() SloBasicSliAvailabilityPtrOutput

func (SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityPtrOutputWithContext

func (o SloBasicSliAvailabilityOutput) ToSloBasicSliAvailabilityPtrOutputWithContext(ctx context.Context) SloBasicSliAvailabilityPtrOutput

type SloBasicSliAvailabilityPtrInput

type SloBasicSliAvailabilityPtrInput interface {
	pulumi.Input

	ToSloBasicSliAvailabilityPtrOutput() SloBasicSliAvailabilityPtrOutput
	ToSloBasicSliAvailabilityPtrOutputWithContext(context.Context) SloBasicSliAvailabilityPtrOutput
}

SloBasicSliAvailabilityPtrInput is an input type that accepts SloBasicSliAvailabilityArgs, SloBasicSliAvailabilityPtr and SloBasicSliAvailabilityPtrOutput values. You can construct a concrete instance of `SloBasicSliAvailabilityPtrInput` via:

        SloBasicSliAvailabilityArgs{...}

or:

        nil

type SloBasicSliAvailabilityPtrOutput

type SloBasicSliAvailabilityPtrOutput struct{ *pulumi.OutputState }

func (SloBasicSliAvailabilityPtrOutput) Elem

func (SloBasicSliAvailabilityPtrOutput) ElementType

func (SloBasicSliAvailabilityPtrOutput) Enabled

Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to `true`.

func (SloBasicSliAvailabilityPtrOutput) ToOutput added in v6.65.1

func (SloBasicSliAvailabilityPtrOutput) ToSloBasicSliAvailabilityPtrOutput

func (o SloBasicSliAvailabilityPtrOutput) ToSloBasicSliAvailabilityPtrOutput() SloBasicSliAvailabilityPtrOutput

func (SloBasicSliAvailabilityPtrOutput) ToSloBasicSliAvailabilityPtrOutputWithContext

func (o SloBasicSliAvailabilityPtrOutput) ToSloBasicSliAvailabilityPtrOutputWithContext(ctx context.Context) SloBasicSliAvailabilityPtrOutput

type SloBasicSliInput

type SloBasicSliInput interface {
	pulumi.Input

	ToSloBasicSliOutput() SloBasicSliOutput
	ToSloBasicSliOutputWithContext(context.Context) SloBasicSliOutput
}

SloBasicSliInput is an input type that accepts SloBasicSliArgs and SloBasicSliOutput values. You can construct a concrete instance of `SloBasicSliInput` via:

SloBasicSliArgs{...}

type SloBasicSliLatency

type SloBasicSliLatency struct {
	// A duration string, e.g. 10s.
	// Good service is defined to be the count of requests made to
	// this service that return in no more than threshold.
	Threshold string `pulumi:"threshold"`
}

type SloBasicSliLatencyArgs

type SloBasicSliLatencyArgs struct {
	// A duration string, e.g. 10s.
	// Good service is defined to be the count of requests made to
	// this service that return in no more than threshold.
	Threshold pulumi.StringInput `pulumi:"threshold"`
}

func (SloBasicSliLatencyArgs) ElementType

func (SloBasicSliLatencyArgs) ElementType() reflect.Type

func (SloBasicSliLatencyArgs) ToOutput added in v6.65.1

func (SloBasicSliLatencyArgs) ToSloBasicSliLatencyOutput

func (i SloBasicSliLatencyArgs) ToSloBasicSliLatencyOutput() SloBasicSliLatencyOutput

func (SloBasicSliLatencyArgs) ToSloBasicSliLatencyOutputWithContext

func (i SloBasicSliLatencyArgs) ToSloBasicSliLatencyOutputWithContext(ctx context.Context) SloBasicSliLatencyOutput

func (SloBasicSliLatencyArgs) ToSloBasicSliLatencyPtrOutput

func (i SloBasicSliLatencyArgs) ToSloBasicSliLatencyPtrOutput() SloBasicSliLatencyPtrOutput

func (SloBasicSliLatencyArgs) ToSloBasicSliLatencyPtrOutputWithContext

func (i SloBasicSliLatencyArgs) ToSloBasicSliLatencyPtrOutputWithContext(ctx context.Context) SloBasicSliLatencyPtrOutput

type SloBasicSliLatencyInput

type SloBasicSliLatencyInput interface {
	pulumi.Input

	ToSloBasicSliLatencyOutput() SloBasicSliLatencyOutput
	ToSloBasicSliLatencyOutputWithContext(context.Context) SloBasicSliLatencyOutput
}

SloBasicSliLatencyInput is an input type that accepts SloBasicSliLatencyArgs and SloBasicSliLatencyOutput values. You can construct a concrete instance of `SloBasicSliLatencyInput` via:

SloBasicSliLatencyArgs{...}

type SloBasicSliLatencyOutput

type SloBasicSliLatencyOutput struct{ *pulumi.OutputState }

func (SloBasicSliLatencyOutput) ElementType

func (SloBasicSliLatencyOutput) ElementType() reflect.Type

func (SloBasicSliLatencyOutput) Threshold

A duration string, e.g. 10s. Good service is defined to be the count of requests made to this service that return in no more than threshold.

func (SloBasicSliLatencyOutput) ToOutput added in v6.65.1

func (SloBasicSliLatencyOutput) ToSloBasicSliLatencyOutput

func (o SloBasicSliLatencyOutput) ToSloBasicSliLatencyOutput() SloBasicSliLatencyOutput

func (SloBasicSliLatencyOutput) ToSloBasicSliLatencyOutputWithContext

func (o SloBasicSliLatencyOutput) ToSloBasicSliLatencyOutputWithContext(ctx context.Context) SloBasicSliLatencyOutput

func (SloBasicSliLatencyOutput) ToSloBasicSliLatencyPtrOutput

func (o SloBasicSliLatencyOutput) ToSloBasicSliLatencyPtrOutput() SloBasicSliLatencyPtrOutput

func (SloBasicSliLatencyOutput) ToSloBasicSliLatencyPtrOutputWithContext

func (o SloBasicSliLatencyOutput) ToSloBasicSliLatencyPtrOutputWithContext(ctx context.Context) SloBasicSliLatencyPtrOutput

type SloBasicSliLatencyPtrInput

type SloBasicSliLatencyPtrInput interface {
	pulumi.Input

	ToSloBasicSliLatencyPtrOutput() SloBasicSliLatencyPtrOutput
	ToSloBasicSliLatencyPtrOutputWithContext(context.Context) SloBasicSliLatencyPtrOutput
}

SloBasicSliLatencyPtrInput is an input type that accepts SloBasicSliLatencyArgs, SloBasicSliLatencyPtr and SloBasicSliLatencyPtrOutput values. You can construct a concrete instance of `SloBasicSliLatencyPtrInput` via:

        SloBasicSliLatencyArgs{...}

or:

        nil

type SloBasicSliLatencyPtrOutput

type SloBasicSliLatencyPtrOutput struct{ *pulumi.OutputState }

func (SloBasicSliLatencyPtrOutput) Elem

func (SloBasicSliLatencyPtrOutput) ElementType

func (SloBasicSliLatencyPtrOutput) Threshold

A duration string, e.g. 10s. Good service is defined to be the count of requests made to this service that return in no more than threshold.

func (SloBasicSliLatencyPtrOutput) ToOutput added in v6.65.1

func (SloBasicSliLatencyPtrOutput) ToSloBasicSliLatencyPtrOutput

func (o SloBasicSliLatencyPtrOutput) ToSloBasicSliLatencyPtrOutput() SloBasicSliLatencyPtrOutput

func (SloBasicSliLatencyPtrOutput) ToSloBasicSliLatencyPtrOutputWithContext

func (o SloBasicSliLatencyPtrOutput) ToSloBasicSliLatencyPtrOutputWithContext(ctx context.Context) SloBasicSliLatencyPtrOutput

type SloBasicSliOutput

type SloBasicSliOutput struct{ *pulumi.OutputState }

func (SloBasicSliOutput) Availability

Availability based SLI, dervied from count of requests made to this service that return successfully. Structure is documented below.

func (SloBasicSliOutput) ElementType

func (SloBasicSliOutput) ElementType() reflect.Type

func (SloBasicSliOutput) Latency

Parameters for a latency threshold SLI. Structure is documented below.

func (SloBasicSliOutput) Locations

An optional set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.

func (SloBasicSliOutput) Methods

An optional set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.

func (SloBasicSliOutput) ToOutput added in v6.65.1

func (SloBasicSliOutput) ToSloBasicSliOutput

func (o SloBasicSliOutput) ToSloBasicSliOutput() SloBasicSliOutput

func (SloBasicSliOutput) ToSloBasicSliOutputWithContext

func (o SloBasicSliOutput) ToSloBasicSliOutputWithContext(ctx context.Context) SloBasicSliOutput

func (SloBasicSliOutput) ToSloBasicSliPtrOutput

func (o SloBasicSliOutput) ToSloBasicSliPtrOutput() SloBasicSliPtrOutput

func (SloBasicSliOutput) ToSloBasicSliPtrOutputWithContext

func (o SloBasicSliOutput) ToSloBasicSliPtrOutputWithContext(ctx context.Context) SloBasicSliPtrOutput

func (SloBasicSliOutput) Versions

The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.

type SloBasicSliPtrInput

type SloBasicSliPtrInput interface {
	pulumi.Input

	ToSloBasicSliPtrOutput() SloBasicSliPtrOutput
	ToSloBasicSliPtrOutputWithContext(context.Context) SloBasicSliPtrOutput
}

SloBasicSliPtrInput is an input type that accepts SloBasicSliArgs, SloBasicSliPtr and SloBasicSliPtrOutput values. You can construct a concrete instance of `SloBasicSliPtrInput` via:

        SloBasicSliArgs{...}

or:

        nil

func SloBasicSliPtr

func SloBasicSliPtr(v *SloBasicSliArgs) SloBasicSliPtrInput

type SloBasicSliPtrOutput

type SloBasicSliPtrOutput struct{ *pulumi.OutputState }

func (SloBasicSliPtrOutput) Availability

Availability based SLI, dervied from count of requests made to this service that return successfully. Structure is documented below.

func (SloBasicSliPtrOutput) Elem

func (SloBasicSliPtrOutput) ElementType

func (SloBasicSliPtrOutput) ElementType() reflect.Type

func (SloBasicSliPtrOutput) Latency

Parameters for a latency threshold SLI. Structure is documented below.

func (SloBasicSliPtrOutput) Locations

An optional set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.

func (SloBasicSliPtrOutput) Methods

An optional set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.

func (SloBasicSliPtrOutput) ToOutput added in v6.65.1

func (SloBasicSliPtrOutput) ToSloBasicSliPtrOutput

func (o SloBasicSliPtrOutput) ToSloBasicSliPtrOutput() SloBasicSliPtrOutput

func (SloBasicSliPtrOutput) ToSloBasicSliPtrOutputWithContext

func (o SloBasicSliPtrOutput) ToSloBasicSliPtrOutputWithContext(ctx context.Context) SloBasicSliPtrOutput

func (SloBasicSliPtrOutput) Versions

The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.

type SloInput

type SloInput interface {
	pulumi.Input

	ToSloOutput() SloOutput
	ToSloOutputWithContext(ctx context.Context) SloOutput
}

type SloMap

type SloMap map[string]SloInput

func (SloMap) ElementType

func (SloMap) ElementType() reflect.Type

func (SloMap) ToOutput added in v6.65.1

func (i SloMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Slo]

func (SloMap) ToSloMapOutput

func (i SloMap) ToSloMapOutput() SloMapOutput

func (SloMap) ToSloMapOutputWithContext

func (i SloMap) ToSloMapOutputWithContext(ctx context.Context) SloMapOutput

type SloMapInput

type SloMapInput interface {
	pulumi.Input

	ToSloMapOutput() SloMapOutput
	ToSloMapOutputWithContext(context.Context) SloMapOutput
}

SloMapInput is an input type that accepts SloMap and SloMapOutput values. You can construct a concrete instance of `SloMapInput` via:

SloMap{ "key": SloArgs{...} }

type SloMapOutput

type SloMapOutput struct{ *pulumi.OutputState }

func (SloMapOutput) ElementType

func (SloMapOutput) ElementType() reflect.Type

func (SloMapOutput) MapIndex

func (o SloMapOutput) MapIndex(k pulumi.StringInput) SloOutput

func (SloMapOutput) ToOutput added in v6.65.1

func (o SloMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Slo]

func (SloMapOutput) ToSloMapOutput

func (o SloMapOutput) ToSloMapOutput() SloMapOutput

func (SloMapOutput) ToSloMapOutputWithContext

func (o SloMapOutput) ToSloMapOutputWithContext(ctx context.Context) SloMapOutput

type SloOutput

type SloOutput struct{ *pulumi.OutputState }

func (SloOutput) BasicSli added in v6.23.0

func (o SloOutput) BasicSli() SloBasicSliPtrOutput

Basic Service-Level Indicator (SLI) on a well-known service type. Performance will be computed on the basis of pre-defined metrics. SLIs are used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. Exactly one of the following must be set: `basicSli`, `requestBasedSli`, `windowsBasedSli` Structure is documented below.

func (SloOutput) CalendarPeriod added in v6.23.0

func (o SloOutput) CalendarPeriod() pulumi.StringPtrOutput

A calendar period, semantically "since the start of the current <calendarPeriod>". Possible values are: `DAY`, `WEEK`, `FORTNIGHT`, `MONTH`.

func (SloOutput) DisplayName added in v6.23.0

func (o SloOutput) DisplayName() pulumi.StringPtrOutput

Name used for UI elements listing this SLO.

func (SloOutput) ElementType

func (SloOutput) ElementType() reflect.Type

func (SloOutput) Goal added in v6.23.0

func (o SloOutput) Goal() pulumi.Float64Output

The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999

func (SloOutput) Name added in v6.23.0

func (o SloOutput) Name() pulumi.StringOutput

The full resource name for this service. The syntax is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]

func (SloOutput) Project added in v6.23.0

func (o SloOutput) Project() pulumi.StringOutput

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (SloOutput) RequestBasedSli added in v6.23.0

func (o SloOutput) RequestBasedSli() SloRequestBasedSliPtrOutput

A request-based SLI defines a SLI for which atomic units of service are counted directly. A SLI describes a good service. It is used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. Exactly one of the following must be set: `basicSli`, `requestBasedSli`, `windowsBasedSli` Structure is documented below.

func (SloOutput) RollingPeriodDays added in v6.23.0

func (o SloOutput) RollingPeriodDays() pulumi.IntPtrOutput

A rolling time period, semantically "in the past X days". Must be between 1 to 30 days, inclusive.

func (SloOutput) Service added in v6.23.0

func (o SloOutput) Service() pulumi.StringOutput

ID of the service to which this SLO belongs.

***

func (SloOutput) SloId added in v6.23.0

func (o SloOutput) SloId() pulumi.StringOutput

The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.

func (SloOutput) ToOutput added in v6.65.1

func (o SloOutput) ToOutput(ctx context.Context) pulumix.Output[*Slo]

func (SloOutput) ToSloOutput

func (o SloOutput) ToSloOutput() SloOutput

func (SloOutput) ToSloOutputWithContext

func (o SloOutput) ToSloOutputWithContext(ctx context.Context) SloOutput

func (SloOutput) UserLabels added in v6.28.0

func (o SloOutput) UserLabels() pulumi.StringMapOutput

This field is intended to be used for organizing and identifying the AlertPolicy objects.The field can contain up to 64 entries. Each key and value is limited to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values can contain only lowercase letters, numerals, underscores, and dashes. Keys must begin with a letter.

func (SloOutput) WindowsBasedSli added in v6.23.0

func (o SloOutput) WindowsBasedSli() SloWindowsBasedSliPtrOutput

A windows-based SLI defines the criteria for time windows. goodService is defined based off the count of these time windows for which the provided service was of good quality. A SLI describes a good service. It is used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality. Exactly one of the following must be set: `basicSli`, `requestBasedSli`, `windowsBasedSli` Structure is documented below.

type SloRequestBasedSli

type SloRequestBasedSli struct {
	// Used when goodService is defined by a count of values aggregated in a
	// Distribution that fall into a good range. The totalService is the
	// total count of all values aggregated in the Distribution.
	// Defines a distribution TimeSeries filter and thresholds used for
	// measuring good service and total service.
	// Exactly one of `distributionCut` or `goodTotalRatio` can be set.
	// Structure is documented below.
	DistributionCut *SloRequestBasedSliDistributionCut `pulumi:"distributionCut"`
	// A means to compute a ratio of `goodService` to `totalService`.
	// Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters)
	// Must specify exactly two of good, bad, and total service filters.
	// The relationship goodService + badService = totalService
	// will be assumed.
	// Exactly one of `distributionCut` or `goodTotalRatio` can be set.
	// Structure is documented below.
	GoodTotalRatio *SloRequestBasedSliGoodTotalRatio `pulumi:"goodTotalRatio"`
}

type SloRequestBasedSliArgs

type SloRequestBasedSliArgs struct {
	// Used when goodService is defined by a count of values aggregated in a
	// Distribution that fall into a good range. The totalService is the
	// total count of all values aggregated in the Distribution.
	// Defines a distribution TimeSeries filter and thresholds used for
	// measuring good service and total service.
	// Exactly one of `distributionCut` or `goodTotalRatio` can be set.
	// Structure is documented below.
	DistributionCut SloRequestBasedSliDistributionCutPtrInput `pulumi:"distributionCut"`
	// A means to compute a ratio of `goodService` to `totalService`.
	// Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters)
	// Must specify exactly two of good, bad, and total service filters.
	// The relationship goodService + badService = totalService
	// will be assumed.
	// Exactly one of `distributionCut` or `goodTotalRatio` can be set.
	// Structure is documented below.
	GoodTotalRatio SloRequestBasedSliGoodTotalRatioPtrInput `pulumi:"goodTotalRatio"`
}

func (SloRequestBasedSliArgs) ElementType

func (SloRequestBasedSliArgs) ElementType() reflect.Type

func (SloRequestBasedSliArgs) ToOutput added in v6.65.1

func (SloRequestBasedSliArgs) ToSloRequestBasedSliOutput

func (i SloRequestBasedSliArgs) ToSloRequestBasedSliOutput() SloRequestBasedSliOutput

func (SloRequestBasedSliArgs) ToSloRequestBasedSliOutputWithContext

func (i SloRequestBasedSliArgs) ToSloRequestBasedSliOutputWithContext(ctx context.Context) SloRequestBasedSliOutput

func (SloRequestBasedSliArgs) ToSloRequestBasedSliPtrOutput

func (i SloRequestBasedSliArgs) ToSloRequestBasedSliPtrOutput() SloRequestBasedSliPtrOutput

func (SloRequestBasedSliArgs) ToSloRequestBasedSliPtrOutputWithContext

func (i SloRequestBasedSliArgs) ToSloRequestBasedSliPtrOutputWithContext(ctx context.Context) SloRequestBasedSliPtrOutput

type SloRequestBasedSliDistributionCut

type SloRequestBasedSliDistributionCut struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// aggregating values to quantify the good service provided.
	// Must have ValueType = DISTRIBUTION and
	// MetricKind = DELTA or MetricKind = CUMULATIVE.
	DistributionFilter string `pulumi:"distributionFilter"`
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max.
	// Structure is documented below.
	Range SloRequestBasedSliDistributionCutRange `pulumi:"range"`
}

type SloRequestBasedSliDistributionCutArgs

type SloRequestBasedSliDistributionCutArgs struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// aggregating values to quantify the good service provided.
	// Must have ValueType = DISTRIBUTION and
	// MetricKind = DELTA or MetricKind = CUMULATIVE.
	DistributionFilter pulumi.StringInput `pulumi:"distributionFilter"`
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max.
	// Structure is documented below.
	Range SloRequestBasedSliDistributionCutRangeInput `pulumi:"range"`
}

func (SloRequestBasedSliDistributionCutArgs) ElementType

func (SloRequestBasedSliDistributionCutArgs) ToOutput added in v6.65.1

func (SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutOutput

func (i SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutOutput() SloRequestBasedSliDistributionCutOutput

func (SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutOutputWithContext

func (i SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutOutput

func (SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutPtrOutput

func (i SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutPtrOutput() SloRequestBasedSliDistributionCutPtrOutput

func (SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutPtrOutputWithContext

func (i SloRequestBasedSliDistributionCutArgs) ToSloRequestBasedSliDistributionCutPtrOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutPtrOutput

type SloRequestBasedSliDistributionCutInput

type SloRequestBasedSliDistributionCutInput interface {
	pulumi.Input

	ToSloRequestBasedSliDistributionCutOutput() SloRequestBasedSliDistributionCutOutput
	ToSloRequestBasedSliDistributionCutOutputWithContext(context.Context) SloRequestBasedSliDistributionCutOutput
}

SloRequestBasedSliDistributionCutInput is an input type that accepts SloRequestBasedSliDistributionCutArgs and SloRequestBasedSliDistributionCutOutput values. You can construct a concrete instance of `SloRequestBasedSliDistributionCutInput` via:

SloRequestBasedSliDistributionCutArgs{...}

type SloRequestBasedSliDistributionCutOutput

type SloRequestBasedSliDistributionCutOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliDistributionCutOutput) DistributionFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) aggregating values to quantify the good service provided. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloRequestBasedSliDistributionCutOutput) ElementType

func (SloRequestBasedSliDistributionCutOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Structure is documented below.

func (SloRequestBasedSliDistributionCutOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutOutput

func (o SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutOutput() SloRequestBasedSliDistributionCutOutput

func (SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutOutputWithContext

func (o SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutOutput

func (SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutPtrOutput

func (o SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutPtrOutput() SloRequestBasedSliDistributionCutPtrOutput

func (SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutPtrOutputWithContext

func (o SloRequestBasedSliDistributionCutOutput) ToSloRequestBasedSliDistributionCutPtrOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutPtrOutput

type SloRequestBasedSliDistributionCutPtrInput

type SloRequestBasedSliDistributionCutPtrInput interface {
	pulumi.Input

	ToSloRequestBasedSliDistributionCutPtrOutput() SloRequestBasedSliDistributionCutPtrOutput
	ToSloRequestBasedSliDistributionCutPtrOutputWithContext(context.Context) SloRequestBasedSliDistributionCutPtrOutput
}

SloRequestBasedSliDistributionCutPtrInput is an input type that accepts SloRequestBasedSliDistributionCutArgs, SloRequestBasedSliDistributionCutPtr and SloRequestBasedSliDistributionCutPtrOutput values. You can construct a concrete instance of `SloRequestBasedSliDistributionCutPtrInput` via:

        SloRequestBasedSliDistributionCutArgs{...}

or:

        nil

type SloRequestBasedSliDistributionCutPtrOutput

type SloRequestBasedSliDistributionCutPtrOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliDistributionCutPtrOutput) DistributionFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) aggregating values to quantify the good service provided. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloRequestBasedSliDistributionCutPtrOutput) Elem

func (SloRequestBasedSliDistributionCutPtrOutput) ElementType

func (SloRequestBasedSliDistributionCutPtrOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Structure is documented below.

func (SloRequestBasedSliDistributionCutPtrOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliDistributionCutPtrOutput) ToSloRequestBasedSliDistributionCutPtrOutput

func (o SloRequestBasedSliDistributionCutPtrOutput) ToSloRequestBasedSliDistributionCutPtrOutput() SloRequestBasedSliDistributionCutPtrOutput

func (SloRequestBasedSliDistributionCutPtrOutput) ToSloRequestBasedSliDistributionCutPtrOutputWithContext

func (o SloRequestBasedSliDistributionCutPtrOutput) ToSloRequestBasedSliDistributionCutPtrOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutPtrOutput

type SloRequestBasedSliDistributionCutRange

type SloRequestBasedSliDistributionCutRange struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max *float64 `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min *float64 `pulumi:"min"`
}

type SloRequestBasedSliDistributionCutRangeArgs

type SloRequestBasedSliDistributionCutRangeArgs struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max pulumi.Float64PtrInput `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min pulumi.Float64PtrInput `pulumi:"min"`
}

func (SloRequestBasedSliDistributionCutRangeArgs) ElementType

func (SloRequestBasedSliDistributionCutRangeArgs) ToOutput added in v6.65.1

func (SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangeOutput

func (i SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangeOutput() SloRequestBasedSliDistributionCutRangeOutput

func (SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangeOutputWithContext

func (i SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangeOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutRangeOutput

func (SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangePtrOutput

func (i SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangePtrOutput() SloRequestBasedSliDistributionCutRangePtrOutput

func (SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangePtrOutputWithContext

func (i SloRequestBasedSliDistributionCutRangeArgs) ToSloRequestBasedSliDistributionCutRangePtrOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutRangePtrOutput

type SloRequestBasedSliDistributionCutRangeInput

type SloRequestBasedSliDistributionCutRangeInput interface {
	pulumi.Input

	ToSloRequestBasedSliDistributionCutRangeOutput() SloRequestBasedSliDistributionCutRangeOutput
	ToSloRequestBasedSliDistributionCutRangeOutputWithContext(context.Context) SloRequestBasedSliDistributionCutRangeOutput
}

SloRequestBasedSliDistributionCutRangeInput is an input type that accepts SloRequestBasedSliDistributionCutRangeArgs and SloRequestBasedSliDistributionCutRangeOutput values. You can construct a concrete instance of `SloRequestBasedSliDistributionCutRangeInput` via:

SloRequestBasedSliDistributionCutRangeArgs{...}

type SloRequestBasedSliDistributionCutRangeOutput

type SloRequestBasedSliDistributionCutRangeOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliDistributionCutRangeOutput) ElementType

func (SloRequestBasedSliDistributionCutRangeOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloRequestBasedSliDistributionCutRangeOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloRequestBasedSliDistributionCutRangeOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangeOutput

func (o SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangeOutput() SloRequestBasedSliDistributionCutRangeOutput

func (SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangeOutputWithContext

func (o SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangeOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutRangeOutput

func (SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangePtrOutput

func (o SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangePtrOutput() SloRequestBasedSliDistributionCutRangePtrOutput

func (SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangePtrOutputWithContext

func (o SloRequestBasedSliDistributionCutRangeOutput) ToSloRequestBasedSliDistributionCutRangePtrOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutRangePtrOutput

type SloRequestBasedSliDistributionCutRangePtrInput

type SloRequestBasedSliDistributionCutRangePtrInput interface {
	pulumi.Input

	ToSloRequestBasedSliDistributionCutRangePtrOutput() SloRequestBasedSliDistributionCutRangePtrOutput
	ToSloRequestBasedSliDistributionCutRangePtrOutputWithContext(context.Context) SloRequestBasedSliDistributionCutRangePtrOutput
}

SloRequestBasedSliDistributionCutRangePtrInput is an input type that accepts SloRequestBasedSliDistributionCutRangeArgs, SloRequestBasedSliDistributionCutRangePtr and SloRequestBasedSliDistributionCutRangePtrOutput values. You can construct a concrete instance of `SloRequestBasedSliDistributionCutRangePtrInput` via:

        SloRequestBasedSliDistributionCutRangeArgs{...}

or:

        nil

type SloRequestBasedSliDistributionCutRangePtrOutput

type SloRequestBasedSliDistributionCutRangePtrOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliDistributionCutRangePtrOutput) Elem

func (SloRequestBasedSliDistributionCutRangePtrOutput) ElementType

func (SloRequestBasedSliDistributionCutRangePtrOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloRequestBasedSliDistributionCutRangePtrOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloRequestBasedSliDistributionCutRangePtrOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliDistributionCutRangePtrOutput) ToSloRequestBasedSliDistributionCutRangePtrOutput

func (o SloRequestBasedSliDistributionCutRangePtrOutput) ToSloRequestBasedSliDistributionCutRangePtrOutput() SloRequestBasedSliDistributionCutRangePtrOutput

func (SloRequestBasedSliDistributionCutRangePtrOutput) ToSloRequestBasedSliDistributionCutRangePtrOutputWithContext

func (o SloRequestBasedSliDistributionCutRangePtrOutput) ToSloRequestBasedSliDistributionCutRangePtrOutputWithContext(ctx context.Context) SloRequestBasedSliDistributionCutRangePtrOutput

type SloRequestBasedSliGoodTotalRatio

type SloRequestBasedSliGoodTotalRatio struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying bad service provided, either demanded service that
	// was not provided or demanded service that was of inadequate
	// quality. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	BadServiceFilter *string `pulumi:"badServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying good service provided. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	GoodServiceFilter *string `pulumi:"goodServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying total demanded service. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	TotalServiceFilter *string `pulumi:"totalServiceFilter"`
}

type SloRequestBasedSliGoodTotalRatioArgs

type SloRequestBasedSliGoodTotalRatioArgs struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying bad service provided, either demanded service that
	// was not provided or demanded service that was of inadequate
	// quality. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	BadServiceFilter pulumi.StringPtrInput `pulumi:"badServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying good service provided. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	GoodServiceFilter pulumi.StringPtrInput `pulumi:"goodServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying total demanded service. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	TotalServiceFilter pulumi.StringPtrInput `pulumi:"totalServiceFilter"`
}

func (SloRequestBasedSliGoodTotalRatioArgs) ElementType

func (SloRequestBasedSliGoodTotalRatioArgs) ToOutput added in v6.65.1

func (SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioOutput

func (i SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioOutput() SloRequestBasedSliGoodTotalRatioOutput

func (SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioOutputWithContext

func (i SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioOutputWithContext(ctx context.Context) SloRequestBasedSliGoodTotalRatioOutput

func (SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioPtrOutput

func (i SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioPtrOutput() SloRequestBasedSliGoodTotalRatioPtrOutput

func (SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioPtrOutputWithContext

func (i SloRequestBasedSliGoodTotalRatioArgs) ToSloRequestBasedSliGoodTotalRatioPtrOutputWithContext(ctx context.Context) SloRequestBasedSliGoodTotalRatioPtrOutput

type SloRequestBasedSliGoodTotalRatioInput

type SloRequestBasedSliGoodTotalRatioInput interface {
	pulumi.Input

	ToSloRequestBasedSliGoodTotalRatioOutput() SloRequestBasedSliGoodTotalRatioOutput
	ToSloRequestBasedSliGoodTotalRatioOutputWithContext(context.Context) SloRequestBasedSliGoodTotalRatioOutput
}

SloRequestBasedSliGoodTotalRatioInput is an input type that accepts SloRequestBasedSliGoodTotalRatioArgs and SloRequestBasedSliGoodTotalRatioOutput values. You can construct a concrete instance of `SloRequestBasedSliGoodTotalRatioInput` via:

SloRequestBasedSliGoodTotalRatioArgs{...}

type SloRequestBasedSliGoodTotalRatioOutput

type SloRequestBasedSliGoodTotalRatioOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliGoodTotalRatioOutput) BadServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying bad service provided, either demanded service that was not provided or demanded service that was of inadequate quality. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloRequestBasedSliGoodTotalRatioOutput) ElementType

func (SloRequestBasedSliGoodTotalRatioOutput) GoodServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying good service provided. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloRequestBasedSliGoodTotalRatioOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioOutput

func (o SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioOutput() SloRequestBasedSliGoodTotalRatioOutput

func (SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioOutputWithContext

func (o SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioOutputWithContext(ctx context.Context) SloRequestBasedSliGoodTotalRatioOutput

func (SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutput

func (o SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutput() SloRequestBasedSliGoodTotalRatioPtrOutput

func (SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutputWithContext

func (o SloRequestBasedSliGoodTotalRatioOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutputWithContext(ctx context.Context) SloRequestBasedSliGoodTotalRatioPtrOutput

func (SloRequestBasedSliGoodTotalRatioOutput) TotalServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying total demanded service. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

type SloRequestBasedSliGoodTotalRatioPtrInput

type SloRequestBasedSliGoodTotalRatioPtrInput interface {
	pulumi.Input

	ToSloRequestBasedSliGoodTotalRatioPtrOutput() SloRequestBasedSliGoodTotalRatioPtrOutput
	ToSloRequestBasedSliGoodTotalRatioPtrOutputWithContext(context.Context) SloRequestBasedSliGoodTotalRatioPtrOutput
}

SloRequestBasedSliGoodTotalRatioPtrInput is an input type that accepts SloRequestBasedSliGoodTotalRatioArgs, SloRequestBasedSliGoodTotalRatioPtr and SloRequestBasedSliGoodTotalRatioPtrOutput values. You can construct a concrete instance of `SloRequestBasedSliGoodTotalRatioPtrInput` via:

        SloRequestBasedSliGoodTotalRatioArgs{...}

or:

        nil

type SloRequestBasedSliGoodTotalRatioPtrOutput

type SloRequestBasedSliGoodTotalRatioPtrOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliGoodTotalRatioPtrOutput) BadServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying bad service provided, either demanded service that was not provided or demanded service that was of inadequate quality. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloRequestBasedSliGoodTotalRatioPtrOutput) Elem

func (SloRequestBasedSliGoodTotalRatioPtrOutput) ElementType

func (SloRequestBasedSliGoodTotalRatioPtrOutput) GoodServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying good service provided. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloRequestBasedSliGoodTotalRatioPtrOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliGoodTotalRatioPtrOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutput

func (o SloRequestBasedSliGoodTotalRatioPtrOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutput() SloRequestBasedSliGoodTotalRatioPtrOutput

func (SloRequestBasedSliGoodTotalRatioPtrOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutputWithContext

func (o SloRequestBasedSliGoodTotalRatioPtrOutput) ToSloRequestBasedSliGoodTotalRatioPtrOutputWithContext(ctx context.Context) SloRequestBasedSliGoodTotalRatioPtrOutput

func (SloRequestBasedSliGoodTotalRatioPtrOutput) TotalServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying total demanded service. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

type SloRequestBasedSliInput

type SloRequestBasedSliInput interface {
	pulumi.Input

	ToSloRequestBasedSliOutput() SloRequestBasedSliOutput
	ToSloRequestBasedSliOutputWithContext(context.Context) SloRequestBasedSliOutput
}

SloRequestBasedSliInput is an input type that accepts SloRequestBasedSliArgs and SloRequestBasedSliOutput values. You can construct a concrete instance of `SloRequestBasedSliInput` via:

SloRequestBasedSliArgs{...}

type SloRequestBasedSliOutput

type SloRequestBasedSliOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliOutput) DistributionCut

Used when goodService is defined by a count of values aggregated in a Distribution that fall into a good range. The totalService is the total count of all values aggregated in the Distribution. Defines a distribution TimeSeries filter and thresholds used for measuring good service and total service. Exactly one of `distributionCut` or `goodTotalRatio` can be set. Structure is documented below.

func (SloRequestBasedSliOutput) ElementType

func (SloRequestBasedSliOutput) ElementType() reflect.Type

func (SloRequestBasedSliOutput) GoodTotalRatio

A means to compute a ratio of `goodService` to `totalService`. Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters) Must specify exactly two of good, bad, and total service filters. The relationship goodService + badService = totalService will be assumed. Exactly one of `distributionCut` or `goodTotalRatio` can be set. Structure is documented below.

func (SloRequestBasedSliOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliOutput) ToSloRequestBasedSliOutput

func (o SloRequestBasedSliOutput) ToSloRequestBasedSliOutput() SloRequestBasedSliOutput

func (SloRequestBasedSliOutput) ToSloRequestBasedSliOutputWithContext

func (o SloRequestBasedSliOutput) ToSloRequestBasedSliOutputWithContext(ctx context.Context) SloRequestBasedSliOutput

func (SloRequestBasedSliOutput) ToSloRequestBasedSliPtrOutput

func (o SloRequestBasedSliOutput) ToSloRequestBasedSliPtrOutput() SloRequestBasedSliPtrOutput

func (SloRequestBasedSliOutput) ToSloRequestBasedSliPtrOutputWithContext

func (o SloRequestBasedSliOutput) ToSloRequestBasedSliPtrOutputWithContext(ctx context.Context) SloRequestBasedSliPtrOutput

type SloRequestBasedSliPtrInput

type SloRequestBasedSliPtrInput interface {
	pulumi.Input

	ToSloRequestBasedSliPtrOutput() SloRequestBasedSliPtrOutput
	ToSloRequestBasedSliPtrOutputWithContext(context.Context) SloRequestBasedSliPtrOutput
}

SloRequestBasedSliPtrInput is an input type that accepts SloRequestBasedSliArgs, SloRequestBasedSliPtr and SloRequestBasedSliPtrOutput values. You can construct a concrete instance of `SloRequestBasedSliPtrInput` via:

        SloRequestBasedSliArgs{...}

or:

        nil

type SloRequestBasedSliPtrOutput

type SloRequestBasedSliPtrOutput struct{ *pulumi.OutputState }

func (SloRequestBasedSliPtrOutput) DistributionCut

Used when goodService is defined by a count of values aggregated in a Distribution that fall into a good range. The totalService is the total count of all values aggregated in the Distribution. Defines a distribution TimeSeries filter and thresholds used for measuring good service and total service. Exactly one of `distributionCut` or `goodTotalRatio` can be set. Structure is documented below.

func (SloRequestBasedSliPtrOutput) Elem

func (SloRequestBasedSliPtrOutput) ElementType

func (SloRequestBasedSliPtrOutput) GoodTotalRatio

A means to compute a ratio of `goodService` to `totalService`. Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters) Must specify exactly two of good, bad, and total service filters. The relationship goodService + badService = totalService will be assumed. Exactly one of `distributionCut` or `goodTotalRatio` can be set. Structure is documented below.

func (SloRequestBasedSliPtrOutput) ToOutput added in v6.65.1

func (SloRequestBasedSliPtrOutput) ToSloRequestBasedSliPtrOutput

func (o SloRequestBasedSliPtrOutput) ToSloRequestBasedSliPtrOutput() SloRequestBasedSliPtrOutput

func (SloRequestBasedSliPtrOutput) ToSloRequestBasedSliPtrOutputWithContext

func (o SloRequestBasedSliPtrOutput) ToSloRequestBasedSliPtrOutputWithContext(ctx context.Context) SloRequestBasedSliPtrOutput

type SloState

type SloState struct {
	// Basic Service-Level Indicator (SLI) on a well-known service type.
	// Performance will be computed on the basis of pre-defined metrics.
	// SLIs are used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	BasicSli SloBasicSliPtrInput
	// A calendar period, semantically "since the start of the current
	// <calendarPeriod>".
	// Possible values are: `DAY`, `WEEK`, `FORTNIGHT`, `MONTH`.
	CalendarPeriod pulumi.StringPtrInput
	// Name used for UI elements listing this SLO.
	DisplayName pulumi.StringPtrInput
	// The fraction of service that must be good in order for this objective
	// to be met. 0 < goal <= 0.999
	Goal pulumi.Float64PtrInput
	// The full resource name for this service. The syntax is:
	// projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// A request-based SLI defines a SLI for which atomic units of
	// service are counted directly.
	// A SLI describes a good service.
	// It is used to measure and calculate the quality of the Service's
	// performance with respect to a single aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	RequestBasedSli SloRequestBasedSliPtrInput
	// A rolling time period, semantically "in the past X days".
	// Must be between 1 to 30 days, inclusive.
	RollingPeriodDays pulumi.IntPtrInput
	// ID of the service to which this SLO belongs.
	//
	// ***
	Service pulumi.StringPtrInput
	// The id to use for this ServiceLevelObjective. If omitted, an id will be generated instead.
	SloId pulumi.StringPtrInput
	// This field is intended to be used for organizing and identifying the AlertPolicy
	// objects.The field can contain up to 64 entries. Each key and value is limited
	// to 63 Unicode characters or 128 bytes, whichever is smaller. Labels and values
	// can contain only lowercase letters, numerals, underscores, and dashes. Keys
	// must begin with a letter.
	UserLabels pulumi.StringMapInput
	// A windows-based SLI defines the criteria for time windows.
	// goodService is defined based off the count of these time windows
	// for which the provided service was of good quality.
	// A SLI describes a good service. It is used to measure and calculate
	// the quality of the Service's performance with respect to a single
	// aspect of service quality.
	// Exactly one of the following must be set:
	// `basicSli`, `requestBasedSli`, `windowsBasedSli`
	// Structure is documented below.
	WindowsBasedSli SloWindowsBasedSliPtrInput
}

func (SloState) ElementType

func (SloState) ElementType() reflect.Type

type SloWindowsBasedSli

type SloWindowsBasedSli struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// with ValueType = BOOL. The window is good if any true values
	// appear in the window. One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	GoodBadMetricFilter *string `pulumi:"goodBadMetricFilter"`
	// Criterion that describes a window as good if its performance is
	// high enough. One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	// Structure is documented below.
	GoodTotalRatioThreshold *SloWindowsBasedSliGoodTotalRatioThreshold `pulumi:"goodTotalRatioThreshold"`
	// Criterion that describes a window as good if the metric's value
	// is in a good range, *averaged* across returned streams.
	// One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	// Average value X of `timeSeries` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// Structure is documented below.
	MetricMeanInRange *SloWindowsBasedSliMetricMeanInRange `pulumi:"metricMeanInRange"`
	// Criterion that describes a window as good if the metric's value
	// is in a good range, *summed* across returned streams.
	// Summed value `X` of `timeSeries` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	// Structure is documented below.
	MetricSumInRange *SloWindowsBasedSliMetricSumInRange `pulumi:"metricSumInRange"`
	// Duration over which window quality is evaluated, given as a
	// duration string "{X}s" representing X seconds. Must be an
	// integer fraction of a day and at least 60s.
	WindowPeriod *string `pulumi:"windowPeriod"`
}

type SloWindowsBasedSliArgs

type SloWindowsBasedSliArgs struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// with ValueType = BOOL. The window is good if any true values
	// appear in the window. One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	GoodBadMetricFilter pulumi.StringPtrInput `pulumi:"goodBadMetricFilter"`
	// Criterion that describes a window as good if its performance is
	// high enough. One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	// Structure is documented below.
	GoodTotalRatioThreshold SloWindowsBasedSliGoodTotalRatioThresholdPtrInput `pulumi:"goodTotalRatioThreshold"`
	// Criterion that describes a window as good if the metric's value
	// is in a good range, *averaged* across returned streams.
	// One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	// Average value X of `timeSeries` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// Structure is documented below.
	MetricMeanInRange SloWindowsBasedSliMetricMeanInRangePtrInput `pulumi:"metricMeanInRange"`
	// Criterion that describes a window as good if the metric's value
	// is in a good range, *summed* across returned streams.
	// Summed value `X` of `timeSeries` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// One of `goodBadMetricFilter`,
	// `goodTotalRatioThreshold`, `metricMeanInRange`,
	// `metricSumInRange` must be set for `windowsBasedSli`.
	// Structure is documented below.
	MetricSumInRange SloWindowsBasedSliMetricSumInRangePtrInput `pulumi:"metricSumInRange"`
	// Duration over which window quality is evaluated, given as a
	// duration string "{X}s" representing X seconds. Must be an
	// integer fraction of a day and at least 60s.
	WindowPeriod pulumi.StringPtrInput `pulumi:"windowPeriod"`
}

func (SloWindowsBasedSliArgs) ElementType

func (SloWindowsBasedSliArgs) ElementType() reflect.Type

func (SloWindowsBasedSliArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliArgs) ToSloWindowsBasedSliOutput

func (i SloWindowsBasedSliArgs) ToSloWindowsBasedSliOutput() SloWindowsBasedSliOutput

func (SloWindowsBasedSliArgs) ToSloWindowsBasedSliOutputWithContext

func (i SloWindowsBasedSliArgs) ToSloWindowsBasedSliOutputWithContext(ctx context.Context) SloWindowsBasedSliOutput

func (SloWindowsBasedSliArgs) ToSloWindowsBasedSliPtrOutput

func (i SloWindowsBasedSliArgs) ToSloWindowsBasedSliPtrOutput() SloWindowsBasedSliPtrOutput

func (SloWindowsBasedSliArgs) ToSloWindowsBasedSliPtrOutputWithContext

func (i SloWindowsBasedSliArgs) ToSloWindowsBasedSliPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliPtrOutput

type SloWindowsBasedSliGoodTotalRatioThreshold

type SloWindowsBasedSliGoodTotalRatioThreshold struct {
	// Basic SLI to evaluate to judge window quality.
	// Structure is documented below.
	BasicSliPerformance *SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance `pulumi:"basicSliPerformance"`
	// Request-based SLI to evaluate to judge window quality.
	// Structure is documented below.
	Performance *SloWindowsBasedSliGoodTotalRatioThresholdPerformance `pulumi:"performance"`
	// If window performance >= threshold, the window is counted
	// as good.
	Threshold *float64 `pulumi:"threshold"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdArgs

type SloWindowsBasedSliGoodTotalRatioThresholdArgs struct {
	// Basic SLI to evaluate to judge window quality.
	// Structure is documented below.
	BasicSliPerformance SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrInput `pulumi:"basicSliPerformance"`
	// Request-based SLI to evaluate to judge window quality.
	// Structure is documented below.
	Performance SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrInput `pulumi:"performance"`
	// If window performance >= threshold, the window is counted
	// as good.
	Threshold pulumi.Float64PtrInput `pulumi:"threshold"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdOutput

func (i SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdOutput() SloWindowsBasedSliGoodTotalRatioThresholdOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

func (i SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformance struct {
	// Availability based SLI, dervied from count of requests made to this service that return successfully.
	// Structure is documented below.
	Availability *SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability `pulumi:"availability"`
	// Parameters for a latency threshold SLI.
	// Structure is documented below.
	Latency *SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency `pulumi:"latency"`
	// An optional set of locations to which this SLI is relevant.
	// Telemetry from other locations will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// locations in which the Service has activity. For service types
	// that don't support breaking down by location, setting this
	// field will result in an error.
	Locations []string `pulumi:"locations"`
	// An optional set of RPCs to which this SLI is relevant.
	// Telemetry from other methods will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// the Service's methods. For service types that don't support
	// breaking down by method, setting this field will result in an
	// error.
	Methods []string `pulumi:"methods"`
	// The set of API versions to which this SLI is relevant.
	// Telemetry from other API versions will not be used to
	// calculate performance for this SLI. If omitted,
	// this SLI applies to all API versions. For service types
	// that don't support breaking down by version, setting this
	// field will result in an error.
	Versions []string `pulumi:"versions"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs struct {
	// Availability based SLI, dervied from count of requests made to this service that return successfully.
	// Structure is documented below.
	Availability SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrInput `pulumi:"availability"`
	// Parameters for a latency threshold SLI.
	// Structure is documented below.
	Latency SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrInput `pulumi:"latency"`
	// An optional set of locations to which this SLI is relevant.
	// Telemetry from other locations will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// locations in which the Service has activity. For service types
	// that don't support breaking down by location, setting this
	// field will result in an error.
	Locations pulumi.StringArrayInput `pulumi:"locations"`
	// An optional set of RPCs to which this SLI is relevant.
	// Telemetry from other methods will not be used to calculate
	// performance for this SLI. If omitted, this SLI applies to all
	// the Service's methods. For service types that don't support
	// breaking down by method, setting this field will result in an
	// error.
	Methods pulumi.StringArrayInput `pulumi:"methods"`
	// The set of API versions to which this SLI is relevant.
	// Telemetry from other API versions will not be used to
	// calculate performance for this SLI. If omitted,
	// this SLI applies to all API versions. For service types
	// that don't support breaking down by version, setting this
	// field will result in an error.
	Versions pulumi.StringArrayInput `pulumi:"versions"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailability struct {
	// Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to  `true`.
	Enabled *bool `pulumi:"enabled"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs struct {
	// Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to  `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityInput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput() SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs and SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput) Enabled

Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to `true`.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutputWithContext

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs, SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtr and SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput) Enabled

Whether an availability SLI is enabled or not. Must be set to ` true. Defaults to `true`.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceAvailabilityPtrOutputWithContext

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceInput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput() SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs and SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatency struct {
	// A duration string, e.g. 10s.
	// Good service is defined to be the count of requests made to
	// this service that return in no more than threshold.
	Threshold string `pulumi:"threshold"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs struct {
	// A duration string, e.g. 10s.
	// Good service is defined to be the count of requests made to
	// this service that return in no more than threshold.
	Threshold pulumi.StringInput `pulumi:"threshold"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyInput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput() SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs and SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) Threshold

A duration string, e.g. 10s. Good service is defined to be the count of requests made to this service that return in no more than threshold.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs, SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtr and SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput) Threshold

A duration string, e.g. 10s. Good service is defined to be the count of requests made to this service that return in no more than threshold.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceLatencyPtrOutputWithContext

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) Availability

Availability based SLI, dervied from count of requests made to this service that return successfully. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) Latency

Parameters for a latency threshold SLI. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) Locations

An optional set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) Methods

An optional set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceOutput) Versions

The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs, SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtr and SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformanceArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) Availability

Availability based SLI, dervied from count of requests made to this service that return successfully. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) Latency

Parameters for a latency threshold SLI. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) Locations

An optional set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) Methods

An optional set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error.

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdBasicSliPerformancePtrOutput) Versions

The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error.

type SloWindowsBasedSliGoodTotalRatioThresholdInput

type SloWindowsBasedSliGoodTotalRatioThresholdInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdOutput() SloWindowsBasedSliGoodTotalRatioThresholdOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdArgs and SloWindowsBasedSliGoodTotalRatioThresholdOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdOutput

type SloWindowsBasedSliGoodTotalRatioThresholdOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) BasicSliPerformance

Basic SLI to evaluate to judge window quality. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) Performance

Request-based SLI to evaluate to judge window quality. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) Threshold

If window performance >= threshold, the window is counted as good.

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdOutput

func (o SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdOutput() SloWindowsBasedSliGoodTotalRatioThresholdOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

func (o SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformance

type SloWindowsBasedSliGoodTotalRatioThresholdPerformance struct {
	// Used when goodService is defined by a count of values aggregated in a
	// Distribution that fall into a good range. The totalService is the
	// total count of all values aggregated in the Distribution.
	// Defines a distribution TimeSeries filter and thresholds used for
	// measuring good service and total service.
	// Structure is documented below.
	DistributionCut *SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut `pulumi:"distributionCut"`
	// A means to compute a ratio of `goodService` to `totalService`.
	// Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters)
	// Must specify exactly two of good, bad, and total service filters.
	// The relationship goodService + badService = totalService
	// will be assumed.
	// Structure is documented below.
	GoodTotalRatio *SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatio `pulumi:"goodTotalRatio"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs struct {
	// Used when goodService is defined by a count of values aggregated in a
	// Distribution that fall into a good range. The totalService is the
	// total count of all values aggregated in the Distribution.
	// Defines a distribution TimeSeries filter and thresholds used for
	// measuring good service and total service.
	// Structure is documented below.
	DistributionCut SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrInput `pulumi:"distributionCut"`
	// A means to compute a ratio of `goodService` to `totalService`.
	// Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters)
	// Must specify exactly two of good, bad, and total service filters.
	// The relationship goodService + badService = totalService
	// will be assumed.
	// Structure is documented below.
	GoodTotalRatio SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrInput `pulumi:"goodTotalRatio"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCut struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// aggregating values to quantify the good service provided.
	// Must have ValueType = DISTRIBUTION and
	// MetricKind = DELTA or MetricKind = CUMULATIVE.
	DistributionFilter string `pulumi:"distributionFilter"`
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max.
	// Structure is documented below.
	Range SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange `pulumi:"range"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// aggregating values to quantify the good service provided.
	// Must have ValueType = DISTRIBUTION and
	// MetricKind = DELTA or MetricKind = CUMULATIVE.
	DistributionFilter pulumi.StringInput `pulumi:"distributionFilter"`
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max.
	// Structure is documented below.
	Range SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeInput `pulumi:"range"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs and SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) DistributionFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) aggregating values to quantify the good service provided. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs, SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtr and SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput) DistributionFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) aggregating values to quantify the good service provided. Must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutPtrOutputWithContext

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRange struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max *float64 `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min *float64 `pulumi:"min"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max pulumi.Float64PtrInput `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min pulumi.Float64PtrInput `pulumi:"min"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs and SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutputWithContext

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs, SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtr and SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangePtrOutputWithContext

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatio

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatio struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying bad service provided, either demanded service that
	// was not provided or demanded service that was of inadequate
	// quality. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	BadServiceFilter *string `pulumi:"badServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying good service provided. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	GoodServiceFilter *string `pulumi:"goodServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying total demanded service. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	TotalServiceFilter *string `pulumi:"totalServiceFilter"`
}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs struct {
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying bad service provided, either demanded service that
	// was not provided or demanded service that was of inadequate
	// quality. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	BadServiceFilter pulumi.StringPtrInput `pulumi:"badServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying good service provided. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	GoodServiceFilter pulumi.StringPtrInput `pulumi:"goodServiceFilter"`
	// A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// quantifying total demanded service. Exactly two of
	// good, bad, or total service filter must be defined (where
	// good + bad = total is assumed)
	// Must have ValueType = DOUBLE or ValueType = INT64 and
	// must have MetricKind = DELTA or MetricKind = CUMULATIVE.
	TotalServiceFilter pulumi.StringPtrInput `pulumi:"totalServiceFilter"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutputWithContext

func (i SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs and SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) BadServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying bad service provided, either demanded service that was not provided or demanded service that was of inadequate quality. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) GoodServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying good service provided. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioOutput) TotalServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying total demanded service. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs, SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtr and SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) BadServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying bad service provided, either demanded service that was not provided or demanded service that was of inadequate quality. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) GoodServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying good service provided. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutputWithContext

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceGoodTotalRatioPtrOutput) TotalServiceFilter

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) quantifying total demanded service. Exactly two of good, bad, or total service filter must be defined (where good + bad = total is assumed) Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs and SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformanceInput` via:

SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs{...}

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) DistributionCut

Used when goodService is defined by a count of values aggregated in a Distribution that fall into a good range. The totalService is the total count of all values aggregated in the Distribution. Defines a distribution TimeSeries filter and thresholds used for measuring good service and total service. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) GoodTotalRatio

A means to compute a ratio of `goodService` to `totalService`. Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters) Must specify exactly two of good, bad, and total service filters. The relationship goodService + badService = totalService will be assumed. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdPerformanceOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs, SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtr and SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdPerformanceArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) DistributionCut

Used when goodService is defined by a count of values aggregated in a Distribution that fall into a good range. The totalService is the total count of all values aggregated in the Distribution. Defines a distribution TimeSeries filter and thresholds used for measuring good service and total service. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) GoodTotalRatio

A means to compute a ratio of `goodService` to `totalService`. Defines computing this ratio with two TimeSeries [monitoring filters](https://cloud.google.com/monitoring/api/v3/filters) Must specify exactly two of good, bad, and total service filters. The relationship goodService + badService = totalService will be assumed. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPerformancePtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPtrInput

type SloWindowsBasedSliGoodTotalRatioThresholdPtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput
	ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutputWithContext(context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput
}

SloWindowsBasedSliGoodTotalRatioThresholdPtrInput is an input type that accepts SloWindowsBasedSliGoodTotalRatioThresholdArgs, SloWindowsBasedSliGoodTotalRatioThresholdPtr and SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliGoodTotalRatioThresholdPtrInput` via:

        SloWindowsBasedSliGoodTotalRatioThresholdArgs{...}

or:

        nil

type SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

type SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) BasicSliPerformance

Basic SLI to evaluate to judge window quality. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) Elem

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) ElementType

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) Performance

Request-based SLI to evaluate to judge window quality. Structure is documented below.

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) Threshold

If window performance >= threshold, the window is counted as good.

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

func (o SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutput() SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

func (SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutputWithContext

func (o SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput) ToSloWindowsBasedSliGoodTotalRatioThresholdPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliGoodTotalRatioThresholdPtrOutput

type SloWindowsBasedSliInput

type SloWindowsBasedSliInput interface {
	pulumi.Input

	ToSloWindowsBasedSliOutput() SloWindowsBasedSliOutput
	ToSloWindowsBasedSliOutputWithContext(context.Context) SloWindowsBasedSliOutput
}

SloWindowsBasedSliInput is an input type that accepts SloWindowsBasedSliArgs and SloWindowsBasedSliOutput values. You can construct a concrete instance of `SloWindowsBasedSliInput` via:

SloWindowsBasedSliArgs{...}

type SloWindowsBasedSliMetricMeanInRange

type SloWindowsBasedSliMetricMeanInRange struct {
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max. Mean value `X` of `timeSeries`
	// values should satisfy `range.min <= X <= range.max` for a
	// good service.
	// Structure is documented below.
	Range SloWindowsBasedSliMetricMeanInRangeRange `pulumi:"range"`
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying the TimeSeries to use for evaluating window
	// The provided TimeSeries must have ValueType = INT64 or
	// ValueType = DOUBLE and MetricKind = GAUGE. Mean value `X`
	// should satisfy `range.min <= X <= range.max`
	// under good service.
	TimeSeries string `pulumi:"timeSeries"`
}

type SloWindowsBasedSliMetricMeanInRangeArgs

type SloWindowsBasedSliMetricMeanInRangeArgs struct {
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max. Mean value `X` of `timeSeries`
	// values should satisfy `range.min <= X <= range.max` for a
	// good service.
	// Structure is documented below.
	Range SloWindowsBasedSliMetricMeanInRangeRangeInput `pulumi:"range"`
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying the TimeSeries to use for evaluating window
	// The provided TimeSeries must have ValueType = INT64 or
	// ValueType = DOUBLE and MetricKind = GAUGE. Mean value `X`
	// should satisfy `range.min <= X <= range.max`
	// under good service.
	TimeSeries pulumi.StringInput `pulumi:"timeSeries"`
}

func (SloWindowsBasedSliMetricMeanInRangeArgs) ElementType

func (SloWindowsBasedSliMetricMeanInRangeArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeOutput

func (i SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeOutput() SloWindowsBasedSliMetricMeanInRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeOutputWithContext

func (i SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangePtrOutput

func (i SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangePtrOutput() SloWindowsBasedSliMetricMeanInRangePtrOutput

func (SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangePtrOutputWithContext

func (i SloWindowsBasedSliMetricMeanInRangeArgs) ToSloWindowsBasedSliMetricMeanInRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangePtrOutput

type SloWindowsBasedSliMetricMeanInRangeInput

type SloWindowsBasedSliMetricMeanInRangeInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricMeanInRangeOutput() SloWindowsBasedSliMetricMeanInRangeOutput
	ToSloWindowsBasedSliMetricMeanInRangeOutputWithContext(context.Context) SloWindowsBasedSliMetricMeanInRangeOutput
}

SloWindowsBasedSliMetricMeanInRangeInput is an input type that accepts SloWindowsBasedSliMetricMeanInRangeArgs and SloWindowsBasedSliMetricMeanInRangeOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricMeanInRangeInput` via:

SloWindowsBasedSliMetricMeanInRangeArgs{...}

type SloWindowsBasedSliMetricMeanInRangeOutput

type SloWindowsBasedSliMetricMeanInRangeOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricMeanInRangeOutput) ElementType

func (SloWindowsBasedSliMetricMeanInRangeOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Mean value `X` of `timeSeries` values should satisfy `range.min <= X <= range.max` for a good service. Structure is documented below.

func (SloWindowsBasedSliMetricMeanInRangeOutput) TimeSeries

A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying the TimeSeries to use for evaluating window The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE. Mean value `X` should satisfy `range.min <= X <= range.max` under good service.

func (SloWindowsBasedSliMetricMeanInRangeOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeOutput

func (o SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeOutput() SloWindowsBasedSliMetricMeanInRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeOutputWithContext

func (o SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutput

func (o SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutput() SloWindowsBasedSliMetricMeanInRangePtrOutput

func (SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricMeanInRangeOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangePtrOutput

type SloWindowsBasedSliMetricMeanInRangePtrInput

type SloWindowsBasedSliMetricMeanInRangePtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricMeanInRangePtrOutput() SloWindowsBasedSliMetricMeanInRangePtrOutput
	ToSloWindowsBasedSliMetricMeanInRangePtrOutputWithContext(context.Context) SloWindowsBasedSliMetricMeanInRangePtrOutput
}

SloWindowsBasedSliMetricMeanInRangePtrInput is an input type that accepts SloWindowsBasedSliMetricMeanInRangeArgs, SloWindowsBasedSliMetricMeanInRangePtr and SloWindowsBasedSliMetricMeanInRangePtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricMeanInRangePtrInput` via:

        SloWindowsBasedSliMetricMeanInRangeArgs{...}

or:

        nil

type SloWindowsBasedSliMetricMeanInRangePtrOutput

type SloWindowsBasedSliMetricMeanInRangePtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricMeanInRangePtrOutput) Elem

func (SloWindowsBasedSliMetricMeanInRangePtrOutput) ElementType

func (SloWindowsBasedSliMetricMeanInRangePtrOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Mean value `X` of `timeSeries` values should satisfy `range.min <= X <= range.max` for a good service. Structure is documented below.

func (SloWindowsBasedSliMetricMeanInRangePtrOutput) TimeSeries

A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying the TimeSeries to use for evaluating window The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE. Mean value `X` should satisfy `range.min <= X <= range.max` under good service.

func (SloWindowsBasedSliMetricMeanInRangePtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricMeanInRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutput

func (o SloWindowsBasedSliMetricMeanInRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutput() SloWindowsBasedSliMetricMeanInRangePtrOutput

func (SloWindowsBasedSliMetricMeanInRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricMeanInRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangePtrOutput

type SloWindowsBasedSliMetricMeanInRangeRange

type SloWindowsBasedSliMetricMeanInRangeRange struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max *float64 `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min *float64 `pulumi:"min"`
}

type SloWindowsBasedSliMetricMeanInRangeRangeArgs

type SloWindowsBasedSliMetricMeanInRangeRangeArgs struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max pulumi.Float64PtrInput `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min pulumi.Float64PtrInput `pulumi:"min"`
}

func (SloWindowsBasedSliMetricMeanInRangeRangeArgs) ElementType

func (SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangeOutput

func (i SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangeOutput() SloWindowsBasedSliMetricMeanInRangeRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangeOutputWithContext

func (i SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangeRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutput

func (i SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutput() SloWindowsBasedSliMetricMeanInRangeRangePtrOutput

func (SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutputWithContext

func (i SloWindowsBasedSliMetricMeanInRangeRangeArgs) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangeRangePtrOutput

type SloWindowsBasedSliMetricMeanInRangeRangeInput

type SloWindowsBasedSliMetricMeanInRangeRangeInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricMeanInRangeRangeOutput() SloWindowsBasedSliMetricMeanInRangeRangeOutput
	ToSloWindowsBasedSliMetricMeanInRangeRangeOutputWithContext(context.Context) SloWindowsBasedSliMetricMeanInRangeRangeOutput
}

SloWindowsBasedSliMetricMeanInRangeRangeInput is an input type that accepts SloWindowsBasedSliMetricMeanInRangeRangeArgs and SloWindowsBasedSliMetricMeanInRangeRangeOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricMeanInRangeRangeInput` via:

SloWindowsBasedSliMetricMeanInRangeRangeArgs{...}

type SloWindowsBasedSliMetricMeanInRangeRangeOutput

type SloWindowsBasedSliMetricMeanInRangeRangeOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) ElementType

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangeOutput

func (o SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangeOutput() SloWindowsBasedSliMetricMeanInRangeRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangeOutputWithContext

func (o SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangeRangeOutput

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutput

func (o SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutput() SloWindowsBasedSliMetricMeanInRangeRangePtrOutput

func (SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricMeanInRangeRangeOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangeRangePtrOutput

type SloWindowsBasedSliMetricMeanInRangeRangePtrInput

type SloWindowsBasedSliMetricMeanInRangeRangePtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutput() SloWindowsBasedSliMetricMeanInRangeRangePtrOutput
	ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutputWithContext(context.Context) SloWindowsBasedSliMetricMeanInRangeRangePtrOutput
}

SloWindowsBasedSliMetricMeanInRangeRangePtrInput is an input type that accepts SloWindowsBasedSliMetricMeanInRangeRangeArgs, SloWindowsBasedSliMetricMeanInRangeRangePtr and SloWindowsBasedSliMetricMeanInRangeRangePtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricMeanInRangeRangePtrInput` via:

        SloWindowsBasedSliMetricMeanInRangeRangeArgs{...}

or:

        nil

type SloWindowsBasedSliMetricMeanInRangeRangePtrOutput

type SloWindowsBasedSliMetricMeanInRangeRangePtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) Elem

func (SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) ElementType

func (SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutput

func (o SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutput() SloWindowsBasedSliMetricMeanInRangeRangePtrOutput

func (SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricMeanInRangeRangePtrOutput) ToSloWindowsBasedSliMetricMeanInRangeRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricMeanInRangeRangePtrOutput

type SloWindowsBasedSliMetricSumInRange

type SloWindowsBasedSliMetricSumInRange struct {
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// Structure is documented below.
	Range SloWindowsBasedSliMetricSumInRangeRange `pulumi:"range"`
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying the TimeSeries to use for evaluating window
	// quality. The provided TimeSeries must have
	// ValueType = INT64 or ValueType = DOUBLE and
	// MetricKind = GAUGE.
	// Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	TimeSeries string `pulumi:"timeSeries"`
}

type SloWindowsBasedSliMetricSumInRangeArgs

type SloWindowsBasedSliMetricSumInRangeArgs struct {
	// Range of numerical values. The computed goodService
	// will be the count of values x in the Distribution such
	// that range.min <= x <= range.max. inclusive of min and
	// max. Open ranges can be defined by setting
	// just one of min or max. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// Structure is documented below.
	Range SloWindowsBasedSliMetricSumInRangeRangeInput `pulumi:"range"`
	// A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters)
	// specifying the TimeSeries to use for evaluating window
	// quality. The provided TimeSeries must have
	// ValueType = INT64 or ValueType = DOUBLE and
	// MetricKind = GAUGE.
	// Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	TimeSeries pulumi.StringInput `pulumi:"timeSeries"`
}

func (SloWindowsBasedSliMetricSumInRangeArgs) ElementType

func (SloWindowsBasedSliMetricSumInRangeArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangeOutput

func (i SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangeOutput() SloWindowsBasedSliMetricSumInRangeOutput

func (SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangeOutputWithContext

func (i SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangeOutput

func (SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangePtrOutput

func (i SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangePtrOutput() SloWindowsBasedSliMetricSumInRangePtrOutput

func (SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangePtrOutputWithContext

func (i SloWindowsBasedSliMetricSumInRangeArgs) ToSloWindowsBasedSliMetricSumInRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangePtrOutput

type SloWindowsBasedSliMetricSumInRangeInput

type SloWindowsBasedSliMetricSumInRangeInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricSumInRangeOutput() SloWindowsBasedSliMetricSumInRangeOutput
	ToSloWindowsBasedSliMetricSumInRangeOutputWithContext(context.Context) SloWindowsBasedSliMetricSumInRangeOutput
}

SloWindowsBasedSliMetricSumInRangeInput is an input type that accepts SloWindowsBasedSliMetricSumInRangeArgs and SloWindowsBasedSliMetricSumInRangeOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricSumInRangeInput` via:

SloWindowsBasedSliMetricSumInRangeArgs{...}

type SloWindowsBasedSliMetricSumInRangeOutput

type SloWindowsBasedSliMetricSumInRangeOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricSumInRangeOutput) ElementType

func (SloWindowsBasedSliMetricSumInRangeOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

func (SloWindowsBasedSliMetricSumInRangeOutput) TimeSeries

A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying the TimeSeries to use for evaluating window quality. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window.

func (SloWindowsBasedSliMetricSumInRangeOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangeOutput

func (o SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangeOutput() SloWindowsBasedSliMetricSumInRangeOutput

func (SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangeOutputWithContext

func (o SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangeOutput

func (SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutput

func (o SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutput() SloWindowsBasedSliMetricSumInRangePtrOutput

func (SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricSumInRangeOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangePtrOutput

type SloWindowsBasedSliMetricSumInRangePtrInput

type SloWindowsBasedSliMetricSumInRangePtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricSumInRangePtrOutput() SloWindowsBasedSliMetricSumInRangePtrOutput
	ToSloWindowsBasedSliMetricSumInRangePtrOutputWithContext(context.Context) SloWindowsBasedSliMetricSumInRangePtrOutput
}

SloWindowsBasedSliMetricSumInRangePtrInput is an input type that accepts SloWindowsBasedSliMetricSumInRangeArgs, SloWindowsBasedSliMetricSumInRangePtr and SloWindowsBasedSliMetricSumInRangePtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricSumInRangePtrInput` via:

        SloWindowsBasedSliMetricSumInRangeArgs{...}

or:

        nil

type SloWindowsBasedSliMetricSumInRangePtrOutput

type SloWindowsBasedSliMetricSumInRangePtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricSumInRangePtrOutput) Elem

func (SloWindowsBasedSliMetricSumInRangePtrOutput) ElementType

func (SloWindowsBasedSliMetricSumInRangePtrOutput) Range

Range of numerical values. The computed goodService will be the count of values x in the Distribution such that range.min <= x <= range.max. inclusive of min and max. Open ranges can be defined by setting just one of min or max. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

func (SloWindowsBasedSliMetricSumInRangePtrOutput) TimeSeries

A [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) specifying the TimeSeries to use for evaluating window quality. The provided TimeSeries must have ValueType = INT64 or ValueType = DOUBLE and MetricKind = GAUGE. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window.

func (SloWindowsBasedSliMetricSumInRangePtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricSumInRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutput

func (o SloWindowsBasedSliMetricSumInRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutput() SloWindowsBasedSliMetricSumInRangePtrOutput

func (SloWindowsBasedSliMetricSumInRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricSumInRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangePtrOutput

type SloWindowsBasedSliMetricSumInRangeRange

type SloWindowsBasedSliMetricSumInRangeRange struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max *float64 `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min *float64 `pulumi:"min"`
}

type SloWindowsBasedSliMetricSumInRangeRangeArgs

type SloWindowsBasedSliMetricSumInRangeRangeArgs struct {
	// max value for the range (inclusive). If not given,
	// will be set to "infinity", defining an open range
	// ">= range.min"
	Max pulumi.Float64PtrInput `pulumi:"max"`
	// Min value for the range (inclusive). If not given,
	// will be set to "-infinity", defining an open range
	// "< range.max"
	Min pulumi.Float64PtrInput `pulumi:"min"`
}

func (SloWindowsBasedSliMetricSumInRangeRangeArgs) ElementType

func (SloWindowsBasedSliMetricSumInRangeRangeArgs) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangeOutput

func (i SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangeOutput() SloWindowsBasedSliMetricSumInRangeRangeOutput

func (SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangeOutputWithContext

func (i SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangeRangeOutput

func (SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutput

func (i SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutput() SloWindowsBasedSliMetricSumInRangeRangePtrOutput

func (SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutputWithContext

func (i SloWindowsBasedSliMetricSumInRangeRangeArgs) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangeRangePtrOutput

type SloWindowsBasedSliMetricSumInRangeRangeInput

type SloWindowsBasedSliMetricSumInRangeRangeInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricSumInRangeRangeOutput() SloWindowsBasedSliMetricSumInRangeRangeOutput
	ToSloWindowsBasedSliMetricSumInRangeRangeOutputWithContext(context.Context) SloWindowsBasedSliMetricSumInRangeRangeOutput
}

SloWindowsBasedSliMetricSumInRangeRangeInput is an input type that accepts SloWindowsBasedSliMetricSumInRangeRangeArgs and SloWindowsBasedSliMetricSumInRangeRangeOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricSumInRangeRangeInput` via:

SloWindowsBasedSliMetricSumInRangeRangeArgs{...}

type SloWindowsBasedSliMetricSumInRangeRangeOutput

type SloWindowsBasedSliMetricSumInRangeRangeOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) ElementType

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangeOutput

func (o SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangeOutput() SloWindowsBasedSliMetricSumInRangeRangeOutput

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangeOutputWithContext

func (o SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangeOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangeRangeOutput

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutput

func (o SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutput() SloWindowsBasedSliMetricSumInRangeRangePtrOutput

func (SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricSumInRangeRangeOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangeRangePtrOutput

type SloWindowsBasedSliMetricSumInRangeRangePtrInput

type SloWindowsBasedSliMetricSumInRangeRangePtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliMetricSumInRangeRangePtrOutput() SloWindowsBasedSliMetricSumInRangeRangePtrOutput
	ToSloWindowsBasedSliMetricSumInRangeRangePtrOutputWithContext(context.Context) SloWindowsBasedSliMetricSumInRangeRangePtrOutput
}

SloWindowsBasedSliMetricSumInRangeRangePtrInput is an input type that accepts SloWindowsBasedSliMetricSumInRangeRangeArgs, SloWindowsBasedSliMetricSumInRangeRangePtr and SloWindowsBasedSliMetricSumInRangeRangePtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliMetricSumInRangeRangePtrInput` via:

        SloWindowsBasedSliMetricSumInRangeRangeArgs{...}

or:

        nil

type SloWindowsBasedSliMetricSumInRangeRangePtrOutput

type SloWindowsBasedSliMetricSumInRangeRangePtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliMetricSumInRangeRangePtrOutput) Elem

func (SloWindowsBasedSliMetricSumInRangeRangePtrOutput) ElementType

func (SloWindowsBasedSliMetricSumInRangeRangePtrOutput) Max

max value for the range (inclusive). If not given, will be set to "infinity", defining an open range ">= range.min"

func (SloWindowsBasedSliMetricSumInRangeRangePtrOutput) Min

Min value for the range (inclusive). If not given, will be set to "-infinity", defining an open range "< range.max"

func (SloWindowsBasedSliMetricSumInRangeRangePtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliMetricSumInRangeRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutput

func (o SloWindowsBasedSliMetricSumInRangeRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutput() SloWindowsBasedSliMetricSumInRangeRangePtrOutput

func (SloWindowsBasedSliMetricSumInRangeRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutputWithContext

func (o SloWindowsBasedSliMetricSumInRangeRangePtrOutput) ToSloWindowsBasedSliMetricSumInRangeRangePtrOutputWithContext(ctx context.Context) SloWindowsBasedSliMetricSumInRangeRangePtrOutput

type SloWindowsBasedSliOutput

type SloWindowsBasedSliOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliOutput) ElementType

func (SloWindowsBasedSliOutput) ElementType() reflect.Type

func (SloWindowsBasedSliOutput) GoodBadMetricFilter

func (o SloWindowsBasedSliOutput) GoodBadMetricFilter() pulumi.StringPtrOutput

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) with ValueType = BOOL. The window is good if any true values appear in the window. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`.

func (SloWindowsBasedSliOutput) GoodTotalRatioThreshold

Criterion that describes a window as good if its performance is high enough. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`. Structure is documented below.

func (SloWindowsBasedSliOutput) MetricMeanInRange

Criterion that describes a window as good if the metric's value is in a good range, *averaged* across returned streams. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`. Average value X of `timeSeries` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

func (SloWindowsBasedSliOutput) MetricSumInRange

Criterion that describes a window as good if the metric's value is in a good range, *summed* across returned streams. Summed value `X` of `timeSeries` should satisfy `range.min <= X <= range.max` for a good window. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`. Structure is documented below.

func (SloWindowsBasedSliOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliOutput) ToSloWindowsBasedSliOutput

func (o SloWindowsBasedSliOutput) ToSloWindowsBasedSliOutput() SloWindowsBasedSliOutput

func (SloWindowsBasedSliOutput) ToSloWindowsBasedSliOutputWithContext

func (o SloWindowsBasedSliOutput) ToSloWindowsBasedSliOutputWithContext(ctx context.Context) SloWindowsBasedSliOutput

func (SloWindowsBasedSliOutput) ToSloWindowsBasedSliPtrOutput

func (o SloWindowsBasedSliOutput) ToSloWindowsBasedSliPtrOutput() SloWindowsBasedSliPtrOutput

func (SloWindowsBasedSliOutput) ToSloWindowsBasedSliPtrOutputWithContext

func (o SloWindowsBasedSliOutput) ToSloWindowsBasedSliPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliPtrOutput

func (SloWindowsBasedSliOutput) WindowPeriod

Duration over which window quality is evaluated, given as a duration string "{X}s" representing X seconds. Must be an integer fraction of a day and at least 60s.

type SloWindowsBasedSliPtrInput

type SloWindowsBasedSliPtrInput interface {
	pulumi.Input

	ToSloWindowsBasedSliPtrOutput() SloWindowsBasedSliPtrOutput
	ToSloWindowsBasedSliPtrOutputWithContext(context.Context) SloWindowsBasedSliPtrOutput
}

SloWindowsBasedSliPtrInput is an input type that accepts SloWindowsBasedSliArgs, SloWindowsBasedSliPtr and SloWindowsBasedSliPtrOutput values. You can construct a concrete instance of `SloWindowsBasedSliPtrInput` via:

        SloWindowsBasedSliArgs{...}

or:

        nil

type SloWindowsBasedSliPtrOutput

type SloWindowsBasedSliPtrOutput struct{ *pulumi.OutputState }

func (SloWindowsBasedSliPtrOutput) Elem

func (SloWindowsBasedSliPtrOutput) ElementType

func (SloWindowsBasedSliPtrOutput) GoodBadMetricFilter

func (o SloWindowsBasedSliPtrOutput) GoodBadMetricFilter() pulumi.StringPtrOutput

A TimeSeries [monitoring filter](https://cloud.google.com/monitoring/api/v3/filters) with ValueType = BOOL. The window is good if any true values appear in the window. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`.

func (SloWindowsBasedSliPtrOutput) GoodTotalRatioThreshold

Criterion that describes a window as good if its performance is high enough. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`. Structure is documented below.

func (SloWindowsBasedSliPtrOutput) MetricMeanInRange

Criterion that describes a window as good if the metric's value is in a good range, *averaged* across returned streams. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`. Average value X of `timeSeries` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

func (SloWindowsBasedSliPtrOutput) MetricSumInRange

Criterion that describes a window as good if the metric's value is in a good range, *summed* across returned streams. Summed value `X` of `timeSeries` should satisfy `range.min <= X <= range.max` for a good window. One of `goodBadMetricFilter`, `goodTotalRatioThreshold`, `metricMeanInRange`, `metricSumInRange` must be set for `windowsBasedSli`. Structure is documented below.

func (SloWindowsBasedSliPtrOutput) ToOutput added in v6.65.1

func (SloWindowsBasedSliPtrOutput) ToSloWindowsBasedSliPtrOutput

func (o SloWindowsBasedSliPtrOutput) ToSloWindowsBasedSliPtrOutput() SloWindowsBasedSliPtrOutput

func (SloWindowsBasedSliPtrOutput) ToSloWindowsBasedSliPtrOutputWithContext

func (o SloWindowsBasedSliPtrOutput) ToSloWindowsBasedSliPtrOutputWithContext(ctx context.Context) SloWindowsBasedSliPtrOutput

func (SloWindowsBasedSliPtrOutput) WindowPeriod

Duration over which window quality is evaluated, given as a duration string "{X}s" representing X seconds. Must be an integer fraction of a day and at least 60s.

type UptimeCheckConfig

type UptimeCheckConfig struct {
	pulumi.CustomResourceState

	// The checker type to use for the check. If the monitored resource type is servicedirectory_service, checkerType must be set to VPC_CHECKERS.
	// Possible values are: `STATIC_IP_CHECKERS`, `VPC_CHECKERS`.
	CheckerType pulumi.StringOutput `pulumi:"checkerType"`
	// The expected content on the page the check is run against. Currently, only the first entry in the list is supported, and other entries will be ignored. The server will look for an exact match of the string in the page response's content. This field is optional and should only be specified if a content match is required.
	// Structure is documented below.
	ContentMatchers UptimeCheckConfigContentMatcherArrayOutput `pulumi:"contentMatchers"`
	// A human-friendly name for the uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Contains information needed to make an HTTP or HTTPS check.
	// Structure is documented below.
	HttpCheck UptimeCheckConfigHttpCheckPtrOutput `pulumi:"httpCheck"`
	// The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks:  uptimeUrl  gceInstance  gaeApp  awsEc2Instance aws_elb_load_balancer  k8sService  servicedirectoryService
	// Structure is documented below.
	MonitoredResource UptimeCheckConfigMonitoredResourcePtrOutput `pulumi:"monitoredResource"`
	// The fully qualified name of the cloud function resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// How often, in seconds, the uptime check is performed. Currently, the only supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and 900s (15 minutes). Optional, defaults to 300s.
	Period pulumi.StringPtrOutput `pulumi:"period"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The group resource associated with the configuration.
	// Structure is documented below.
	ResourceGroup UptimeCheckConfigResourceGroupPtrOutput `pulumi:"resourceGroup"`
	// The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions to include a minimum of 3 locations must be provided, or an error message is returned. Not specifying this field will result in uptime checks running from all regions.
	SelectedRegions pulumi.StringArrayOutput `pulumi:"selectedRegions"`
	// A Synthetic Monitor deployed to a Cloud Functions V2 instance.
	// Structure is documented below.
	SyntheticMonitor UptimeCheckConfigSyntheticMonitorPtrOutput `pulumi:"syntheticMonitor"`
	// Contains information needed to make a TCP check.
	// Structure is documented below.
	TcpCheck UptimeCheckConfigTcpCheckPtrOutput `pulumi:"tcpCheck"`
	// The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Accepted formats https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration
	//
	// ***
	Timeout pulumi.StringOutput `pulumi:"timeout"`
	// The id of the uptime check
	UptimeCheckId pulumi.StringOutput `pulumi:"uptimeCheckId"`
}

This message configures which resources and services to monitor for availability.

To get more information about UptimeCheckConfig, see:

* [API documentation](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.uptimeCheckConfigs) * How-to Guides

> **Warning:** All arguments including `http_check.auth_info.password` will be stored in the raw state as plain-text.

## Example Usage ### Uptime Check Config Http

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewUptimeCheckConfig(ctx, "http", &monitoring.UptimeCheckConfigArgs{
			CheckerType: pulumi.String("STATIC_IP_CHECKERS"),
			ContentMatchers: monitoring.UptimeCheckConfigContentMatcherArray{
				&monitoring.UptimeCheckConfigContentMatcherArgs{
					Content: pulumi.String("\"example\""),
					JsonPathMatcher: &monitoring.UptimeCheckConfigContentMatcherJsonPathMatcherArgs{
						JsonMatcher: pulumi.String("EXACT_MATCH"),
						JsonPath:    pulumi.String("$.path"),
					},
					Matcher: pulumi.String("MATCHES_JSON_PATH"),
				},
			},
			DisplayName: pulumi.String("http-uptime-check"),
			HttpCheck: &monitoring.UptimeCheckConfigHttpCheckArgs{
				Body:          pulumi.String("Zm9vJTI1M0RiYXI="),
				ContentType:   pulumi.String("URL_ENCODED"),
				Path:          pulumi.String("some-path"),
				Port:          pulumi.Int(8010),
				RequestMethod: pulumi.String("POST"),
			},
			MonitoredResource: &monitoring.UptimeCheckConfigMonitoredResourceArgs{
				Labels: pulumi.StringMap{
					"host":      pulumi.String("192.168.1.1"),
					"projectId": pulumi.String("my-project-name"),
				},
				Type: pulumi.String("uptime_url"),
			},
			Timeout: pulumi.String("60s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Uptime Check Config Status Code

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewUptimeCheckConfig(ctx, "statusCode", &monitoring.UptimeCheckConfigArgs{
			CheckerType: pulumi.String("STATIC_IP_CHECKERS"),
			ContentMatchers: monitoring.UptimeCheckConfigContentMatcherArray{
				&monitoring.UptimeCheckConfigContentMatcherArgs{
					Content: pulumi.String("\"example\""),
					JsonPathMatcher: &monitoring.UptimeCheckConfigContentMatcherJsonPathMatcherArgs{
						JsonMatcher: pulumi.String("EXACT_MATCH"),
						JsonPath:    pulumi.String("$.path"),
					},
					Matcher: pulumi.String("MATCHES_JSON_PATH"),
				},
			},
			DisplayName: pulumi.String("http-uptime-check"),
			HttpCheck: &monitoring.UptimeCheckConfigHttpCheckArgs{
				AcceptedResponseStatusCodes: monitoring.UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray{
					&monitoring.UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs{
						StatusClass: pulumi.String("STATUS_CLASS_2XX"),
					},
					&monitoring.UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs{
						StatusValue: pulumi.Int(301),
					},
					&monitoring.UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs{
						StatusValue: pulumi.Int(302),
					},
				},
				Body:          pulumi.String("Zm9vJTI1M0RiYXI="),
				ContentType:   pulumi.String("URL_ENCODED"),
				Path:          pulumi.String("some-path"),
				Port:          pulumi.Int(8010),
				RequestMethod: pulumi.String("POST"),
			},
			MonitoredResource: &monitoring.UptimeCheckConfigMonitoredResourceArgs{
				Labels: pulumi.StringMap{
					"host":      pulumi.String("192.168.1.1"),
					"projectId": pulumi.String("my-project-name"),
				},
				Type: pulumi.String("uptime_url"),
			},
			Timeout: pulumi.String("60s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Uptime Check Config Https

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := monitoring.NewUptimeCheckConfig(ctx, "https", &monitoring.UptimeCheckConfigArgs{
			ContentMatchers: monitoring.UptimeCheckConfigContentMatcherArray{
				&monitoring.UptimeCheckConfigContentMatcherArgs{
					Content: pulumi.String("example"),
					JsonPathMatcher: &monitoring.UptimeCheckConfigContentMatcherJsonPathMatcherArgs{
						JsonMatcher: pulumi.String("REGEX_MATCH"),
						JsonPath:    pulumi.String("$.path"),
					},
					Matcher: pulumi.String("MATCHES_JSON_PATH"),
				},
			},
			DisplayName: pulumi.String("https-uptime-check"),
			HttpCheck: &monitoring.UptimeCheckConfigHttpCheckArgs{
				Path:        pulumi.String("/some-path"),
				Port:        pulumi.Int(443),
				UseSsl:      pulumi.Bool(true),
				ValidateSsl: pulumi.Bool(true),
			},
			MonitoredResource: &monitoring.UptimeCheckConfigMonitoredResourceArgs{
				Labels: pulumi.StringMap{
					"host":      pulumi.String("192.168.1.1"),
					"projectId": pulumi.String("my-project-name"),
				},
				Type: pulumi.String("uptime_url"),
			},
			Timeout: pulumi.String("60s"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Uptime Check Tcp

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		check, err := monitoring.NewGroup(ctx, "check", &monitoring.GroupArgs{
			DisplayName: pulumi.String("uptime-check-group"),
			Filter:      pulumi.String("resource.metadata.name=has_substring(\"foo\")"),
		})
		if err != nil {
			return err
		}
		_, err = monitoring.NewUptimeCheckConfig(ctx, "tcpGroup", &monitoring.UptimeCheckConfigArgs{
			DisplayName: pulumi.String("tcp-uptime-check"),
			Timeout:     pulumi.String("60s"),
			TcpCheck: &monitoring.UptimeCheckConfigTcpCheckArgs{
				Port: pulumi.Int(888),
			},
			ResourceGroup: &monitoring.UptimeCheckConfigResourceGroupArgs{
				ResourceType: pulumi.String("INSTANCE"),
				GroupId:      check.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Uptime Check Config Synthetic Monitor

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/cloudfunctionsv2"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/monitoring"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bucket, err := storage.NewBucket(ctx, "bucket", &storage.BucketArgs{
			Location:                 pulumi.String("US"),
			UniformBucketLevelAccess: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("synthetic-fn-source.zip"),
		})
		if err != nil {
			return err
		}
		function, err := cloudfunctionsv2.NewFunction(ctx, "function", &cloudfunctionsv2.FunctionArgs{
			Location: pulumi.String("us-central1"),
			BuildConfig: &cloudfunctionsv2.FunctionBuildConfigArgs{
				Runtime:    pulumi.String("nodejs16"),
				EntryPoint: pulumi.String("SyntheticFunction"),
				Source: &cloudfunctionsv2.FunctionBuildConfigSourceArgs{
					StorageSource: &cloudfunctionsv2.FunctionBuildConfigSourceStorageSourceArgs{
						Bucket: bucket.Name,
						Object: object.Name,
					},
				},
			},
			ServiceConfig: &cloudfunctionsv2.FunctionServiceConfigArgs{
				MaxInstanceCount: pulumi.Int(1),
				AvailableMemory:  pulumi.String("256M"),
				TimeoutSeconds:   pulumi.Int(60),
			},
		})
		if err != nil {
			return err
		}
		_, err = monitoring.NewUptimeCheckConfig(ctx, "syntheticMonitor", &monitoring.UptimeCheckConfigArgs{
			DisplayName: pulumi.String("synthetic_monitor"),
			Timeout:     pulumi.String("60s"),
			SyntheticMonitor: &monitoring.UptimeCheckConfigSyntheticMonitorArgs{
				CloudFunctionV2: &monitoring.UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args{
					Name: function.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

UptimeCheckConfig can be imported using any of these accepted formats:

```sh

$ pulumi import gcp:monitoring/uptimeCheckConfig:UptimeCheckConfig default {{name}}

```

func GetUptimeCheckConfig

func GetUptimeCheckConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UptimeCheckConfigState, opts ...pulumi.ResourceOption) (*UptimeCheckConfig, error)

GetUptimeCheckConfig gets an existing UptimeCheckConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUptimeCheckConfig

func NewUptimeCheckConfig(ctx *pulumi.Context,
	name string, args *UptimeCheckConfigArgs, opts ...pulumi.ResourceOption) (*UptimeCheckConfig, error)

NewUptimeCheckConfig registers a new resource with the given unique name, arguments, and options.

func (*UptimeCheckConfig) ElementType

func (*UptimeCheckConfig) ElementType() reflect.Type

func (*UptimeCheckConfig) ToOutput added in v6.65.1

func (*UptimeCheckConfig) ToUptimeCheckConfigOutput

func (i *UptimeCheckConfig) ToUptimeCheckConfigOutput() UptimeCheckConfigOutput

func (*UptimeCheckConfig) ToUptimeCheckConfigOutputWithContext

func (i *UptimeCheckConfig) ToUptimeCheckConfigOutputWithContext(ctx context.Context) UptimeCheckConfigOutput

type UptimeCheckConfigArgs

type UptimeCheckConfigArgs struct {
	// The checker type to use for the check. If the monitored resource type is servicedirectory_service, checkerType must be set to VPC_CHECKERS.
	// Possible values are: `STATIC_IP_CHECKERS`, `VPC_CHECKERS`.
	CheckerType pulumi.StringPtrInput
	// The expected content on the page the check is run against. Currently, only the first entry in the list is supported, and other entries will be ignored. The server will look for an exact match of the string in the page response's content. This field is optional and should only be specified if a content match is required.
	// Structure is documented below.
	ContentMatchers UptimeCheckConfigContentMatcherArrayInput
	// A human-friendly name for the uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.
	DisplayName pulumi.StringInput
	// Contains information needed to make an HTTP or HTTPS check.
	// Structure is documented below.
	HttpCheck UptimeCheckConfigHttpCheckPtrInput
	// The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks:  uptimeUrl  gceInstance  gaeApp  awsEc2Instance aws_elb_load_balancer  k8sService  servicedirectoryService
	// Structure is documented below.
	MonitoredResource UptimeCheckConfigMonitoredResourcePtrInput
	// How often, in seconds, the uptime check is performed. Currently, the only supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and 900s (15 minutes). Optional, defaults to 300s.
	Period pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The group resource associated with the configuration.
	// Structure is documented below.
	ResourceGroup UptimeCheckConfigResourceGroupPtrInput
	// The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions to include a minimum of 3 locations must be provided, or an error message is returned. Not specifying this field will result in uptime checks running from all regions.
	SelectedRegions pulumi.StringArrayInput
	// A Synthetic Monitor deployed to a Cloud Functions V2 instance.
	// Structure is documented below.
	SyntheticMonitor UptimeCheckConfigSyntheticMonitorPtrInput
	// Contains information needed to make a TCP check.
	// Structure is documented below.
	TcpCheck UptimeCheckConfigTcpCheckPtrInput
	// The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Accepted formats https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration
	//
	// ***
	Timeout pulumi.StringInput
}

The set of arguments for constructing a UptimeCheckConfig resource.

func (UptimeCheckConfigArgs) ElementType

func (UptimeCheckConfigArgs) ElementType() reflect.Type

type UptimeCheckConfigArray

type UptimeCheckConfigArray []UptimeCheckConfigInput

func (UptimeCheckConfigArray) ElementType

func (UptimeCheckConfigArray) ElementType() reflect.Type

func (UptimeCheckConfigArray) ToOutput added in v6.65.1

func (UptimeCheckConfigArray) ToUptimeCheckConfigArrayOutput

func (i UptimeCheckConfigArray) ToUptimeCheckConfigArrayOutput() UptimeCheckConfigArrayOutput

func (UptimeCheckConfigArray) ToUptimeCheckConfigArrayOutputWithContext

func (i UptimeCheckConfigArray) ToUptimeCheckConfigArrayOutputWithContext(ctx context.Context) UptimeCheckConfigArrayOutput

type UptimeCheckConfigArrayInput

type UptimeCheckConfigArrayInput interface {
	pulumi.Input

	ToUptimeCheckConfigArrayOutput() UptimeCheckConfigArrayOutput
	ToUptimeCheckConfigArrayOutputWithContext(context.Context) UptimeCheckConfigArrayOutput
}

UptimeCheckConfigArrayInput is an input type that accepts UptimeCheckConfigArray and UptimeCheckConfigArrayOutput values. You can construct a concrete instance of `UptimeCheckConfigArrayInput` via:

UptimeCheckConfigArray{ UptimeCheckConfigArgs{...} }

type UptimeCheckConfigArrayOutput

type UptimeCheckConfigArrayOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigArrayOutput) ElementType

func (UptimeCheckConfigArrayOutput) Index

func (UptimeCheckConfigArrayOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigArrayOutput) ToUptimeCheckConfigArrayOutput

func (o UptimeCheckConfigArrayOutput) ToUptimeCheckConfigArrayOutput() UptimeCheckConfigArrayOutput

func (UptimeCheckConfigArrayOutput) ToUptimeCheckConfigArrayOutputWithContext

func (o UptimeCheckConfigArrayOutput) ToUptimeCheckConfigArrayOutputWithContext(ctx context.Context) UptimeCheckConfigArrayOutput

type UptimeCheckConfigContentMatcher

type UptimeCheckConfigContentMatcher struct {
	// String or regex content to match (max 1024 bytes)
	Content string `pulumi:"content"`
	// Information needed to perform a JSONPath content match. Used for `ContentMatcherOption::MATCHES_JSON_PATH` and `ContentMatcherOption::NOT_MATCHES_JSON_PATH`.
	// Structure is documented below.
	JsonPathMatcher *UptimeCheckConfigContentMatcherJsonPathMatcher `pulumi:"jsonPathMatcher"`
	// The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
	// Default value is `CONTAINS_STRING`.
	// Possible values are: `CONTAINS_STRING`, `NOT_CONTAINS_STRING`, `MATCHES_REGEX`, `NOT_MATCHES_REGEX`, `MATCHES_JSON_PATH`, `NOT_MATCHES_JSON_PATH`.
	Matcher *string `pulumi:"matcher"`
}

type UptimeCheckConfigContentMatcherArgs

type UptimeCheckConfigContentMatcherArgs struct {
	// String or regex content to match (max 1024 bytes)
	Content pulumi.StringInput `pulumi:"content"`
	// Information needed to perform a JSONPath content match. Used for `ContentMatcherOption::MATCHES_JSON_PATH` and `ContentMatcherOption::NOT_MATCHES_JSON_PATH`.
	// Structure is documented below.
	JsonPathMatcher UptimeCheckConfigContentMatcherJsonPathMatcherPtrInput `pulumi:"jsonPathMatcher"`
	// The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
	// Default value is `CONTAINS_STRING`.
	// Possible values are: `CONTAINS_STRING`, `NOT_CONTAINS_STRING`, `MATCHES_REGEX`, `NOT_MATCHES_REGEX`, `MATCHES_JSON_PATH`, `NOT_MATCHES_JSON_PATH`.
	Matcher pulumi.StringPtrInput `pulumi:"matcher"`
}

func (UptimeCheckConfigContentMatcherArgs) ElementType

func (UptimeCheckConfigContentMatcherArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigContentMatcherArgs) ToUptimeCheckConfigContentMatcherOutput

func (i UptimeCheckConfigContentMatcherArgs) ToUptimeCheckConfigContentMatcherOutput() UptimeCheckConfigContentMatcherOutput

func (UptimeCheckConfigContentMatcherArgs) ToUptimeCheckConfigContentMatcherOutputWithContext

func (i UptimeCheckConfigContentMatcherArgs) ToUptimeCheckConfigContentMatcherOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherOutput

type UptimeCheckConfigContentMatcherArray

type UptimeCheckConfigContentMatcherArray []UptimeCheckConfigContentMatcherInput

func (UptimeCheckConfigContentMatcherArray) ElementType

func (UptimeCheckConfigContentMatcherArray) ToOutput added in v6.65.1

func (UptimeCheckConfigContentMatcherArray) ToUptimeCheckConfigContentMatcherArrayOutput

func (i UptimeCheckConfigContentMatcherArray) ToUptimeCheckConfigContentMatcherArrayOutput() UptimeCheckConfigContentMatcherArrayOutput

func (UptimeCheckConfigContentMatcherArray) ToUptimeCheckConfigContentMatcherArrayOutputWithContext

func (i UptimeCheckConfigContentMatcherArray) ToUptimeCheckConfigContentMatcherArrayOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherArrayOutput

type UptimeCheckConfigContentMatcherArrayInput

type UptimeCheckConfigContentMatcherArrayInput interface {
	pulumi.Input

	ToUptimeCheckConfigContentMatcherArrayOutput() UptimeCheckConfigContentMatcherArrayOutput
	ToUptimeCheckConfigContentMatcherArrayOutputWithContext(context.Context) UptimeCheckConfigContentMatcherArrayOutput
}

UptimeCheckConfigContentMatcherArrayInput is an input type that accepts UptimeCheckConfigContentMatcherArray and UptimeCheckConfigContentMatcherArrayOutput values. You can construct a concrete instance of `UptimeCheckConfigContentMatcherArrayInput` via:

UptimeCheckConfigContentMatcherArray{ UptimeCheckConfigContentMatcherArgs{...} }

type UptimeCheckConfigContentMatcherArrayOutput

type UptimeCheckConfigContentMatcherArrayOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigContentMatcherArrayOutput) ElementType

func (UptimeCheckConfigContentMatcherArrayOutput) Index

func (UptimeCheckConfigContentMatcherArrayOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigContentMatcherArrayOutput) ToUptimeCheckConfigContentMatcherArrayOutput

func (o UptimeCheckConfigContentMatcherArrayOutput) ToUptimeCheckConfigContentMatcherArrayOutput() UptimeCheckConfigContentMatcherArrayOutput

func (UptimeCheckConfigContentMatcherArrayOutput) ToUptimeCheckConfigContentMatcherArrayOutputWithContext

func (o UptimeCheckConfigContentMatcherArrayOutput) ToUptimeCheckConfigContentMatcherArrayOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherArrayOutput

type UptimeCheckConfigContentMatcherInput

type UptimeCheckConfigContentMatcherInput interface {
	pulumi.Input

	ToUptimeCheckConfigContentMatcherOutput() UptimeCheckConfigContentMatcherOutput
	ToUptimeCheckConfigContentMatcherOutputWithContext(context.Context) UptimeCheckConfigContentMatcherOutput
}

UptimeCheckConfigContentMatcherInput is an input type that accepts UptimeCheckConfigContentMatcherArgs and UptimeCheckConfigContentMatcherOutput values. You can construct a concrete instance of `UptimeCheckConfigContentMatcherInput` via:

UptimeCheckConfigContentMatcherArgs{...}

type UptimeCheckConfigContentMatcherJsonPathMatcher added in v6.28.0

type UptimeCheckConfigContentMatcherJsonPathMatcher struct {
	// Options to perform JSONPath content matching.
	// Default value is `EXACT_MATCH`.
	// Possible values are: `EXACT_MATCH`, `REGEX_MATCH`.
	JsonMatcher *string `pulumi:"jsonMatcher"`
	// JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
	JsonPath string `pulumi:"jsonPath"`
}

type UptimeCheckConfigContentMatcherJsonPathMatcherArgs added in v6.28.0

type UptimeCheckConfigContentMatcherJsonPathMatcherArgs struct {
	// Options to perform JSONPath content matching.
	// Default value is `EXACT_MATCH`.
	// Possible values are: `EXACT_MATCH`, `REGEX_MATCH`.
	JsonMatcher pulumi.StringPtrInput `pulumi:"jsonMatcher"`
	// JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.
	JsonPath pulumi.StringInput `pulumi:"jsonPath"`
}

func (UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ElementType added in v6.28.0

func (UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherOutput added in v6.28.0

func (i UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherOutput() UptimeCheckConfigContentMatcherJsonPathMatcherOutput

func (UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherOutputWithContext added in v6.28.0

func (i UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherJsonPathMatcherOutput

func (UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput added in v6.28.0

func (i UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput() UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput

func (UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutputWithContext added in v6.28.0

func (i UptimeCheckConfigContentMatcherJsonPathMatcherArgs) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput

type UptimeCheckConfigContentMatcherJsonPathMatcherInput added in v6.28.0

type UptimeCheckConfigContentMatcherJsonPathMatcherInput interface {
	pulumi.Input

	ToUptimeCheckConfigContentMatcherJsonPathMatcherOutput() UptimeCheckConfigContentMatcherJsonPathMatcherOutput
	ToUptimeCheckConfigContentMatcherJsonPathMatcherOutputWithContext(context.Context) UptimeCheckConfigContentMatcherJsonPathMatcherOutput
}

UptimeCheckConfigContentMatcherJsonPathMatcherInput is an input type that accepts UptimeCheckConfigContentMatcherJsonPathMatcherArgs and UptimeCheckConfigContentMatcherJsonPathMatcherOutput values. You can construct a concrete instance of `UptimeCheckConfigContentMatcherJsonPathMatcherInput` via:

UptimeCheckConfigContentMatcherJsonPathMatcherArgs{...}

type UptimeCheckConfigContentMatcherJsonPathMatcherOutput added in v6.28.0

type UptimeCheckConfigContentMatcherJsonPathMatcherOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ElementType added in v6.28.0

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) JsonMatcher added in v6.28.0

Options to perform JSONPath content matching. Default value is `EXACT_MATCH`. Possible values are: `EXACT_MATCH`, `REGEX_MATCH`.

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) JsonPath added in v6.28.0

JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherOutput added in v6.28.0

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherOutputWithContext added in v6.28.0

func (o UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherJsonPathMatcherOutput

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput added in v6.28.0

func (o UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput() UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput

func (UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutputWithContext added in v6.28.0

func (o UptimeCheckConfigContentMatcherJsonPathMatcherOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput

type UptimeCheckConfigContentMatcherJsonPathMatcherPtrInput added in v6.28.0

type UptimeCheckConfigContentMatcherJsonPathMatcherPtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput() UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput
	ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutputWithContext(context.Context) UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput
}

UptimeCheckConfigContentMatcherJsonPathMatcherPtrInput is an input type that accepts UptimeCheckConfigContentMatcherJsonPathMatcherArgs, UptimeCheckConfigContentMatcherJsonPathMatcherPtr and UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput values. You can construct a concrete instance of `UptimeCheckConfigContentMatcherJsonPathMatcherPtrInput` via:

        UptimeCheckConfigContentMatcherJsonPathMatcherArgs{...}

or:

        nil

type UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput added in v6.28.0

type UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) Elem added in v6.28.0

func (UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) ElementType added in v6.28.0

func (UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) JsonMatcher added in v6.28.0

Options to perform JSONPath content matching. Default value is `EXACT_MATCH`. Possible values are: `EXACT_MATCH`, `REGEX_MATCH`.

func (UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) JsonPath added in v6.28.0

JSONPath within the response output pointing to the expected `ContentMatcher::content` to match against.

func (UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput added in v6.28.0

func (UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutputWithContext added in v6.28.0

func (o UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput) ToUptimeCheckConfigContentMatcherJsonPathMatcherPtrOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherJsonPathMatcherPtrOutput

type UptimeCheckConfigContentMatcherOutput

type UptimeCheckConfigContentMatcherOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigContentMatcherOutput) Content

String or regex content to match (max 1024 bytes)

func (UptimeCheckConfigContentMatcherOutput) ElementType

func (UptimeCheckConfigContentMatcherOutput) JsonPathMatcher added in v6.28.0

Information needed to perform a JSONPath content match. Used for `ContentMatcherOption::MATCHES_JSON_PATH` and `ContentMatcherOption::NOT_MATCHES_JSON_PATH`. Structure is documented below.

func (UptimeCheckConfigContentMatcherOutput) Matcher

The type of content matcher that will be applied to the server output, compared to the content string when the check is run. Default value is `CONTAINS_STRING`. Possible values are: `CONTAINS_STRING`, `NOT_CONTAINS_STRING`, `MATCHES_REGEX`, `NOT_MATCHES_REGEX`, `MATCHES_JSON_PATH`, `NOT_MATCHES_JSON_PATH`.

func (UptimeCheckConfigContentMatcherOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutput

func (o UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutput() UptimeCheckConfigContentMatcherOutput

func (UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutputWithContext

func (o UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherOutput

type UptimeCheckConfigHttpCheck

type UptimeCheckConfigHttpCheck struct {
	// If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
	// Structure is documented below.
	AcceptedResponseStatusCodes []UptimeCheckConfigHttpCheckAcceptedResponseStatusCode `pulumi:"acceptedResponseStatusCodes"`
	// The authentication information. Optional when creating an HTTP check; defaults to empty.
	// Structure is documented below.
	AuthInfo *UptimeCheckConfigHttpCheckAuthInfo `pulumi:"authInfo"`
	// The request body associated with the HTTP POST request. If contentType is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the requestMethod is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".
	Body *string `pulumi:"body"`
	// The content type to use for the check.
	// Possible values are: `TYPE_UNSPECIFIED`, `URL_ENCODED`.
	ContentType *string `pulumi:"contentType"`
	// The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
	Headers map[string]string `pulumi:"headers"`
	// Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if maskHeaders is set to True then the headers will be obscured with ******.
	MaskHeaders *bool `pulumi:"maskHeaders"`
	// The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically. Optional (defaults to "/").
	Path *string `pulumi:"path"`
	// The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL).
	Port *int `pulumi:"port"`
	// The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then requestMethod defaults to GET.
	// Default value is `GET`.
	// Possible values are: `METHOD_UNSPECIFIED`, `GET`, `POST`.
	RequestMethod *string `pulumi:"requestMethod"`
	// If true, use HTTPS instead of HTTP to run the check.
	UseSsl *bool `pulumi:"useSsl"`
	// Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitoredResource is set to uptime_url. If useSsl is false, setting validateSsl to true has no effect.
	ValidateSsl *bool `pulumi:"validateSsl"`
}

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCode added in v6.35.0

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCode struct {
	// A class of status codes to accept.
	// Possible values are: `STATUS_CLASS_1XX`, `STATUS_CLASS_2XX`, `STATUS_CLASS_3XX`, `STATUS_CLASS_4XX`, `STATUS_CLASS_5XX`, `STATUS_CLASS_ANY`.
	StatusClass *string `pulumi:"statusClass"`
	// A status code to accept.
	StatusValue *int `pulumi:"statusValue"`
}

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs added in v6.35.0

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs struct {
	// A class of status codes to accept.
	// Possible values are: `STATUS_CLASS_1XX`, `STATUS_CLASS_2XX`, `STATUS_CLASS_3XX`, `STATUS_CLASS_4XX`, `STATUS_CLASS_5XX`, `STATUS_CLASS_ANY`.
	StatusClass pulumi.StringPtrInput `pulumi:"statusClass"`
	// A status code to accept.
	StatusValue pulumi.IntPtrInput `pulumi:"statusValue"`
}

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs) ElementType added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutputWithContext added in v6.35.0

func (i UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray added in v6.35.0

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray []UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeInput

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray) ElementType added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput added in v6.35.0

func (i UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput() UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutputWithContext added in v6.35.0

func (i UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayInput added in v6.35.0

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayInput interface {
	pulumi.Input

	ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput() UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput
	ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutputWithContext(context.Context) UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput
}

UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayInput is an input type that accepts UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray and UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput values. You can construct a concrete instance of `UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayInput` via:

UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArray{ UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs{...} }

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput added in v6.35.0

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput) ElementType added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput) Index added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutputWithContext added in v6.35.0

func (o UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayOutput

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeInput added in v6.35.0

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeInput interface {
	pulumi.Input

	ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput() UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput
	ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutputWithContext(context.Context) UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput
}

UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeInput is an input type that accepts UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs and UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput values. You can construct a concrete instance of `UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeInput` via:

UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArgs{...}

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput added in v6.35.0

type UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput) ElementType added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput) StatusClass added in v6.35.0

A class of status codes to accept. Possible values are: `STATUS_CLASS_1XX`, `STATUS_CLASS_2XX`, `STATUS_CLASS_3XX`, `STATUS_CLASS_4XX`, `STATUS_CLASS_5XX`, `STATUS_CLASS_ANY`.

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput) StatusValue added in v6.35.0

A status code to accept.

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput added in v6.35.0

func (UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutputWithContext added in v6.35.0

func (o UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput) ToUptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeOutput

type UptimeCheckConfigHttpCheckArgs

type UptimeCheckConfigHttpCheckArgs struct {
	// If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299.
	// Structure is documented below.
	AcceptedResponseStatusCodes UptimeCheckConfigHttpCheckAcceptedResponseStatusCodeArrayInput `pulumi:"acceptedResponseStatusCodes"`
	// The authentication information. Optional when creating an HTTP check; defaults to empty.
	// Structure is documented below.
	AuthInfo UptimeCheckConfigHttpCheckAuthInfoPtrInput `pulumi:"authInfo"`
	// The request body associated with the HTTP POST request. If contentType is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the requestMethod is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".
	Body pulumi.StringPtrInput `pulumi:"body"`
	// The content type to use for the check.
	// Possible values are: `TYPE_UNSPECIFIED`, `URL_ENCODED`.
	ContentType pulumi.StringPtrInput `pulumi:"contentType"`
	// The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.
	Headers pulumi.StringMapInput `pulumi:"headers"`
	// Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if maskHeaders is set to True then the headers will be obscured with ******.
	MaskHeaders pulumi.BoolPtrInput `pulumi:"maskHeaders"`
	// The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically. Optional (defaults to "/").
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL).
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then requestMethod defaults to GET.
	// Default value is `GET`.
	// Possible values are: `METHOD_UNSPECIFIED`, `GET`, `POST`.
	RequestMethod pulumi.StringPtrInput `pulumi:"requestMethod"`
	// If true, use HTTPS instead of HTTP to run the check.
	UseSsl pulumi.BoolPtrInput `pulumi:"useSsl"`
	// Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitoredResource is set to uptime_url. If useSsl is false, setting validateSsl to true has no effect.
	ValidateSsl pulumi.BoolPtrInput `pulumi:"validateSsl"`
}

func (UptimeCheckConfigHttpCheckArgs) ElementType

func (UptimeCheckConfigHttpCheckArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckOutput

func (i UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckOutput() UptimeCheckConfigHttpCheckOutput

func (UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckOutputWithContext

func (i UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckOutput

func (UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckPtrOutput

func (i UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckPtrOutput() UptimeCheckConfigHttpCheckPtrOutput

func (UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckPtrOutputWithContext

func (i UptimeCheckConfigHttpCheckArgs) ToUptimeCheckConfigHttpCheckPtrOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckPtrOutput

type UptimeCheckConfigHttpCheckAuthInfo

type UptimeCheckConfigHttpCheckAuthInfo struct {
	// The password to authenticate.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password string `pulumi:"password"`
	// The username to authenticate.
	Username string `pulumi:"username"`
}

type UptimeCheckConfigHttpCheckAuthInfoArgs

type UptimeCheckConfigHttpCheckAuthInfoArgs struct {
	// The password to authenticate.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringInput `pulumi:"password"`
	// The username to authenticate.
	Username pulumi.StringInput `pulumi:"username"`
}

func (UptimeCheckConfigHttpCheckAuthInfoArgs) ElementType

func (UptimeCheckConfigHttpCheckAuthInfoArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoOutput

func (i UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoOutput() UptimeCheckConfigHttpCheckAuthInfoOutput

func (UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoOutputWithContext

func (i UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAuthInfoOutput

func (UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (i UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutput() UptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutputWithContext

func (i UptimeCheckConfigHttpCheckAuthInfoArgs) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAuthInfoPtrOutput

type UptimeCheckConfigHttpCheckAuthInfoInput

type UptimeCheckConfigHttpCheckAuthInfoInput interface {
	pulumi.Input

	ToUptimeCheckConfigHttpCheckAuthInfoOutput() UptimeCheckConfigHttpCheckAuthInfoOutput
	ToUptimeCheckConfigHttpCheckAuthInfoOutputWithContext(context.Context) UptimeCheckConfigHttpCheckAuthInfoOutput
}

UptimeCheckConfigHttpCheckAuthInfoInput is an input type that accepts UptimeCheckConfigHttpCheckAuthInfoArgs and UptimeCheckConfigHttpCheckAuthInfoOutput values. You can construct a concrete instance of `UptimeCheckConfigHttpCheckAuthInfoInput` via:

UptimeCheckConfigHttpCheckAuthInfoArgs{...}

type UptimeCheckConfigHttpCheckAuthInfoOutput

type UptimeCheckConfigHttpCheckAuthInfoOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigHttpCheckAuthInfoOutput) ElementType

func (UptimeCheckConfigHttpCheckAuthInfoOutput) Password

The password to authenticate. **Note**: This property is sensitive and will not be displayed in the plan.

func (UptimeCheckConfigHttpCheckAuthInfoOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoOutput

func (o UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoOutput() UptimeCheckConfigHttpCheckAuthInfoOutput

func (UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoOutputWithContext

func (o UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAuthInfoOutput

func (UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (o UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutput() UptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutputWithContext

func (o UptimeCheckConfigHttpCheckAuthInfoOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (UptimeCheckConfigHttpCheckAuthInfoOutput) Username

The username to authenticate.

type UptimeCheckConfigHttpCheckAuthInfoPtrInput

type UptimeCheckConfigHttpCheckAuthInfoPtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigHttpCheckAuthInfoPtrOutput() UptimeCheckConfigHttpCheckAuthInfoPtrOutput
	ToUptimeCheckConfigHttpCheckAuthInfoPtrOutputWithContext(context.Context) UptimeCheckConfigHttpCheckAuthInfoPtrOutput
}

UptimeCheckConfigHttpCheckAuthInfoPtrInput is an input type that accepts UptimeCheckConfigHttpCheckAuthInfoArgs, UptimeCheckConfigHttpCheckAuthInfoPtr and UptimeCheckConfigHttpCheckAuthInfoPtrOutput values. You can construct a concrete instance of `UptimeCheckConfigHttpCheckAuthInfoPtrInput` via:

        UptimeCheckConfigHttpCheckAuthInfoArgs{...}

or:

        nil

type UptimeCheckConfigHttpCheckAuthInfoPtrOutput

type UptimeCheckConfigHttpCheckAuthInfoPtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigHttpCheckAuthInfoPtrOutput) Elem

func (UptimeCheckConfigHttpCheckAuthInfoPtrOutput) ElementType

func (UptimeCheckConfigHttpCheckAuthInfoPtrOutput) Password

The password to authenticate. **Note**: This property is sensitive and will not be displayed in the plan.

func (UptimeCheckConfigHttpCheckAuthInfoPtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckAuthInfoPtrOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (o UptimeCheckConfigHttpCheckAuthInfoPtrOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutput() UptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (UptimeCheckConfigHttpCheckAuthInfoPtrOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutputWithContext

func (o UptimeCheckConfigHttpCheckAuthInfoPtrOutput) ToUptimeCheckConfigHttpCheckAuthInfoPtrOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckAuthInfoPtrOutput

func (UptimeCheckConfigHttpCheckAuthInfoPtrOutput) Username

The username to authenticate.

type UptimeCheckConfigHttpCheckInput

type UptimeCheckConfigHttpCheckInput interface {
	pulumi.Input

	ToUptimeCheckConfigHttpCheckOutput() UptimeCheckConfigHttpCheckOutput
	ToUptimeCheckConfigHttpCheckOutputWithContext(context.Context) UptimeCheckConfigHttpCheckOutput
}

UptimeCheckConfigHttpCheckInput is an input type that accepts UptimeCheckConfigHttpCheckArgs and UptimeCheckConfigHttpCheckOutput values. You can construct a concrete instance of `UptimeCheckConfigHttpCheckInput` via:

UptimeCheckConfigHttpCheckArgs{...}

type UptimeCheckConfigHttpCheckOutput

type UptimeCheckConfigHttpCheckOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigHttpCheckOutput) AcceptedResponseStatusCodes added in v6.35.0

If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299. Structure is documented below.

func (UptimeCheckConfigHttpCheckOutput) AuthInfo

The authentication information. Optional when creating an HTTP check; defaults to empty. Structure is documented below.

func (UptimeCheckConfigHttpCheckOutput) Body

The request body associated with the HTTP POST request. If contentType is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the requestMethod is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".

func (UptimeCheckConfigHttpCheckOutput) ContentType

The content type to use for the check. Possible values are: `TYPE_UNSPECIFIED`, `URL_ENCODED`.

func (UptimeCheckConfigHttpCheckOutput) ElementType

func (UptimeCheckConfigHttpCheckOutput) Headers

The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.

func (UptimeCheckConfigHttpCheckOutput) MaskHeaders

Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if maskHeaders is set to True then the headers will be obscured with ******.

func (UptimeCheckConfigHttpCheckOutput) Path

The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically. Optional (defaults to "/").

func (UptimeCheckConfigHttpCheckOutput) Port

The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL).

func (UptimeCheckConfigHttpCheckOutput) RequestMethod

The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then requestMethod defaults to GET. Default value is `GET`. Possible values are: `METHOD_UNSPECIFIED`, `GET`, `POST`.

func (UptimeCheckConfigHttpCheckOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckOutput

func (o UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckOutput() UptimeCheckConfigHttpCheckOutput

func (UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckOutputWithContext

func (o UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckOutput

func (UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckPtrOutput

func (o UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckPtrOutput() UptimeCheckConfigHttpCheckPtrOutput

func (UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckPtrOutputWithContext

func (o UptimeCheckConfigHttpCheckOutput) ToUptimeCheckConfigHttpCheckPtrOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckPtrOutput

func (UptimeCheckConfigHttpCheckOutput) UseSsl

If true, use HTTPS instead of HTTP to run the check.

func (UptimeCheckConfigHttpCheckOutput) ValidateSsl

Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitoredResource is set to uptime_url. If useSsl is false, setting validateSsl to true has no effect.

type UptimeCheckConfigHttpCheckPtrInput

type UptimeCheckConfigHttpCheckPtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigHttpCheckPtrOutput() UptimeCheckConfigHttpCheckPtrOutput
	ToUptimeCheckConfigHttpCheckPtrOutputWithContext(context.Context) UptimeCheckConfigHttpCheckPtrOutput
}

UptimeCheckConfigHttpCheckPtrInput is an input type that accepts UptimeCheckConfigHttpCheckArgs, UptimeCheckConfigHttpCheckPtr and UptimeCheckConfigHttpCheckPtrOutput values. You can construct a concrete instance of `UptimeCheckConfigHttpCheckPtrInput` via:

        UptimeCheckConfigHttpCheckArgs{...}

or:

        nil

type UptimeCheckConfigHttpCheckPtrOutput

type UptimeCheckConfigHttpCheckPtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigHttpCheckPtrOutput) AcceptedResponseStatusCodes added in v6.35.0

If present, the check will only pass if the HTTP response status code is in this set of status codes. If empty, the HTTP status code will only pass if the HTTP status code is 200-299. Structure is documented below.

func (UptimeCheckConfigHttpCheckPtrOutput) AuthInfo

The authentication information. Optional when creating an HTTP check; defaults to empty. Structure is documented below.

func (UptimeCheckConfigHttpCheckPtrOutput) Body

The request body associated with the HTTP POST request. If contentType is URL_ENCODED, the body passed in must be URL-encoded. Users can provide a Content-Length header via the headers field or the API will do so. If the requestMethod is GET and body is not empty, the API will return an error. The maximum byte size is 1 megabyte. Note - As with all bytes fields JSON representations are base64 encoded. e.g. "foo=bar" in URL-encoded form is "foo%3Dbar" and in base64 encoding is "Zm9vJTI1M0RiYXI=".

func (UptimeCheckConfigHttpCheckPtrOutput) ContentType

The content type to use for the check. Possible values are: `TYPE_UNSPECIFIED`, `URL_ENCODED`.

func (UptimeCheckConfigHttpCheckPtrOutput) Elem

func (UptimeCheckConfigHttpCheckPtrOutput) ElementType

func (UptimeCheckConfigHttpCheckPtrOutput) Headers

The list of headers to send as part of the uptime check request. If two headers have the same key and different values, they should be entered as a single header, with the value being a comma-separated list of all the desired values as described at https://www.w3.org/Protocols/rfc2616/rfc2616.txt (page 31). Entering two separate headers with the same key in a Create call will cause the first to be overwritten by the second. The maximum number of headers allowed is 100.

func (UptimeCheckConfigHttpCheckPtrOutput) MaskHeaders

Boolean specifying whether to encrypt the header information. Encryption should be specified for any headers related to authentication that you do not wish to be seen when retrieving the configuration. The server will be responsible for encrypting the headers. On Get/List calls, if maskHeaders is set to True then the headers will be obscured with ******.

func (UptimeCheckConfigHttpCheckPtrOutput) Path

The path to the page to run the check against. Will be combined with the host (specified within the MonitoredResource) and port to construct the full URL. If the provided path does not begin with "/", a "/" will be prepended automatically. Optional (defaults to "/").

func (UptimeCheckConfigHttpCheckPtrOutput) Port

The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) and path to construct the full URL. Optional (defaults to 80 without SSL, or 443 with SSL).

func (UptimeCheckConfigHttpCheckPtrOutput) RequestMethod

The HTTP request method to use for the check. If set to METHOD_UNSPECIFIED then requestMethod defaults to GET. Default value is `GET`. Possible values are: `METHOD_UNSPECIFIED`, `GET`, `POST`.

func (UptimeCheckConfigHttpCheckPtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigHttpCheckPtrOutput) ToUptimeCheckConfigHttpCheckPtrOutput

func (o UptimeCheckConfigHttpCheckPtrOutput) ToUptimeCheckConfigHttpCheckPtrOutput() UptimeCheckConfigHttpCheckPtrOutput

func (UptimeCheckConfigHttpCheckPtrOutput) ToUptimeCheckConfigHttpCheckPtrOutputWithContext

func (o UptimeCheckConfigHttpCheckPtrOutput) ToUptimeCheckConfigHttpCheckPtrOutputWithContext(ctx context.Context) UptimeCheckConfigHttpCheckPtrOutput

func (UptimeCheckConfigHttpCheckPtrOutput) UseSsl

If true, use HTTPS instead of HTTP to run the check.

func (UptimeCheckConfigHttpCheckPtrOutput) ValidateSsl

Boolean specifying whether to include SSL certificate validation as a part of the Uptime check. Only applies to checks where monitoredResource is set to uptime_url. If useSsl is false, setting validateSsl to true has no effect.

type UptimeCheckConfigInput

type UptimeCheckConfigInput interface {
	pulumi.Input

	ToUptimeCheckConfigOutput() UptimeCheckConfigOutput
	ToUptimeCheckConfigOutputWithContext(ctx context.Context) UptimeCheckConfigOutput
}

type UptimeCheckConfigMap

type UptimeCheckConfigMap map[string]UptimeCheckConfigInput

func (UptimeCheckConfigMap) ElementType

func (UptimeCheckConfigMap) ElementType() reflect.Type

func (UptimeCheckConfigMap) ToOutput added in v6.65.1

func (UptimeCheckConfigMap) ToUptimeCheckConfigMapOutput

func (i UptimeCheckConfigMap) ToUptimeCheckConfigMapOutput() UptimeCheckConfigMapOutput

func (UptimeCheckConfigMap) ToUptimeCheckConfigMapOutputWithContext

func (i UptimeCheckConfigMap) ToUptimeCheckConfigMapOutputWithContext(ctx context.Context) UptimeCheckConfigMapOutput

type UptimeCheckConfigMapInput

type UptimeCheckConfigMapInput interface {
	pulumi.Input

	ToUptimeCheckConfigMapOutput() UptimeCheckConfigMapOutput
	ToUptimeCheckConfigMapOutputWithContext(context.Context) UptimeCheckConfigMapOutput
}

UptimeCheckConfigMapInput is an input type that accepts UptimeCheckConfigMap and UptimeCheckConfigMapOutput values. You can construct a concrete instance of `UptimeCheckConfigMapInput` via:

UptimeCheckConfigMap{ "key": UptimeCheckConfigArgs{...} }

type UptimeCheckConfigMapOutput

type UptimeCheckConfigMapOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigMapOutput) ElementType

func (UptimeCheckConfigMapOutput) ElementType() reflect.Type

func (UptimeCheckConfigMapOutput) MapIndex

func (UptimeCheckConfigMapOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigMapOutput) ToUptimeCheckConfigMapOutput

func (o UptimeCheckConfigMapOutput) ToUptimeCheckConfigMapOutput() UptimeCheckConfigMapOutput

func (UptimeCheckConfigMapOutput) ToUptimeCheckConfigMapOutputWithContext

func (o UptimeCheckConfigMapOutput) ToUptimeCheckConfigMapOutputWithContext(ctx context.Context) UptimeCheckConfigMapOutput

type UptimeCheckConfigMonitoredResource

type UptimeCheckConfigMonitoredResource struct {
	// Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "projectId", "instanceId", and "zone".
	Labels map[string]string `pulumi:"labels"`
	// The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.monitoredResourceDescriptors#MonitoredResourceDescriptor) object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
	Type string `pulumi:"type"`
}

type UptimeCheckConfigMonitoredResourceArgs

type UptimeCheckConfigMonitoredResourceArgs struct {
	// Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "projectId", "instanceId", and "zone".
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.monitoredResourceDescriptors#MonitoredResourceDescriptor) object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).
	Type pulumi.StringInput `pulumi:"type"`
}

func (UptimeCheckConfigMonitoredResourceArgs) ElementType

func (UptimeCheckConfigMonitoredResourceArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourceOutput

func (i UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourceOutput() UptimeCheckConfigMonitoredResourceOutput

func (UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourceOutputWithContext

func (i UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourceOutputWithContext(ctx context.Context) UptimeCheckConfigMonitoredResourceOutput

func (UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourcePtrOutput

func (i UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourcePtrOutput() UptimeCheckConfigMonitoredResourcePtrOutput

func (UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourcePtrOutputWithContext

func (i UptimeCheckConfigMonitoredResourceArgs) ToUptimeCheckConfigMonitoredResourcePtrOutputWithContext(ctx context.Context) UptimeCheckConfigMonitoredResourcePtrOutput

type UptimeCheckConfigMonitoredResourceInput

type UptimeCheckConfigMonitoredResourceInput interface {
	pulumi.Input

	ToUptimeCheckConfigMonitoredResourceOutput() UptimeCheckConfigMonitoredResourceOutput
	ToUptimeCheckConfigMonitoredResourceOutputWithContext(context.Context) UptimeCheckConfigMonitoredResourceOutput
}

UptimeCheckConfigMonitoredResourceInput is an input type that accepts UptimeCheckConfigMonitoredResourceArgs and UptimeCheckConfigMonitoredResourceOutput values. You can construct a concrete instance of `UptimeCheckConfigMonitoredResourceInput` via:

UptimeCheckConfigMonitoredResourceArgs{...}

type UptimeCheckConfigMonitoredResourceOutput

type UptimeCheckConfigMonitoredResourceOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigMonitoredResourceOutput) ElementType

func (UptimeCheckConfigMonitoredResourceOutput) Labels

Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "projectId", "instanceId", and "zone".

func (UptimeCheckConfigMonitoredResourceOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourceOutput

func (o UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourceOutput() UptimeCheckConfigMonitoredResourceOutput

func (UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourceOutputWithContext

func (o UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourceOutputWithContext(ctx context.Context) UptimeCheckConfigMonitoredResourceOutput

func (UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourcePtrOutput

func (o UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourcePtrOutput() UptimeCheckConfigMonitoredResourcePtrOutput

func (UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourcePtrOutputWithContext

func (o UptimeCheckConfigMonitoredResourceOutput) ToUptimeCheckConfigMonitoredResourcePtrOutputWithContext(ctx context.Context) UptimeCheckConfigMonitoredResourcePtrOutput

func (UptimeCheckConfigMonitoredResourceOutput) Type

The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.monitoredResourceDescriptors#MonitoredResourceDescriptor) object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).

type UptimeCheckConfigMonitoredResourcePtrInput

type UptimeCheckConfigMonitoredResourcePtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigMonitoredResourcePtrOutput() UptimeCheckConfigMonitoredResourcePtrOutput
	ToUptimeCheckConfigMonitoredResourcePtrOutputWithContext(context.Context) UptimeCheckConfigMonitoredResourcePtrOutput
}

UptimeCheckConfigMonitoredResourcePtrInput is an input type that accepts UptimeCheckConfigMonitoredResourceArgs, UptimeCheckConfigMonitoredResourcePtr and UptimeCheckConfigMonitoredResourcePtrOutput values. You can construct a concrete instance of `UptimeCheckConfigMonitoredResourcePtrInput` via:

        UptimeCheckConfigMonitoredResourceArgs{...}

or:

        nil

type UptimeCheckConfigMonitoredResourcePtrOutput

type UptimeCheckConfigMonitoredResourcePtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigMonitoredResourcePtrOutput) Elem

func (UptimeCheckConfigMonitoredResourcePtrOutput) ElementType

func (UptimeCheckConfigMonitoredResourcePtrOutput) Labels

Values for all of the labels listed in the associated monitored resource descriptor. For example, Compute Engine VM instances use the labels "projectId", "instanceId", and "zone".

func (UptimeCheckConfigMonitoredResourcePtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigMonitoredResourcePtrOutput) ToUptimeCheckConfigMonitoredResourcePtrOutput

func (o UptimeCheckConfigMonitoredResourcePtrOutput) ToUptimeCheckConfigMonitoredResourcePtrOutput() UptimeCheckConfigMonitoredResourcePtrOutput

func (UptimeCheckConfigMonitoredResourcePtrOutput) ToUptimeCheckConfigMonitoredResourcePtrOutputWithContext

func (o UptimeCheckConfigMonitoredResourcePtrOutput) ToUptimeCheckConfigMonitoredResourcePtrOutputWithContext(ctx context.Context) UptimeCheckConfigMonitoredResourcePtrOutput

func (UptimeCheckConfigMonitoredResourcePtrOutput) Type

The monitored resource type. This field must match the type field of a MonitoredResourceDescriptor (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.monitoredResourceDescriptors#MonitoredResourceDescriptor) object. For example, the type of a Compute Engine VM instance is gce_instance. For a list of types, see Monitoring resource types (https://cloud.google.com/monitoring/api/resources) and Logging resource types (https://cloud.google.com/logging/docs/api/v2/resource-list).

type UptimeCheckConfigOutput

type UptimeCheckConfigOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigOutput) CheckerType added in v6.25.0

The checker type to use for the check. If the monitored resource type is servicedirectory_service, checkerType must be set to VPC_CHECKERS. Possible values are: `STATIC_IP_CHECKERS`, `VPC_CHECKERS`.

func (UptimeCheckConfigOutput) ContentMatchers added in v6.23.0

The expected content on the page the check is run against. Currently, only the first entry in the list is supported, and other entries will be ignored. The server will look for an exact match of the string in the page response's content. This field is optional and should only be specified if a content match is required. Structure is documented below.

func (UptimeCheckConfigOutput) DisplayName added in v6.23.0

A human-friendly name for the uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.

func (UptimeCheckConfigOutput) ElementType

func (UptimeCheckConfigOutput) ElementType() reflect.Type

func (UptimeCheckConfigOutput) HttpCheck added in v6.23.0

Contains information needed to make an HTTP or HTTPS check. Structure is documented below.

func (UptimeCheckConfigOutput) MonitoredResource added in v6.23.0

The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks: uptimeUrl gceInstance gaeApp awsEc2Instance aws_elb_load_balancer k8sService servicedirectoryService Structure is documented below.

func (UptimeCheckConfigOutput) Name added in v6.23.0

The fully qualified name of the cloud function resource.

func (UptimeCheckConfigOutput) Period added in v6.23.0

How often, in seconds, the uptime check is performed. Currently, the only supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and 900s (15 minutes). Optional, defaults to 300s.

func (UptimeCheckConfigOutput) Project added in v6.23.0

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

func (UptimeCheckConfigOutput) ResourceGroup added in v6.23.0

The group resource associated with the configuration. Structure is documented below.

func (UptimeCheckConfigOutput) SelectedRegions added in v6.23.0

func (o UptimeCheckConfigOutput) SelectedRegions() pulumi.StringArrayOutput

The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions to include a minimum of 3 locations must be provided, or an error message is returned. Not specifying this field will result in uptime checks running from all regions.

func (UptimeCheckConfigOutput) SyntheticMonitor added in v6.65.0

A Synthetic Monitor deployed to a Cloud Functions V2 instance. Structure is documented below.

func (UptimeCheckConfigOutput) TcpCheck added in v6.23.0

Contains information needed to make a TCP check. Structure is documented below.

func (UptimeCheckConfigOutput) Timeout added in v6.23.0

The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Accepted formats https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration

***

func (UptimeCheckConfigOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigOutput) ToUptimeCheckConfigOutput

func (o UptimeCheckConfigOutput) ToUptimeCheckConfigOutput() UptimeCheckConfigOutput

func (UptimeCheckConfigOutput) ToUptimeCheckConfigOutputWithContext

func (o UptimeCheckConfigOutput) ToUptimeCheckConfigOutputWithContext(ctx context.Context) UptimeCheckConfigOutput

func (UptimeCheckConfigOutput) UptimeCheckId added in v6.23.0

func (o UptimeCheckConfigOutput) UptimeCheckId() pulumi.StringOutput

The id of the uptime check

type UptimeCheckConfigResourceGroup

type UptimeCheckConfigResourceGroup struct {
	// The group of resources being monitored. Should be the `name` of a group
	GroupId *string `pulumi:"groupId"`
	// The resource type of the group members.
	// Possible values are: `RESOURCE_TYPE_UNSPECIFIED`, `INSTANCE`, `AWS_ELB_LOAD_BALANCER`.
	ResourceType *string `pulumi:"resourceType"`
}

type UptimeCheckConfigResourceGroupArgs

type UptimeCheckConfigResourceGroupArgs struct {
	// The group of resources being monitored. Should be the `name` of a group
	GroupId pulumi.StringPtrInput `pulumi:"groupId"`
	// The resource type of the group members.
	// Possible values are: `RESOURCE_TYPE_UNSPECIFIED`, `INSTANCE`, `AWS_ELB_LOAD_BALANCER`.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}

func (UptimeCheckConfigResourceGroupArgs) ElementType

func (UptimeCheckConfigResourceGroupArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupOutput

func (i UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupOutput() UptimeCheckConfigResourceGroupOutput

func (UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupOutputWithContext

func (i UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupOutputWithContext(ctx context.Context) UptimeCheckConfigResourceGroupOutput

func (UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupPtrOutput

func (i UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupPtrOutput() UptimeCheckConfigResourceGroupPtrOutput

func (UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupPtrOutputWithContext

func (i UptimeCheckConfigResourceGroupArgs) ToUptimeCheckConfigResourceGroupPtrOutputWithContext(ctx context.Context) UptimeCheckConfigResourceGroupPtrOutput

type UptimeCheckConfigResourceGroupInput

type UptimeCheckConfigResourceGroupInput interface {
	pulumi.Input

	ToUptimeCheckConfigResourceGroupOutput() UptimeCheckConfigResourceGroupOutput
	ToUptimeCheckConfigResourceGroupOutputWithContext(context.Context) UptimeCheckConfigResourceGroupOutput
}

UptimeCheckConfigResourceGroupInput is an input type that accepts UptimeCheckConfigResourceGroupArgs and UptimeCheckConfigResourceGroupOutput values. You can construct a concrete instance of `UptimeCheckConfigResourceGroupInput` via:

UptimeCheckConfigResourceGroupArgs{...}

type UptimeCheckConfigResourceGroupOutput

type UptimeCheckConfigResourceGroupOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigResourceGroupOutput) ElementType

func (UptimeCheckConfigResourceGroupOutput) GroupId

The group of resources being monitored. Should be the `name` of a group

func (UptimeCheckConfigResourceGroupOutput) ResourceType

The resource type of the group members. Possible values are: `RESOURCE_TYPE_UNSPECIFIED`, `INSTANCE`, `AWS_ELB_LOAD_BALANCER`.

func (UptimeCheckConfigResourceGroupOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupOutput

func (o UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupOutput() UptimeCheckConfigResourceGroupOutput

func (UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupOutputWithContext

func (o UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupOutputWithContext(ctx context.Context) UptimeCheckConfigResourceGroupOutput

func (UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupPtrOutput

func (o UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupPtrOutput() UptimeCheckConfigResourceGroupPtrOutput

func (UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupPtrOutputWithContext

func (o UptimeCheckConfigResourceGroupOutput) ToUptimeCheckConfigResourceGroupPtrOutputWithContext(ctx context.Context) UptimeCheckConfigResourceGroupPtrOutput

type UptimeCheckConfigResourceGroupPtrInput

type UptimeCheckConfigResourceGroupPtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigResourceGroupPtrOutput() UptimeCheckConfigResourceGroupPtrOutput
	ToUptimeCheckConfigResourceGroupPtrOutputWithContext(context.Context) UptimeCheckConfigResourceGroupPtrOutput
}

UptimeCheckConfigResourceGroupPtrInput is an input type that accepts UptimeCheckConfigResourceGroupArgs, UptimeCheckConfigResourceGroupPtr and UptimeCheckConfigResourceGroupPtrOutput values. You can construct a concrete instance of `UptimeCheckConfigResourceGroupPtrInput` via:

        UptimeCheckConfigResourceGroupArgs{...}

or:

        nil

type UptimeCheckConfigResourceGroupPtrOutput

type UptimeCheckConfigResourceGroupPtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigResourceGroupPtrOutput) Elem

func (UptimeCheckConfigResourceGroupPtrOutput) ElementType

func (UptimeCheckConfigResourceGroupPtrOutput) GroupId

The group of resources being monitored. Should be the `name` of a group

func (UptimeCheckConfigResourceGroupPtrOutput) ResourceType

The resource type of the group members. Possible values are: `RESOURCE_TYPE_UNSPECIFIED`, `INSTANCE`, `AWS_ELB_LOAD_BALANCER`.

func (UptimeCheckConfigResourceGroupPtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigResourceGroupPtrOutput) ToUptimeCheckConfigResourceGroupPtrOutput

func (o UptimeCheckConfigResourceGroupPtrOutput) ToUptimeCheckConfigResourceGroupPtrOutput() UptimeCheckConfigResourceGroupPtrOutput

func (UptimeCheckConfigResourceGroupPtrOutput) ToUptimeCheckConfigResourceGroupPtrOutputWithContext

func (o UptimeCheckConfigResourceGroupPtrOutput) ToUptimeCheckConfigResourceGroupPtrOutputWithContext(ctx context.Context) UptimeCheckConfigResourceGroupPtrOutput

type UptimeCheckConfigState

type UptimeCheckConfigState struct {
	// The checker type to use for the check. If the monitored resource type is servicedirectory_service, checkerType must be set to VPC_CHECKERS.
	// Possible values are: `STATIC_IP_CHECKERS`, `VPC_CHECKERS`.
	CheckerType pulumi.StringPtrInput
	// The expected content on the page the check is run against. Currently, only the first entry in the list is supported, and other entries will be ignored. The server will look for an exact match of the string in the page response's content. This field is optional and should only be specified if a content match is required.
	// Structure is documented below.
	ContentMatchers UptimeCheckConfigContentMatcherArrayInput
	// A human-friendly name for the uptime check configuration. The display name should be unique within a Stackdriver Workspace in order to make it easier to identify; however, uniqueness is not enforced.
	DisplayName pulumi.StringPtrInput
	// Contains information needed to make an HTTP or HTTPS check.
	// Structure is documented below.
	HttpCheck UptimeCheckConfigHttpCheckPtrInput
	// The monitored resource (https://cloud.google.com/monitoring/api/resources) associated with the configuration. The following monitored resource types are supported for uptime checks:  uptimeUrl  gceInstance  gaeApp  awsEc2Instance aws_elb_load_balancer  k8sService  servicedirectoryService
	// Structure is documented below.
	MonitoredResource UptimeCheckConfigMonitoredResourcePtrInput
	// The fully qualified name of the cloud function resource.
	Name pulumi.StringPtrInput
	// How often, in seconds, the uptime check is performed. Currently, the only supported values are 60s (1 minute), 300s (5 minutes), 600s (10 minutes), and 900s (15 minutes). Optional, defaults to 300s.
	Period pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The group resource associated with the configuration.
	// Structure is documented below.
	ResourceGroup UptimeCheckConfigResourceGroupPtrInput
	// The list of regions from which the check will be run. Some regions contain one location, and others contain more than one. If this field is specified, enough regions to include a minimum of 3 locations must be provided, or an error message is returned. Not specifying this field will result in uptime checks running from all regions.
	SelectedRegions pulumi.StringArrayInput
	// A Synthetic Monitor deployed to a Cloud Functions V2 instance.
	// Structure is documented below.
	SyntheticMonitor UptimeCheckConfigSyntheticMonitorPtrInput
	// Contains information needed to make a TCP check.
	// Structure is documented below.
	TcpCheck UptimeCheckConfigTcpCheckPtrInput
	// The maximum amount of time to wait for the request to complete (must be between 1 and 60 seconds). Accepted formats https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Duration
	//
	// ***
	Timeout pulumi.StringPtrInput
	// The id of the uptime check
	UptimeCheckId pulumi.StringPtrInput
}

func (UptimeCheckConfigState) ElementType

func (UptimeCheckConfigState) ElementType() reflect.Type

type UptimeCheckConfigSyntheticMonitor added in v6.65.0

type UptimeCheckConfigSyntheticMonitor struct {
	// Target a Synthetic Monitor GCFv2 Instance
	// Structure is documented below.
	//
	// <a name="nestedCloudFunctionV2"></a>The `cloudFunctionV2` block supports:
	CloudFunctionV2 UptimeCheckConfigSyntheticMonitorCloudFunctionV2 `pulumi:"cloudFunctionV2"`
}

type UptimeCheckConfigSyntheticMonitorArgs added in v6.65.0

type UptimeCheckConfigSyntheticMonitorArgs struct {
	// Target a Synthetic Monitor GCFv2 Instance
	// Structure is documented below.
	//
	// <a name="nestedCloudFunctionV2"></a>The `cloudFunctionV2` block supports:
	CloudFunctionV2 UptimeCheckConfigSyntheticMonitorCloudFunctionV2Input `pulumi:"cloudFunctionV2"`
}

func (UptimeCheckConfigSyntheticMonitorArgs) ElementType added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorOutput added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorOutput() UptimeCheckConfigSyntheticMonitorOutput

func (UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorOutputWithContext added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorOutput

func (UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorPtrOutput added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorPtrOutput() UptimeCheckConfigSyntheticMonitorPtrOutput

func (UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorPtrOutputWithContext added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorArgs) ToUptimeCheckConfigSyntheticMonitorPtrOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorPtrOutput

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2 added in v6.65.0

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2 struct {
	// The fully qualified name of the cloud function resource.
	Name string `pulumi:"name"`
}

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args added in v6.65.0

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args struct {
	// The fully qualified name of the cloud function resource.
	Name pulumi.StringInput `pulumi:"name"`
}

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ElementType added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToOutput added in v6.65.1

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2Output added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2Output() UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2OutputWithContext added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2OutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput() UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutputWithContext added in v6.65.0

func (i UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2Input added in v6.65.0

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2Input interface {
	pulumi.Input

	ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2Output() UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output
	ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2OutputWithContext(context.Context) UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output
}

UptimeCheckConfigSyntheticMonitorCloudFunctionV2Input is an input type that accepts UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args and UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output values. You can construct a concrete instance of `UptimeCheckConfigSyntheticMonitorCloudFunctionV2Input` via:

UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args{...}

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output added in v6.65.0

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output struct{ *pulumi.OutputState }

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ElementType added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) Name added in v6.65.0

The fully qualified name of the cloud function resource.

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToOutput added in v6.65.1

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2Output added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2OutputWithContext added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2OutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput() UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutputWithContext added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorCloudFunctionV2Output) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrInput added in v6.65.0

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput() UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput
	ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutputWithContext(context.Context) UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput
}

UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrInput is an input type that accepts UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args, UptimeCheckConfigSyntheticMonitorCloudFunctionV2Ptr and UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput values. You can construct a concrete instance of `UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrInput` via:

        UptimeCheckConfigSyntheticMonitorCloudFunctionV2Args{...}

or:

        nil

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput added in v6.65.0

type UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput) Elem added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput) ElementType added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput) Name added in v6.65.0

The fully qualified name of the cloud function resource.

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutputWithContext added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput) ToUptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorCloudFunctionV2PtrOutput

type UptimeCheckConfigSyntheticMonitorInput added in v6.65.0

type UptimeCheckConfigSyntheticMonitorInput interface {
	pulumi.Input

	ToUptimeCheckConfigSyntheticMonitorOutput() UptimeCheckConfigSyntheticMonitorOutput
	ToUptimeCheckConfigSyntheticMonitorOutputWithContext(context.Context) UptimeCheckConfigSyntheticMonitorOutput
}

UptimeCheckConfigSyntheticMonitorInput is an input type that accepts UptimeCheckConfigSyntheticMonitorArgs and UptimeCheckConfigSyntheticMonitorOutput values. You can construct a concrete instance of `UptimeCheckConfigSyntheticMonitorInput` via:

UptimeCheckConfigSyntheticMonitorArgs{...}

type UptimeCheckConfigSyntheticMonitorOutput added in v6.65.0

type UptimeCheckConfigSyntheticMonitorOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigSyntheticMonitorOutput) CloudFunctionV2 added in v6.65.0

Target a Synthetic Monitor GCFv2 Instance Structure is documented below.

<a name="nestedCloudFunctionV2"></a>The `cloudFunctionV2` block supports:

func (UptimeCheckConfigSyntheticMonitorOutput) ElementType added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorOutput added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorOutput() UptimeCheckConfigSyntheticMonitorOutput

func (UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorOutputWithContext added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorOutput

func (UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutput added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutput() UptimeCheckConfigSyntheticMonitorPtrOutput

func (UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutputWithContext added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorPtrOutput

type UptimeCheckConfigSyntheticMonitorPtrInput added in v6.65.0

type UptimeCheckConfigSyntheticMonitorPtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigSyntheticMonitorPtrOutput() UptimeCheckConfigSyntheticMonitorPtrOutput
	ToUptimeCheckConfigSyntheticMonitorPtrOutputWithContext(context.Context) UptimeCheckConfigSyntheticMonitorPtrOutput
}

UptimeCheckConfigSyntheticMonitorPtrInput is an input type that accepts UptimeCheckConfigSyntheticMonitorArgs, UptimeCheckConfigSyntheticMonitorPtr and UptimeCheckConfigSyntheticMonitorPtrOutput values. You can construct a concrete instance of `UptimeCheckConfigSyntheticMonitorPtrInput` via:

        UptimeCheckConfigSyntheticMonitorArgs{...}

or:

        nil

type UptimeCheckConfigSyntheticMonitorPtrOutput added in v6.65.0

type UptimeCheckConfigSyntheticMonitorPtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigSyntheticMonitorPtrOutput) CloudFunctionV2 added in v6.65.0

Target a Synthetic Monitor GCFv2 Instance Structure is documented below.

<a name="nestedCloudFunctionV2"></a>The `cloudFunctionV2` block supports:

func (UptimeCheckConfigSyntheticMonitorPtrOutput) Elem added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorPtrOutput) ElementType added in v6.65.0

func (UptimeCheckConfigSyntheticMonitorPtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigSyntheticMonitorPtrOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutput added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorPtrOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutput() UptimeCheckConfigSyntheticMonitorPtrOutput

func (UptimeCheckConfigSyntheticMonitorPtrOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutputWithContext added in v6.65.0

func (o UptimeCheckConfigSyntheticMonitorPtrOutput) ToUptimeCheckConfigSyntheticMonitorPtrOutputWithContext(ctx context.Context) UptimeCheckConfigSyntheticMonitorPtrOutput

type UptimeCheckConfigTcpCheck

type UptimeCheckConfigTcpCheck struct {
	// The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) to construct the full URL.
	Port int `pulumi:"port"`
}

type UptimeCheckConfigTcpCheckArgs

type UptimeCheckConfigTcpCheckArgs struct {
	// The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) to construct the full URL.
	Port pulumi.IntInput `pulumi:"port"`
}

func (UptimeCheckConfigTcpCheckArgs) ElementType

func (UptimeCheckConfigTcpCheckArgs) ToOutput added in v6.65.1

func (UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckOutput

func (i UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckOutput() UptimeCheckConfigTcpCheckOutput

func (UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckOutputWithContext

func (i UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckOutputWithContext(ctx context.Context) UptimeCheckConfigTcpCheckOutput

func (UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckPtrOutput

func (i UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckPtrOutput() UptimeCheckConfigTcpCheckPtrOutput

func (UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckPtrOutputWithContext

func (i UptimeCheckConfigTcpCheckArgs) ToUptimeCheckConfigTcpCheckPtrOutputWithContext(ctx context.Context) UptimeCheckConfigTcpCheckPtrOutput

type UptimeCheckConfigTcpCheckInput

type UptimeCheckConfigTcpCheckInput interface {
	pulumi.Input

	ToUptimeCheckConfigTcpCheckOutput() UptimeCheckConfigTcpCheckOutput
	ToUptimeCheckConfigTcpCheckOutputWithContext(context.Context) UptimeCheckConfigTcpCheckOutput
}

UptimeCheckConfigTcpCheckInput is an input type that accepts UptimeCheckConfigTcpCheckArgs and UptimeCheckConfigTcpCheckOutput values. You can construct a concrete instance of `UptimeCheckConfigTcpCheckInput` via:

UptimeCheckConfigTcpCheckArgs{...}

type UptimeCheckConfigTcpCheckOutput

type UptimeCheckConfigTcpCheckOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigTcpCheckOutput) ElementType

func (UptimeCheckConfigTcpCheckOutput) Port

The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) to construct the full URL.

func (UptimeCheckConfigTcpCheckOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckOutput

func (o UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckOutput() UptimeCheckConfigTcpCheckOutput

func (UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckOutputWithContext

func (o UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckOutputWithContext(ctx context.Context) UptimeCheckConfigTcpCheckOutput

func (UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckPtrOutput

func (o UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckPtrOutput() UptimeCheckConfigTcpCheckPtrOutput

func (UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckPtrOutputWithContext

func (o UptimeCheckConfigTcpCheckOutput) ToUptimeCheckConfigTcpCheckPtrOutputWithContext(ctx context.Context) UptimeCheckConfigTcpCheckPtrOutput

type UptimeCheckConfigTcpCheckPtrInput

type UptimeCheckConfigTcpCheckPtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigTcpCheckPtrOutput() UptimeCheckConfigTcpCheckPtrOutput
	ToUptimeCheckConfigTcpCheckPtrOutputWithContext(context.Context) UptimeCheckConfigTcpCheckPtrOutput
}

UptimeCheckConfigTcpCheckPtrInput is an input type that accepts UptimeCheckConfigTcpCheckArgs, UptimeCheckConfigTcpCheckPtr and UptimeCheckConfigTcpCheckPtrOutput values. You can construct a concrete instance of `UptimeCheckConfigTcpCheckPtrInput` via:

        UptimeCheckConfigTcpCheckArgs{...}

or:

        nil

type UptimeCheckConfigTcpCheckPtrOutput

type UptimeCheckConfigTcpCheckPtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigTcpCheckPtrOutput) Elem

func (UptimeCheckConfigTcpCheckPtrOutput) ElementType

func (UptimeCheckConfigTcpCheckPtrOutput) Port

The port to the page to run the check against. Will be combined with host (specified within the MonitoredResource) to construct the full URL.

func (UptimeCheckConfigTcpCheckPtrOutput) ToOutput added in v6.65.1

func (UptimeCheckConfigTcpCheckPtrOutput) ToUptimeCheckConfigTcpCheckPtrOutput

func (o UptimeCheckConfigTcpCheckPtrOutput) ToUptimeCheckConfigTcpCheckPtrOutput() UptimeCheckConfigTcpCheckPtrOutput

func (UptimeCheckConfigTcpCheckPtrOutput) ToUptimeCheckConfigTcpCheckPtrOutputWithContext

func (o UptimeCheckConfigTcpCheckPtrOutput) ToUptimeCheckConfigTcpCheckPtrOutputWithContext(ctx context.Context) UptimeCheckConfigTcpCheckPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL