monitoring

package
v5.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

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

	// How to combine the results of multiple conditions to
	// determine if an incident should be opened.
	// Possible values are `AND`, `OR`, and `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.
	CreationRecords AlertPolicyCreationRecordArrayOutput `pulumi:"creationRecords"`
	// 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.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"`
	// -
	// 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/v5/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
	})
}

```

## 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) ToAlertPolicyPtrOutput

func (i *AlertPolicy) ToAlertPolicyPtrOutput() AlertPolicyPtrOutput

func (*AlertPolicy) ToAlertPolicyPtrOutputWithContext

func (i *AlertPolicy) ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput

type AlertPolicyArgs

type AlertPolicyArgs struct {
	// How to combine the results of multiple conditions to
	// determine if an incident should be opened.
	// Possible values are `AND`, `OR`, and `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
	// 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
	// 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

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

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 Monitoring Query Language query that outputs a boolean stream
	// Structure is documented below.
	ConditionMonitoringQueryLanguage *AlertPolicyConditionConditionMonitoringQueryLanguage `pulumi:"conditionMonitoringQueryLanguage"`
	// 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"`
	// -
	// 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 Monitoring Query Language query that outputs a boolean stream
	// Structure is documented below.
	ConditionMonitoringQueryLanguage AlertPolicyConditionConditionMonitoringQueryLanguagePtrInput `pulumi:"conditionMonitoringQueryLanguage"`
	// 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"`
	// -
	// 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

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

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

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.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 []AlertPolicyConditionConditionAbsentAggregation `pulumi:"aggregations"`
	// 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 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,
	// or by the ratio, if denominatorFilter and
	// denominatorAggregations are specified.
	// 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`, and `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`, and `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`, and `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`, and `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

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

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

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`, and `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`, and `ALIGN_PERCENT_CHANGE`.

func (AlertPolicyConditionConditionAbsentAggregationOutput) ToAlertPolicyConditionConditionAbsentAggregationOutput

func (AlertPolicyConditionConditionAbsentAggregationOutput) ToAlertPolicyConditionConditionAbsentAggregationOutputWithContext

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

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.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 AlertPolicyConditionConditionAbsentAggregationArrayInput `pulumi:"aggregations"`
	// 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 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,
	// or by the ratio, if denominatorFilter and
	// denominatorAggregations are specified.
	// 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

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.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 (AlertPolicyConditionConditionAbsentOutput) 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 (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) 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 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.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 (AlertPolicyConditionConditionAbsentPtrOutput) 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 (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) 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 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

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

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

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"`
	// 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"`
	// 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

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) 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) 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) 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) 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

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

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

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`, and `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 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"`
	// 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`, and `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`, and `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`, and `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`, and `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

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

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

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`, and `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`, and `ALIGN_PERCENT_CHANGE`.

func (AlertPolicyConditionConditionThresholdAggregationOutput) ToAlertPolicyConditionConditionThresholdAggregationOutput

func (AlertPolicyConditionConditionThresholdAggregationOutput) ToAlertPolicyConditionConditionThresholdAggregationOutputWithContext

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

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`, and `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 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"`
	// 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

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`, and `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`, and `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`, and `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`, and `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

type AlertPolicyConditionConditionThresholdDenominatorAggregationArray

type AlertPolicyConditionConditionThresholdDenominatorAggregationArray []AlertPolicyConditionConditionThresholdDenominatorAggregationInput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ElementType

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationArray) ToAlertPolicyConditionConditionThresholdDenominatorAggregationArrayOutputWithContext

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

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

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`, and `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`, and `ALIGN_PERCENT_CHANGE`.

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutput

func (AlertPolicyConditionConditionThresholdDenominatorAggregationOutput) ToAlertPolicyConditionConditionThresholdDenominatorAggregationOutputWithContext

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

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`, and `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) 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) 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) 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`, and `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) 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) 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) 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

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

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

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) ConditionMonitoringQueryLanguage

A Monitoring Query Language query that outputs a boolean stream 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

- 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

type AlertPolicyCreationRecord

type AlertPolicyCreationRecord struct {
	MutateTime *string `pulumi:"mutateTime"`
	MutatedBy  *string `pulumi:"mutatedBy"`
}

type AlertPolicyCreationRecordArgs

type AlertPolicyCreationRecordArgs struct {
	MutateTime pulumi.StringPtrInput `pulumi:"mutateTime"`
	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

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

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

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

func (AlertPolicyCreationRecordOutput) MutatedBy

func (AlertPolicyCreationRecordOutput) ToAlertPolicyCreationRecordOutput

func (o AlertPolicyCreationRecordOutput) ToAlertPolicyCreationRecordOutput() AlertPolicyCreationRecordOutput

func (AlertPolicyCreationRecordOutput) ToAlertPolicyCreationRecordOutputWithContext

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

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

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

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

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

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

type AlertPolicyOutput

type AlertPolicyOutput struct{ *pulumi.OutputState }

func (AlertPolicyOutput) ElementType

func (AlertPolicyOutput) ElementType() reflect.Type

func (AlertPolicyOutput) ToAlertPolicyOutput

func (o AlertPolicyOutput) ToAlertPolicyOutput() AlertPolicyOutput

func (AlertPolicyOutput) ToAlertPolicyOutputWithContext

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

func (AlertPolicyOutput) ToAlertPolicyPtrOutput

func (o AlertPolicyOutput) ToAlertPolicyPtrOutput() AlertPolicyPtrOutput

func (AlertPolicyOutput) ToAlertPolicyPtrOutputWithContext

func (o AlertPolicyOutput) ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput

type AlertPolicyPtrInput

type AlertPolicyPtrInput interface {
	pulumi.Input

	ToAlertPolicyPtrOutput() AlertPolicyPtrOutput
	ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput
}

type AlertPolicyPtrOutput

type AlertPolicyPtrOutput struct{ *pulumi.OutputState }

func (AlertPolicyPtrOutput) Elem added in v5.21.0

func (AlertPolicyPtrOutput) ElementType

func (AlertPolicyPtrOutput) ElementType() reflect.Type

func (AlertPolicyPtrOutput) ToAlertPolicyPtrOutput

func (o AlertPolicyPtrOutput) ToAlertPolicyPtrOutput() AlertPolicyPtrOutput

func (AlertPolicyPtrOutput) ToAlertPolicyPtrOutputWithContext

func (o AlertPolicyPtrOutput) ToAlertPolicyPtrOutputWithContext(ctx context.Context) AlertPolicyPtrOutput

type AlertPolicyState

type AlertPolicyState struct {
	// How to combine the results of multiple conditions to
	// determine if an incident should be opened.
	// Possible values are `AND`, `OR`, and `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.
	CreationRecords AlertPolicyCreationRecordArrayInput
	// 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.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
	// -
	// 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"`
}

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/v5/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"),
			},
		})
		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) ToCustomServicePtrOutput

func (i *CustomService) ToCustomServicePtrOutput() CustomServicePtrOutput

func (*CustomService) ToCustomServicePtrOutputWithContext

func (i *CustomService) ToCustomServicePtrOutputWithContext(ctx context.Context) CustomServicePtrOutput

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
}

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

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

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

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

type CustomServiceOutput

type CustomServiceOutput struct{ *pulumi.OutputState }

func (CustomServiceOutput) ElementType

func (CustomServiceOutput) ElementType() reflect.Type

func (CustomServiceOutput) ToCustomServiceOutput

func (o CustomServiceOutput) ToCustomServiceOutput() CustomServiceOutput

func (CustomServiceOutput) ToCustomServiceOutputWithContext

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

func (CustomServiceOutput) ToCustomServicePtrOutput

func (o CustomServiceOutput) ToCustomServicePtrOutput() CustomServicePtrOutput

func (CustomServiceOutput) ToCustomServicePtrOutputWithContext

func (o CustomServiceOutput) ToCustomServicePtrOutputWithContext(ctx context.Context) CustomServicePtrOutput

type CustomServicePtrInput

type CustomServicePtrInput interface {
	pulumi.Input

	ToCustomServicePtrOutput() CustomServicePtrOutput
	ToCustomServicePtrOutputWithContext(ctx context.Context) CustomServicePtrOutput
}

type CustomServicePtrOutput

type CustomServicePtrOutput struct{ *pulumi.OutputState }

func (CustomServicePtrOutput) Elem added in v5.21.0

func (CustomServicePtrOutput) ElementType

func (CustomServicePtrOutput) ElementType() reflect.Type

func (CustomServicePtrOutput) ToCustomServicePtrOutput

func (o CustomServicePtrOutput) ToCustomServicePtrOutput() CustomServicePtrOutput

func (CustomServicePtrOutput) ToCustomServicePtrOutputWithContext

func (o CustomServicePtrOutput) ToCustomServicePtrOutputWithContext(ctx context.Context) CustomServicePtrOutput

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
}

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

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

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

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 (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v5/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(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"displayName\": \"Demo Dashboard\",\n", "  \"gridLayout\": {\n", "    \"widgets\": [\n", "      {\n", "        \"blank\": {}\n", "      }\n", "    ]\n", "  }\n", "}\n", "\n", "\n")),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Dashboard GridLayout

```go package main

import (

"fmt"

"github.com/pulumi/pulumi-gcp/sdk/v5/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(fmt.Sprintf("%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v%v", "{\n", "  \"displayName\": \"Grid Layout Example\",\n", "  \"gridLayout\": {\n", "    \"columns\": \"2\",\n", "    \"widgets\": [\n", "      {\n", "        \"title\": \"Widget 1\",\n", "        \"xyChart\": {\n", "          \"dataSets\": [{\n", "            \"timeSeriesQuery\": {\n", "              \"timeSeriesFilter\": {\n", "                \"filter\": \"metric.type=\\\"agent.googleapis.com/nginx/connections/accepted_count\\\"\",\n", "                \"aggregation\": {\n", "                  \"perSeriesAligner\": \"ALIGN_RATE\"\n", "                }\n", "              },\n", "              \"unitOverride\": \"1\"\n", "            },\n", "            \"plotType\": \"LINE\"\n", "          }],\n", "          \"timeshiftDuration\": \"0s\",\n", "          \"yAxis\": {\n", "            \"label\": \"y1Axis\",\n", "            \"scale\": \"LINEAR\"\n", "          }\n", "        }\n", "      },\n", "      {\n", "        \"text\": {\n", "          \"content\": \"Widget 2\",\n", "          \"format\": \"MARKDOWN\"\n", "        }\n", "      },\n", "      {\n", "        \"title\": \"Widget 3\",\n", "        \"xyChart\": {\n", "          \"dataSets\": [{\n", "            \"timeSeriesQuery\": {\n", "              \"timeSeriesFilter\": {\n", "                \"filter\": \"metric.type=\\\"agent.googleapis.com/nginx/connections/accepted_count\\\"\",\n", "                \"aggregation\": {\n", "                  \"perSeriesAligner\": \"ALIGN_RATE\"\n", "                }\n", "              },\n", "              \"unitOverride\": \"1\"\n", "            },\n", "            \"plotType\": \"STACKED_BAR\"\n", "          }],\n", "          \"timeshiftDuration\": \"0s\",\n", "          \"yAxis\": {\n", "            \"label\": \"y1Axis\",\n", "            \"scale\": \"LINEAR\"\n", "          }\n", "        }\n", "      }\n", "    ]\n", "  }\n", "}\n", "\n", "\n")),
		})
		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) ToDashboardPtrOutput

func (i *Dashboard) ToDashboardPtrOutput() DashboardPtrOutput

func (*Dashboard) ToDashboardPtrOutputWithContext

func (i *Dashboard) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

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

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

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

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

type DashboardOutput

type DashboardOutput struct{ *pulumi.OutputState }

func (DashboardOutput) ElementType

func (DashboardOutput) ElementType() reflect.Type

func (DashboardOutput) ToDashboardOutput

func (o DashboardOutput) ToDashboardOutput() DashboardOutput

func (DashboardOutput) ToDashboardOutputWithContext

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

func (DashboardOutput) ToDashboardPtrOutput

func (o DashboardOutput) ToDashboardPtrOutput() DashboardPtrOutput

func (DashboardOutput) ToDashboardPtrOutputWithContext

func (o DashboardOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

type DashboardPtrInput

type DashboardPtrInput interface {
	pulumi.Input

	ToDashboardPtrOutput() DashboardPtrOutput
	ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput
}

type DashboardPtrOutput

type DashboardPtrOutput struct{ *pulumi.OutputState }

func (DashboardPtrOutput) Elem added in v5.21.0

func (DashboardPtrOutput) ElementType

func (DashboardPtrOutput) ElementType() reflect.Type

func (DashboardPtrOutput) ToDashboardPtrOutput

func (o DashboardPtrOutput) ToDashboardPtrOutput() DashboardPtrOutput

func (DashboardPtrOutput) ToDashboardPtrOutputWithContext

func (o DashboardPtrOutput) ToDashboardPtrOutputWithContext(ctx context.Context) DashboardPtrOutput

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 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.
	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 added in v5.21.0

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.
	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 added in v5.21.0

type GetAppEngineServiceResult

type GetAppEngineServiceResult struct {
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id          string                         `pulumi:"id"`
	ModuleId    string                         `pulumi:"moduleId"`
	Name        string                         `pulumi:"name"`
	Project     *string                        `pulumi:"project"`
	ServiceId   string                         `pulumi:"serviceId"`
	Telemetries []GetAppEngineServiceTelemetry `pulumi:"telemetries"`
}

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/v5/go/gcp/appengine"
"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/monitoring"
"github.com/pulumi/pulumi-gcp/sdk/v5/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", nil)
		if err != nil {
			return err
		}
		object, err := storage.NewBucketObject(ctx, "object", &storage.BucketObjectArgs{
			Bucket: bucket.Name,
			Source: pulumi.NewFileAsset("./test-fixtures/appengine/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("%v%v%v%v", "https://storage.googleapis.com/", bucketName, "/", objectName), nil
					}).(pulumi.StringOutput),
				},
			},
			EnvVariables: pulumi.StringMap{
				"port": pulumi.String("8080"),
			},
			DeleteServiceOnDestroy: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetAppEngineServiceResultOutput added in v5.21.0

type GetAppEngineServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAppEngineService.

func GetAppEngineServiceOutput added in v5.21.0

func (GetAppEngineServiceResultOutput) DisplayName added in v5.21.0

func (GetAppEngineServiceResultOutput) ElementType added in v5.21.0

func (GetAppEngineServiceResultOutput) Id added in v5.21.0

The provider-assigned unique ID for this managed resource.

func (GetAppEngineServiceResultOutput) ModuleId added in v5.21.0

func (GetAppEngineServiceResultOutput) Name added in v5.21.0

func (GetAppEngineServiceResultOutput) Project added in v5.21.0

func (GetAppEngineServiceResultOutput) ServiceId added in v5.21.0

func (GetAppEngineServiceResultOutput) Telemetries added in v5.21.0

func (GetAppEngineServiceResultOutput) ToGetAppEngineServiceResultOutput added in v5.21.0

func (o GetAppEngineServiceResultOutput) ToGetAppEngineServiceResultOutput() GetAppEngineServiceResultOutput

func (GetAppEngineServiceResultOutput) ToGetAppEngineServiceResultOutputWithContext added in v5.21.0

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

type GetAppEngineServiceTelemetry

type GetAppEngineServiceTelemetry struct {
	ResourceName string `pulumi:"resourceName"`
}

type GetAppEngineServiceTelemetryArgs

type GetAppEngineServiceTelemetryArgs struct {
	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

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

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

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

func (GetAppEngineServiceTelemetryOutput) ToGetAppEngineServiceTelemetryOutput

func (o GetAppEngineServiceTelemetryOutput) ToGetAppEngineServiceTelemetryOutput() GetAppEngineServiceTelemetryOutput

func (GetAppEngineServiceTelemetryOutput) ToGetAppEngineServiceTelemetryOutputWithContext

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

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.
	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 added in v5.21.0

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.
	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 added in v5.21.0

type GetClusterIstioServiceResult

type GetClusterIstioServiceResult struct {
	ClusterName string `pulumi:"clusterName"`
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id               string                            `pulumi:"id"`
	Location         string                            `pulumi:"location"`
	Name             string                            `pulumi:"name"`
	Project          *string                           `pulumi:"project"`
	ServiceId        string                            `pulumi:"serviceId"`
	ServiceName      string                            `pulumi:"serviceName"`
	ServiceNamespace string                            `pulumi:"serviceNamespace"`
	Telemetries      []GetClusterIstioServiceTelemetry `pulumi:"telemetries"`
}

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/v5/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 added in v5.21.0

type GetClusterIstioServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getClusterIstioService.

func GetClusterIstioServiceOutput added in v5.21.0

func (GetClusterIstioServiceResultOutput) ClusterName added in v5.21.0

func (GetClusterIstioServiceResultOutput) DisplayName added in v5.21.0

func (GetClusterIstioServiceResultOutput) ElementType added in v5.21.0

func (GetClusterIstioServiceResultOutput) Id added in v5.21.0

The provider-assigned unique ID for this managed resource.

func (GetClusterIstioServiceResultOutput) Location added in v5.21.0

func (GetClusterIstioServiceResultOutput) Name added in v5.21.0

func (GetClusterIstioServiceResultOutput) Project added in v5.21.0

func (GetClusterIstioServiceResultOutput) ServiceId added in v5.21.0

func (GetClusterIstioServiceResultOutput) ServiceName added in v5.21.0

func (GetClusterIstioServiceResultOutput) ServiceNamespace added in v5.21.0

func (GetClusterIstioServiceResultOutput) Telemetries added in v5.21.0

func (GetClusterIstioServiceResultOutput) ToGetClusterIstioServiceResultOutput added in v5.21.0

func (o GetClusterIstioServiceResultOutput) ToGetClusterIstioServiceResultOutput() GetClusterIstioServiceResultOutput

func (GetClusterIstioServiceResultOutput) ToGetClusterIstioServiceResultOutputWithContext added in v5.21.0

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

type GetClusterIstioServiceTelemetry

type GetClusterIstioServiceTelemetry struct {
	ResourceName string `pulumi:"resourceName"`
}

type GetClusterIstioServiceTelemetryArgs

type GetClusterIstioServiceTelemetryArgs struct {
	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

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

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

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

func (GetClusterIstioServiceTelemetryOutput) ToGetClusterIstioServiceTelemetryOutput

func (o GetClusterIstioServiceTelemetryOutput) ToGetClusterIstioServiceTelemetryOutput() GetClusterIstioServiceTelemetryOutput

func (GetClusterIstioServiceTelemetryOutput) ToGetClusterIstioServiceTelemetryOutputWithContext

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

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.
	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 added in v5.21.0

type GetIstioCanonicalServiceOutputArgs struct {
	// The name of the canonical service underlying this service.
	// Corresponds to the destinationCanonicalServiceName metric label in label in Istio metrics.
	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 added in v5.21.0

type GetIstioCanonicalServiceResult

type GetIstioCanonicalServiceResult struct {
	CanonicalService          string `pulumi:"canonicalService"`
	CanonicalServiceNamespace string `pulumi:"canonicalServiceNamespace"`
	DisplayName               string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id          string                              `pulumi:"id"`
	MeshUid     string                              `pulumi:"meshUid"`
	Name        string                              `pulumi:"name"`
	Project     *string                             `pulumi:"project"`
	ServiceId   string                              `pulumi:"serviceId"`
	Telemetries []GetIstioCanonicalServiceTelemetry `pulumi:"telemetries"`
}

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/v5/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 added in v5.21.0

type GetIstioCanonicalServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getIstioCanonicalService.

func (GetIstioCanonicalServiceResultOutput) CanonicalService added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) CanonicalServiceNamespace added in v5.21.0

func (o GetIstioCanonicalServiceResultOutput) CanonicalServiceNamespace() pulumi.StringOutput

func (GetIstioCanonicalServiceResultOutput) DisplayName added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) ElementType added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) Id added in v5.21.0

The provider-assigned unique ID for this managed resource.

func (GetIstioCanonicalServiceResultOutput) MeshUid added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) Name added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) Project added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) ServiceId added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) Telemetries added in v5.21.0

func (GetIstioCanonicalServiceResultOutput) ToGetIstioCanonicalServiceResultOutput added in v5.21.0

func (o GetIstioCanonicalServiceResultOutput) ToGetIstioCanonicalServiceResultOutput() GetIstioCanonicalServiceResultOutput

func (GetIstioCanonicalServiceResultOutput) ToGetIstioCanonicalServiceResultOutputWithContext added in v5.21.0

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

type GetIstioCanonicalServiceTelemetry

type GetIstioCanonicalServiceTelemetry struct {
	ResourceName string `pulumi:"resourceName"`
}

type GetIstioCanonicalServiceTelemetryArgs

type GetIstioCanonicalServiceTelemetryArgs struct {
	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

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

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

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

func (GetIstioCanonicalServiceTelemetryOutput) ToGetIstioCanonicalServiceTelemetryOutput

func (o GetIstioCanonicalServiceTelemetryOutput) ToGetIstioCanonicalServiceTelemetryOutput() GetIstioCanonicalServiceTelemetryOutput

func (GetIstioCanonicalServiceTelemetryOutput) ToGetIstioCanonicalServiceTelemetryOutputWithContext

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

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.
	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 added in v5.21.0

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.
	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 added in v5.21.0

type GetMeshIstioServiceResult

type GetMeshIstioServiceResult struct {
	DisplayName string `pulumi:"displayName"`
	// The provider-assigned unique ID for this managed resource.
	Id               string                         `pulumi:"id"`
	MeshUid          string                         `pulumi:"meshUid"`
	Name             string                         `pulumi:"name"`
	Project          *string                        `pulumi:"project"`
	ServiceId        string                         `pulumi:"serviceId"`
	ServiceName      string                         `pulumi:"serviceName"`
	ServiceNamespace string                         `pulumi:"serviceNamespace"`
	Telemetries      []GetMeshIstioServiceTelemetry `pulumi:"telemetries"`
}

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/v5/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 added in v5.21.0

type GetMeshIstioServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getMeshIstioService.

func GetMeshIstioServiceOutput added in v5.21.0

func (GetMeshIstioServiceResultOutput) DisplayName added in v5.21.0

func (GetMeshIstioServiceResultOutput) ElementType added in v5.21.0

func (GetMeshIstioServiceResultOutput) Id added in v5.21.0

The provider-assigned unique ID for this managed resource.

func (GetMeshIstioServiceResultOutput) MeshUid added in v5.21.0

func (GetMeshIstioServiceResultOutput) Name added in v5.21.0

func (GetMeshIstioServiceResultOutput) Project added in v5.21.0

func (GetMeshIstioServiceResultOutput) ServiceId added in v5.21.0

func (GetMeshIstioServiceResultOutput) ServiceName added in v5.21.0

func (GetMeshIstioServiceResultOutput) ServiceNamespace added in v5.21.0

func (GetMeshIstioServiceResultOutput) Telemetries added in v5.21.0

func (GetMeshIstioServiceResultOutput) ToGetMeshIstioServiceResultOutput added in v5.21.0

func (o GetMeshIstioServiceResultOutput) ToGetMeshIstioServiceResultOutput() GetMeshIstioServiceResultOutput

func (GetMeshIstioServiceResultOutput) ToGetMeshIstioServiceResultOutputWithContext added in v5.21.0

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

type GetMeshIstioServiceTelemetry

type GetMeshIstioServiceTelemetry struct {
	ResourceName string `pulumi:"resourceName"`
}

type GetMeshIstioServiceTelemetryArgs

type GetMeshIstioServiceTelemetryArgs struct {
	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

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

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

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

func (GetMeshIstioServiceTelemetryOutput) ToGetMeshIstioServiceTelemetryOutput

func (o GetMeshIstioServiceTelemetryOutput) ToGetMeshIstioServiceTelemetryOutput() GetMeshIstioServiceTelemetryOutput

func (GetMeshIstioServiceTelemetryOutput) ToGetMeshIstioServiceTelemetryOutputWithContext

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

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

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

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

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

type GetSecretVersionArgs

type GetSecretVersionArgs struct {
	Project *string `pulumi:"project"`
	Secret  string  `pulumi:"secret"`
	Version *string `pulumi:"version"`
}

A collection of arguments for invoking getSecretVersion.

type GetSecretVersionOutputArgs added in v5.21.0

type GetSecretVersionOutputArgs struct {
	Project pulumi.StringPtrInput `pulumi:"project"`
	Secret  pulumi.StringInput    `pulumi:"secret"`
	Version pulumi.StringPtrInput `pulumi:"version"`
}

A collection of arguments for invoking getSecretVersion.

func (GetSecretVersionOutputArgs) ElementType added in v5.21.0

func (GetSecretVersionOutputArgs) ElementType() reflect.Type

type GetSecretVersionResult

type GetSecretVersionResult struct {
	CreateTime  string `pulumi:"createTime"`
	DestroyTime string `pulumi:"destroyTime"`
	Enabled     bool   `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id         string `pulumi:"id"`
	Name       string `pulumi:"name"`
	Project    string `pulumi:"project"`
	Secret     string `pulumi:"secret"`
	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)

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

type GetSecretVersionResultOutput added in v5.21.0

type GetSecretVersionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSecretVersion.

func GetSecretVersionOutput added in v5.21.0

func (GetSecretVersionResultOutput) CreateTime added in v5.21.0

func (GetSecretVersionResultOutput) DestroyTime added in v5.21.0

func (GetSecretVersionResultOutput) ElementType added in v5.21.0

func (GetSecretVersionResultOutput) Enabled added in v5.21.0

func (GetSecretVersionResultOutput) Id added in v5.21.0

The provider-assigned unique ID for this managed resource.

func (GetSecretVersionResultOutput) Name added in v5.21.0

func (GetSecretVersionResultOutput) Project added in v5.21.0

func (GetSecretVersionResultOutput) Secret added in v5.21.0

func (GetSecretVersionResultOutput) SecretData added in v5.21.0

func (GetSecretVersionResultOutput) ToGetSecretVersionResultOutput added in v5.21.0

func (o GetSecretVersionResultOutput) ToGetSecretVersionResultOutput() GetSecretVersionResultOutput

func (GetSecretVersionResultOutput) ToGetSecretVersionResultOutputWithContext added in v5.21.0

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

func (GetSecretVersionResultOutput) Version added in v5.21.0

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/v5/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 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

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

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

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

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/v5/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/v5/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) ToGroupPtrOutput

func (i *Group) ToGroupPtrOutput() GroupPtrOutput

func (*Group) ToGroupPtrOutputWithContext

func (i *Group) ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput

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

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

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

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

type GroupOutput

type GroupOutput struct{ *pulumi.OutputState }

func (GroupOutput) ElementType

func (GroupOutput) ElementType() reflect.Type

func (GroupOutput) ToGroupOutput

func (o GroupOutput) ToGroupOutput() GroupOutput

func (GroupOutput) ToGroupOutputWithContext

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

func (GroupOutput) ToGroupPtrOutput

func (o GroupOutput) ToGroupPtrOutput() GroupPtrOutput

func (GroupOutput) ToGroupPtrOutputWithContext

func (o GroupOutput) ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput

type GroupPtrInput

type GroupPtrInput interface {
	pulumi.Input

	ToGroupPtrOutput() GroupPtrOutput
	ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput
}

type GroupPtrOutput

type GroupPtrOutput struct{ *pulumi.OutputState }

func (GroupPtrOutput) Elem added in v5.21.0

func (o GroupPtrOutput) Elem() GroupOutput

func (GroupPtrOutput) ElementType

func (GroupPtrOutput) ElementType() reflect.Type

func (GroupPtrOutput) ToGroupPtrOutput

func (o GroupPtrOutput) ToGroupPtrOutput() GroupPtrOutput

func (GroupPtrOutput) ToGroupPtrOutputWithContext

func (o GroupPtrOutput) ToGroupPtrOutputWithContext(ctx context.Context) GroupPtrOutput

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.
	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 added in v5.21.0

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.
	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 added in v5.21.0

type LookupNotificationChannelResult

type LookupNotificationChannelResult struct {
	Description string  `pulumi:"description"`
	DisplayName *string `pulumi:"displayName"`
	Enabled     bool    `pulumi:"enabled"`
	// The provider-assigned unique ID for this managed resource.
	Id                 string                                 `pulumi:"id"`
	Labels             map[string]string                      `pulumi:"labels"`
	Name               string                                 `pulumi:"name"`
	Project            *string                                `pulumi:"project"`
	SensitiveLabels    []GetNotificationChannelSensitiveLabel `pulumi:"sensitiveLabels"`
	Type               *string                                `pulumi:"type"`
	UserLabels         map[string]string                      `pulumi:"userLabels"`
	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/v5/go/gcp/monitoring"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		opt0 := "Test Notification Channel"
		basic, err := monitoring.LookupNotificationChannel(ctx, &monitoring.LookupNotificationChannelArgs{
			DisplayName: &opt0,
		}, 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 added in v5.21.0

type LookupNotificationChannelResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getNotificationChannel.

func (LookupNotificationChannelResultOutput) Description added in v5.21.0

func (LookupNotificationChannelResultOutput) DisplayName added in v5.21.0

func (LookupNotificationChannelResultOutput) ElementType added in v5.21.0

func (LookupNotificationChannelResultOutput) Enabled added in v5.21.0

func (LookupNotificationChannelResultOutput) Id added in v5.21.0

The provider-assigned unique ID for this managed resource.

func (LookupNotificationChannelResultOutput) Labels added in v5.21.0

func (LookupNotificationChannelResultOutput) Name added in v5.21.0

func (LookupNotificationChannelResultOutput) Project added in v5.21.0

func (LookupNotificationChannelResultOutput) SensitiveLabels added in v5.21.0

func (LookupNotificationChannelResultOutput) ToLookupNotificationChannelResultOutput added in v5.21.0

func (o LookupNotificationChannelResultOutput) ToLookupNotificationChannelResultOutput() LookupNotificationChannelResultOutput

func (LookupNotificationChannelResultOutput) ToLookupNotificationChannelResultOutputWithContext added in v5.21.0

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

func (LookupNotificationChannelResultOutput) Type added in v5.21.0

func (LookupNotificationChannelResultOutput) UserLabels added in v5.21.0

func (LookupNotificationChannelResultOutput) VerificationStatus added in v5.21.0

type MetricDescriptor

type MetricDescriptor struct {
	pulumi.CustomResourceState

	// A human-readable description for the label.
	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`, and `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`, and `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"`
	// The type of data that can be assigned to the label.
	// Default value is `STRING`.
	// Possible values are `STRING`, `BOOL`, and `INT64`.
	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/v5/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/v5/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("%v%v%v", "metric.type=\"", _type, "\" AND resource.type=\"gce_instance\""), 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) ToMetricDescriptorPtrOutput

func (i *MetricDescriptor) ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput

func (*MetricDescriptor) ToMetricDescriptorPtrOutputWithContext

func (i *MetricDescriptor) ToMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricDescriptorPtrOutput

type MetricDescriptorArgs

type MetricDescriptorArgs struct {
	// A human-readable description for the label.
	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`, and `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`, and `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
	// The type of data that can be assigned to the label.
	// Default value is `STRING`.
	// Possible values are `STRING`, `BOOL`, and `INT64`.
	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

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

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`, and `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`, and `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

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

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

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) ValueType

The type of data that can be assigned to the label. Default value is `STRING`. Possible values are `STRING`, `BOOL`, and `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

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

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

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

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

type MetricDescriptorOutput

type MetricDescriptorOutput struct{ *pulumi.OutputState }

func (MetricDescriptorOutput) ElementType

func (MetricDescriptorOutput) ElementType() reflect.Type

func (MetricDescriptorOutput) ToMetricDescriptorOutput

func (o MetricDescriptorOutput) ToMetricDescriptorOutput() MetricDescriptorOutput

func (MetricDescriptorOutput) ToMetricDescriptorOutputWithContext

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

func (MetricDescriptorOutput) ToMetricDescriptorPtrOutput

func (o MetricDescriptorOutput) ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput

func (MetricDescriptorOutput) ToMetricDescriptorPtrOutputWithContext

func (o MetricDescriptorOutput) ToMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricDescriptorPtrOutput

type MetricDescriptorPtrInput

type MetricDescriptorPtrInput interface {
	pulumi.Input

	ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput
	ToMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricDescriptorPtrOutput
}

type MetricDescriptorPtrOutput

type MetricDescriptorPtrOutput struct{ *pulumi.OutputState }

func (MetricDescriptorPtrOutput) Elem added in v5.21.0

func (MetricDescriptorPtrOutput) ElementType

func (MetricDescriptorPtrOutput) ElementType() reflect.Type

func (MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutput

func (o MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutput() MetricDescriptorPtrOutput

func (MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutputWithContext

func (o MetricDescriptorPtrOutput) ToMetricDescriptorPtrOutputWithContext(ctx context.Context) MetricDescriptorPtrOutput

type MetricDescriptorState

type MetricDescriptorState struct {
	// A human-readable description for the label.
	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`, and `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`, and `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
	// The type of data that can be assigned to the label.
	// Default value is `STRING`.
	// Possible values are `STRING`, `BOOL`, and `INT64`.
	ValueType pulumi.StringPtrInput
}

func (MetricDescriptorState) ElementType

func (MetricDescriptorState) ElementType() reflect.Type

type MonitoredProject added in v5.22.0

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"`
}

Beta only ## Example Usage ### Basic_monitored_project A basic example of a monitoring monitored project ```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/monitoring"
"github.com/pulumi/pulumi-gcp/sdk/v5/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"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = organizations.NewProject(ctx, "basic", &organizations.ProjectArgs{
			ProjectId: pulumi.String("id"),
			OrgId:     pulumi.String("123456789"),
		}, pulumi.Provider(google_beta))
		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 locations/global/metricsScopes/{{metrics_scope}}/projects/{{name}}

```

```sh

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

```

func GetMonitoredProject added in v5.22.0

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 added in v5.22.0

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 added in v5.22.0

func (*MonitoredProject) ElementType() reflect.Type

func (*MonitoredProject) ToMonitoredProjectOutput added in v5.22.0

func (i *MonitoredProject) ToMonitoredProjectOutput() MonitoredProjectOutput

func (*MonitoredProject) ToMonitoredProjectOutputWithContext added in v5.22.0

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

func (*MonitoredProject) ToMonitoredProjectPtrOutput added in v5.22.0

func (i *MonitoredProject) ToMonitoredProjectPtrOutput() MonitoredProjectPtrOutput

func (*MonitoredProject) ToMonitoredProjectPtrOutputWithContext added in v5.22.0

func (i *MonitoredProject) ToMonitoredProjectPtrOutputWithContext(ctx context.Context) MonitoredProjectPtrOutput

type MonitoredProjectArgs added in v5.22.0

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 added in v5.22.0

func (MonitoredProjectArgs) ElementType() reflect.Type

type MonitoredProjectArray added in v5.22.0

type MonitoredProjectArray []MonitoredProjectInput

func (MonitoredProjectArray) ElementType added in v5.22.0

func (MonitoredProjectArray) ElementType() reflect.Type

func (MonitoredProjectArray) ToMonitoredProjectArrayOutput added in v5.22.0

func (i MonitoredProjectArray) ToMonitoredProjectArrayOutput() MonitoredProjectArrayOutput

func (MonitoredProjectArray) ToMonitoredProjectArrayOutputWithContext added in v5.22.0

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

type MonitoredProjectArrayInput added in v5.22.0

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 added in v5.22.0

type MonitoredProjectArrayOutput struct{ *pulumi.OutputState }

func (MonitoredProjectArrayOutput) ElementType added in v5.22.0

func (MonitoredProjectArrayOutput) Index added in v5.22.0

func (MonitoredProjectArrayOutput) ToMonitoredProjectArrayOutput added in v5.22.0

func (o MonitoredProjectArrayOutput) ToMonitoredProjectArrayOutput() MonitoredProjectArrayOutput

func (MonitoredProjectArrayOutput) ToMonitoredProjectArrayOutputWithContext added in v5.22.0

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

type MonitoredProjectInput added in v5.22.0

type MonitoredProjectInput interface {
	pulumi.Input

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

type MonitoredProjectMap added in v5.22.0

type MonitoredProjectMap map[string]MonitoredProjectInput

func (MonitoredProjectMap) ElementType added in v5.22.0

func (MonitoredProjectMap) ElementType() reflect.Type

func (MonitoredProjectMap) ToMonitoredProjectMapOutput added in v5.22.0

func (i MonitoredProjectMap) ToMonitoredProjectMapOutput() MonitoredProjectMapOutput

func (MonitoredProjectMap) ToMonitoredProjectMapOutputWithContext added in v5.22.0

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

type MonitoredProjectMapInput added in v5.22.0

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 added in v5.22.0

type MonitoredProjectMapOutput struct{ *pulumi.OutputState }

func (MonitoredProjectMapOutput) ElementType added in v5.22.0

func (MonitoredProjectMapOutput) ElementType() reflect.Type

func (MonitoredProjectMapOutput) MapIndex added in v5.22.0

func (MonitoredProjectMapOutput) ToMonitoredProjectMapOutput added in v5.22.0

func (o MonitoredProjectMapOutput) ToMonitoredProjectMapOutput() MonitoredProjectMapOutput

func (MonitoredProjectMapOutput) ToMonitoredProjectMapOutputWithContext added in v5.22.0

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

type MonitoredProjectOutput added in v5.22.0

type MonitoredProjectOutput struct{ *pulumi.OutputState }

func (MonitoredProjectOutput) ElementType added in v5.22.0

func (MonitoredProjectOutput) ElementType() reflect.Type

func (MonitoredProjectOutput) ToMonitoredProjectOutput added in v5.22.0

func (o MonitoredProjectOutput) ToMonitoredProjectOutput() MonitoredProjectOutput

func (MonitoredProjectOutput) ToMonitoredProjectOutputWithContext added in v5.22.0

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

func (MonitoredProjectOutput) ToMonitoredProjectPtrOutput added in v5.22.0

func (o MonitoredProjectOutput) ToMonitoredProjectPtrOutput() MonitoredProjectPtrOutput

func (MonitoredProjectOutput) ToMonitoredProjectPtrOutputWithContext added in v5.22.0

func (o MonitoredProjectOutput) ToMonitoredProjectPtrOutputWithContext(ctx context.Context) MonitoredProjectPtrOutput

type MonitoredProjectPtrInput added in v5.22.0

type MonitoredProjectPtrInput interface {
	pulumi.Input

	ToMonitoredProjectPtrOutput() MonitoredProjectPtrOutput
	ToMonitoredProjectPtrOutputWithContext(ctx context.Context) MonitoredProjectPtrOutput
}

type MonitoredProjectPtrOutput added in v5.22.0

type MonitoredProjectPtrOutput struct{ *pulumi.OutputState }

func (MonitoredProjectPtrOutput) Elem added in v5.22.0

func (MonitoredProjectPtrOutput) ElementType added in v5.22.0

func (MonitoredProjectPtrOutput) ElementType() reflect.Type

func (MonitoredProjectPtrOutput) ToMonitoredProjectPtrOutput added in v5.22.0

func (o MonitoredProjectPtrOutput) ToMonitoredProjectPtrOutput() MonitoredProjectPtrOutput

func (MonitoredProjectPtrOutput) ToMonitoredProjectPtrOutputWithContext added in v5.22.0

func (o MonitoredProjectPtrOutput) ToMonitoredProjectPtrOutputWithContext(ctx context.Context) MonitoredProjectPtrOutput

type MonitoredProjectState added in v5.22.0

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 added in v5.22.0

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"`
	// 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

## Example Usage ### Notification Channel Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/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"),
			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/v5/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) ToNotificationChannelPtrOutput

func (i *NotificationChannel) ToNotificationChannelPtrOutput() NotificationChannelPtrOutput

func (*NotificationChannel) ToNotificationChannelPtrOutputWithContext

func (i *NotificationChannel) ToNotificationChannelPtrOutputWithContext(ctx context.Context) NotificationChannelPtrOutput

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
	// 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

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

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

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

type NotificationChannelOutput

type NotificationChannelOutput struct{ *pulumi.OutputState }

func (NotificationChannelOutput) ElementType

func (NotificationChannelOutput) ElementType() reflect.Type

func (NotificationChannelOutput) ToNotificationChannelOutput

func (o NotificationChannelOutput) ToNotificationChannelOutput() NotificationChannelOutput

func (NotificationChannelOutput) ToNotificationChannelOutputWithContext

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

func (NotificationChannelOutput) ToNotificationChannelPtrOutput

func (o NotificationChannelOutput) ToNotificationChannelPtrOutput() NotificationChannelPtrOutput

func (NotificationChannelOutput) ToNotificationChannelPtrOutputWithContext

func (o NotificationChannelOutput) ToNotificationChannelPtrOutputWithContext(ctx context.Context) NotificationChannelPtrOutput

type NotificationChannelPtrInput

type NotificationChannelPtrInput interface {
	pulumi.Input

	ToNotificationChannelPtrOutput() NotificationChannelPtrOutput
	ToNotificationChannelPtrOutputWithContext(ctx context.Context) NotificationChannelPtrOutput
}

type NotificationChannelPtrOutput

type NotificationChannelPtrOutput struct{ *pulumi.OutputState }

func (NotificationChannelPtrOutput) Elem added in v5.21.0

func (NotificationChannelPtrOutput) ElementType

func (NotificationChannelPtrOutput) ToNotificationChannelPtrOutput

func (o NotificationChannelPtrOutput) ToNotificationChannelPtrOutput() NotificationChannelPtrOutput

func (NotificationChannelPtrOutput) ToNotificationChannelPtrOutputWithContext

func (o NotificationChannelPtrOutput) ToNotificationChannelPtrOutputWithContext(ctx context.Context) NotificationChannelPtrOutput

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

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

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

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
	// 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`, and `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"`
	// 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/v5/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"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Monitoring Slo Request Based

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/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) ToSloOutput

func (i *Slo) ToSloOutput() SloOutput

func (*Slo) ToSloOutputWithContext

func (i *Slo) ToSloOutputWithContext(ctx context.Context) SloOutput

func (*Slo) ToSloPtrOutput

func (i *Slo) ToSloPtrOutput() SloPtrOutput

func (*Slo) ToSloPtrOutputWithContext

func (i *Slo) ToSloPtrOutputWithContext(ctx context.Context) SloPtrOutput

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`, and `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
	// 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) ElementType

func (SloOutput) ElementType() reflect.Type

func (SloOutput) ToSloOutput

func (o SloOutput) ToSloOutput() SloOutput

func (SloOutput) ToSloOutputWithContext

func (o SloOutput) ToSloOutputWithContext(ctx context.Context) SloOutput

func (SloOutput) ToSloPtrOutput

func (o SloOutput) ToSloPtrOutput() SloPtrOutput

func (SloOutput) ToSloPtrOutputWithContext

func (o SloOutput) ToSloPtrOutputWithContext(ctx context.Context) SloPtrOutput

type SloPtrInput

type SloPtrInput interface {
	pulumi.Input

	ToSloPtrOutput() SloPtrOutput
	ToSloPtrOutputWithContext(ctx context.Context) SloPtrOutput
}

type SloPtrOutput

type SloPtrOutput struct{ *pulumi.OutputState }

func (SloPtrOutput) Elem added in v5.21.0

func (o SloPtrOutput) Elem() SloOutput

func (SloPtrOutput) ElementType

func (SloPtrOutput) ElementType() reflect.Type

func (SloPtrOutput) ToSloPtrOutput

func (o SloPtrOutput) ToSloPtrOutput() SloPtrOutput

func (SloPtrOutput) ToSloPtrOutputWithContext

func (o SloPtrOutput) ToSloPtrOutputWithContext(ctx context.Context) SloPtrOutput

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.
	// 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.
	// 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.
	// 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.
	// Structure is documented below.
	GoodTotalRatio SloRequestBasedSliGoodTotalRatioPtrInput `pulumi:"goodTotalRatio"`
}

func (SloRequestBasedSliArgs) ElementType

func (SloRequestBasedSliArgs) ElementType() reflect.Type

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. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// 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. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// Structure is documented below.
	Range SloRequestBasedSliDistributionCutRangeInput `pulumi:"range"`
}

func (SloRequestBasedSliDistributionCutArgs) ElementType

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. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

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. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

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) 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) 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) 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) 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) 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) 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. 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. Structure is documented below.

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. 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. Structure is documented below.

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`, and `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
	// 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) 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"`
	// 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 *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"`
	// 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.Float64PtrInput `pulumi:"threshold"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdArgs) ElementType

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) 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) 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) 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) 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) 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) 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) 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) 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) 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

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 (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) 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. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// 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. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// Structure is documented below.
	Range SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutRangeInput `pulumi:"range"`
}

func (SloWindowsBasedSliGoodTotalRatioThresholdPerformanceDistributionCutArgs) ElementType

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. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

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. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. Structure is documented below.

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) 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) 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) 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) 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) 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) 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) 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) 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

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 (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. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// 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
	// 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 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. Summed value `X` should satisfy
	// `range.min <= X <= range.max` for a good window.
	// 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
	// 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 (SloWindowsBasedSliMetricMeanInRangeArgs) ElementType

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. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. 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 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 (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. Summed value `X` should satisfy `range.min <= X <= range.max` for a good window. 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 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 (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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 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  awsElbLoadBalancer
	// Structure is documented below.
	MonitoredResource UptimeCheckConfigMonitoredResourcePtrOutput `pulumi:"monitoredResource"`
	// A unique resource name for this UptimeCheckConfig. The format is
	// projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
	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"`
	// 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. [Read more about secrets in state](https://www.pulumi.com/docs/intro/concepts/programming-model/#secrets).

## Example Usage ### Uptime Check Config Http

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/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{
			ContentMatchers: monitoring.UptimeCheckConfigContentMatcherArray{
				&monitoring.UptimeCheckConfigContentMatcherArgs{
					Content: pulumi.String("example"),
				},
			},
			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 Https

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v5/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"),
				},
			},
			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/v5/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
	})
}

```

## 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) ToUptimeCheckConfigOutput

func (i *UptimeCheckConfig) ToUptimeCheckConfigOutput() UptimeCheckConfigOutput

func (*UptimeCheckConfig) ToUptimeCheckConfigOutputWithContext

func (i *UptimeCheckConfig) ToUptimeCheckConfigOutputWithContext(ctx context.Context) UptimeCheckConfigOutput

func (*UptimeCheckConfig) ToUptimeCheckConfigPtrOutput

func (i *UptimeCheckConfig) ToUptimeCheckConfigPtrOutput() UptimeCheckConfigPtrOutput

func (*UptimeCheckConfig) ToUptimeCheckConfigPtrOutputWithContext

func (i *UptimeCheckConfig) ToUptimeCheckConfigPtrOutputWithContext(ctx context.Context) UptimeCheckConfigPtrOutput

type UptimeCheckConfigArgs

type UptimeCheckConfigArgs struct {
	// 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  awsElbLoadBalancer
	// 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
	// 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) 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) 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"`
	// 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`, and `NOT_MATCHES_REGEX`.
	Matcher *string `pulumi:"matcher"`
}

type UptimeCheckConfigContentMatcherArgs

type UptimeCheckConfigContentMatcherArgs struct {
	// String or regex content to match (max 1024 bytes)
	Content pulumi.StringInput `pulumi:"content"`
	// 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`, and `NOT_MATCHES_REGEX`.
	Matcher pulumi.StringPtrInput `pulumi:"matcher"`
}

func (UptimeCheckConfigContentMatcherArgs) ElementType

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) 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) 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 UptimeCheckConfigContentMatcherOutput

type UptimeCheckConfigContentMatcherOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigContentMatcherOutput) Content

String or regex content to match (max 1024 bytes)

func (UptimeCheckConfigContentMatcherOutput) ElementType

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`, and `NOT_MATCHES_REGEX`.

func (UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutput

func (o UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutput() UptimeCheckConfigContentMatcherOutput

func (UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutputWithContext

func (o UptimeCheckConfigContentMatcherOutput) ToUptimeCheckConfigContentMatcherOutputWithContext(ctx context.Context) UptimeCheckConfigContentMatcherOutput

type UptimeCheckConfigHttpCheck

type UptimeCheckConfigHttpCheck struct {
	// 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` and `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. 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) to construct the full URL.
	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`, and `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 UptimeCheckConfigHttpCheckArgs

type UptimeCheckConfigHttpCheckArgs struct {
	// 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` and `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. 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) to construct the full URL.
	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`, and `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) 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) 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) 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) 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) 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` and `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. 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) to construct the full URL.

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`, and `POST`.

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) 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` and `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. 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) to construct the full URL.

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`, and `POST`.

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) 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) 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) 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) 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) 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) ElementType

func (UptimeCheckConfigOutput) ElementType() reflect.Type

func (UptimeCheckConfigOutput) ToUptimeCheckConfigOutput

func (o UptimeCheckConfigOutput) ToUptimeCheckConfigOutput() UptimeCheckConfigOutput

func (UptimeCheckConfigOutput) ToUptimeCheckConfigOutputWithContext

func (o UptimeCheckConfigOutput) ToUptimeCheckConfigOutputWithContext(ctx context.Context) UptimeCheckConfigOutput

func (UptimeCheckConfigOutput) ToUptimeCheckConfigPtrOutput

func (o UptimeCheckConfigOutput) ToUptimeCheckConfigPtrOutput() UptimeCheckConfigPtrOutput

func (UptimeCheckConfigOutput) ToUptimeCheckConfigPtrOutputWithContext

func (o UptimeCheckConfigOutput) ToUptimeCheckConfigPtrOutputWithContext(ctx context.Context) UptimeCheckConfigPtrOutput

type UptimeCheckConfigPtrInput

type UptimeCheckConfigPtrInput interface {
	pulumi.Input

	ToUptimeCheckConfigPtrOutput() UptimeCheckConfigPtrOutput
	ToUptimeCheckConfigPtrOutputWithContext(ctx context.Context) UptimeCheckConfigPtrOutput
}

type UptimeCheckConfigPtrOutput

type UptimeCheckConfigPtrOutput struct{ *pulumi.OutputState }

func (UptimeCheckConfigPtrOutput) Elem added in v5.21.0

func (UptimeCheckConfigPtrOutput) ElementType

func (UptimeCheckConfigPtrOutput) ElementType() reflect.Type

func (UptimeCheckConfigPtrOutput) ToUptimeCheckConfigPtrOutput

func (o UptimeCheckConfigPtrOutput) ToUptimeCheckConfigPtrOutput() UptimeCheckConfigPtrOutput

func (UptimeCheckConfigPtrOutput) ToUptimeCheckConfigPtrOutputWithContext

func (o UptimeCheckConfigPtrOutput) ToUptimeCheckConfigPtrOutputWithContext(ctx context.Context) UptimeCheckConfigPtrOutput

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`, and `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`, and `AWS_ELB_LOAD_BALANCER`.
	ResourceType pulumi.StringPtrInput `pulumi:"resourceType"`
}

func (UptimeCheckConfigResourceGroupArgs) ElementType

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`, and `AWS_ELB_LOAD_BALANCER`.

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`, and `AWS_ELB_LOAD_BALANCER`.

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 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  awsElbLoadBalancer
	// Structure is documented below.
	MonitoredResource UptimeCheckConfigMonitoredResourcePtrInput
	// A unique resource name for this UptimeCheckConfig. The format is
	// projects/[PROJECT_ID]/uptimeCheckConfigs/[UPTIME_CHECK_ID].
	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
	// 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 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) 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) 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) 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