v20200501preview

package
v0.6.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ConditionOperatorEquals             = ConditionOperator("Equals")
	ConditionOperatorGreaterThan        = ConditionOperator("GreaterThan")
	ConditionOperatorGreaterThanOrEqual = ConditionOperator("GreaterThanOrEqual")
	ConditionOperatorLessThan           = ConditionOperator("LessThan")
	ConditionOperatorLessThanOrEqual    = ConditionOperator("LessThanOrEqual")
)
View Source
const (
	DimensionOperatorInclude = DimensionOperator("Include")
	DimensionOperatorExclude = DimensionOperator("Exclude")
)
View Source
const (
	TimeAggregationCount   = TimeAggregation("Count")
	TimeAggregationAverage = TimeAggregation("Average")
	TimeAggregationMinimum = TimeAggregation("Minimum")
	TimeAggregationMaximum = TimeAggregation("Maximum")
	TimeAggregationTotal   = TimeAggregation("Total")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	// Action Group resource Id to invoke when the alert fires.
	ActionGroupId *string `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties map[string]string `pulumi:"webHookProperties"`
}

Actions to invoke when the alert fires.

type ActionArgs

type ActionArgs struct {
	// Action Group resource Id to invoke when the alert fires.
	ActionGroupId pulumi.StringPtrInput `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties pulumi.StringMapInput `pulumi:"webHookProperties"`
}

Actions to invoke when the alert fires.

func (ActionArgs) ElementType

func (ActionArgs) ElementType() reflect.Type

func (ActionArgs) ToActionOutput

func (i ActionArgs) ToActionOutput() ActionOutput

func (ActionArgs) ToActionOutputWithContext

func (i ActionArgs) ToActionOutputWithContext(ctx context.Context) ActionOutput

type ActionArray

type ActionArray []ActionInput

func (ActionArray) ElementType

func (ActionArray) ElementType() reflect.Type

func (ActionArray) ToActionArrayOutput

func (i ActionArray) ToActionArrayOutput() ActionArrayOutput

func (ActionArray) ToActionArrayOutputWithContext

func (i ActionArray) ToActionArrayOutputWithContext(ctx context.Context) ActionArrayOutput

type ActionArrayInput

type ActionArrayInput interface {
	pulumi.Input

	ToActionArrayOutput() ActionArrayOutput
	ToActionArrayOutputWithContext(context.Context) ActionArrayOutput
}

ActionArrayInput is an input type that accepts ActionArray and ActionArrayOutput values. You can construct a concrete instance of `ActionArrayInput` via:

ActionArray{ ActionArgs{...} }

type ActionArrayOutput

type ActionArrayOutput struct{ *pulumi.OutputState }

func (ActionArrayOutput) ElementType

func (ActionArrayOutput) ElementType() reflect.Type

func (ActionArrayOutput) Index

func (ActionArrayOutput) ToActionArrayOutput

func (o ActionArrayOutput) ToActionArrayOutput() ActionArrayOutput

func (ActionArrayOutput) ToActionArrayOutputWithContext

func (o ActionArrayOutput) ToActionArrayOutputWithContext(ctx context.Context) ActionArrayOutput

type ActionInput

type ActionInput interface {
	pulumi.Input

	ToActionOutput() ActionOutput
	ToActionOutputWithContext(context.Context) ActionOutput
}

ActionInput is an input type that accepts ActionArgs and ActionOutput values. You can construct a concrete instance of `ActionInput` via:

ActionArgs{...}

type ActionOutput

type ActionOutput struct{ *pulumi.OutputState }

Actions to invoke when the alert fires.

func (ActionOutput) ActionGroupId

func (o ActionOutput) ActionGroupId() pulumi.StringPtrOutput

Action Group resource Id to invoke when the alert fires.

func (ActionOutput) ElementType

func (ActionOutput) ElementType() reflect.Type

func (ActionOutput) ToActionOutput

func (o ActionOutput) ToActionOutput() ActionOutput

func (ActionOutput) ToActionOutputWithContext

func (o ActionOutput) ToActionOutputWithContext(ctx context.Context) ActionOutput

func (ActionOutput) WebHookProperties

func (o ActionOutput) WebHookProperties() pulumi.StringMapOutput

The properties of a webhook object.

type ActionResponse

type ActionResponse struct {
	// Action Group resource Id to invoke when the alert fires.
	ActionGroupId *string `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties map[string]string `pulumi:"webHookProperties"`
}

Actions to invoke when the alert fires.

type ActionResponseArgs

type ActionResponseArgs struct {
	// Action Group resource Id to invoke when the alert fires.
	ActionGroupId pulumi.StringPtrInput `pulumi:"actionGroupId"`
	// The properties of a webhook object.
	WebHookProperties pulumi.StringMapInput `pulumi:"webHookProperties"`
}

Actions to invoke when the alert fires.

func (ActionResponseArgs) ElementType

func (ActionResponseArgs) ElementType() reflect.Type

func (ActionResponseArgs) ToActionResponseOutput

func (i ActionResponseArgs) ToActionResponseOutput() ActionResponseOutput

func (ActionResponseArgs) ToActionResponseOutputWithContext

func (i ActionResponseArgs) ToActionResponseOutputWithContext(ctx context.Context) ActionResponseOutput

type ActionResponseArray

type ActionResponseArray []ActionResponseInput

func (ActionResponseArray) ElementType

func (ActionResponseArray) ElementType() reflect.Type

func (ActionResponseArray) ToActionResponseArrayOutput

func (i ActionResponseArray) ToActionResponseArrayOutput() ActionResponseArrayOutput

func (ActionResponseArray) ToActionResponseArrayOutputWithContext

func (i ActionResponseArray) ToActionResponseArrayOutputWithContext(ctx context.Context) ActionResponseArrayOutput

type ActionResponseArrayInput

type ActionResponseArrayInput interface {
	pulumi.Input

	ToActionResponseArrayOutput() ActionResponseArrayOutput
	ToActionResponseArrayOutputWithContext(context.Context) ActionResponseArrayOutput
}

ActionResponseArrayInput is an input type that accepts ActionResponseArray and ActionResponseArrayOutput values. You can construct a concrete instance of `ActionResponseArrayInput` via:

ActionResponseArray{ ActionResponseArgs{...} }

type ActionResponseArrayOutput

type ActionResponseArrayOutput struct{ *pulumi.OutputState }

func (ActionResponseArrayOutput) ElementType

func (ActionResponseArrayOutput) ElementType() reflect.Type

func (ActionResponseArrayOutput) Index

func (ActionResponseArrayOutput) ToActionResponseArrayOutput

func (o ActionResponseArrayOutput) ToActionResponseArrayOutput() ActionResponseArrayOutput

func (ActionResponseArrayOutput) ToActionResponseArrayOutputWithContext

func (o ActionResponseArrayOutput) ToActionResponseArrayOutputWithContext(ctx context.Context) ActionResponseArrayOutput

type ActionResponseInput

type ActionResponseInput interface {
	pulumi.Input

	ToActionResponseOutput() ActionResponseOutput
	ToActionResponseOutputWithContext(context.Context) ActionResponseOutput
}

ActionResponseInput is an input type that accepts ActionResponseArgs and ActionResponseOutput values. You can construct a concrete instance of `ActionResponseInput` via:

ActionResponseArgs{...}

type ActionResponseOutput

type ActionResponseOutput struct{ *pulumi.OutputState }

Actions to invoke when the alert fires.

func (ActionResponseOutput) ActionGroupId

func (o ActionResponseOutput) ActionGroupId() pulumi.StringPtrOutput

Action Group resource Id to invoke when the alert fires.

func (ActionResponseOutput) ElementType

func (ActionResponseOutput) ElementType() reflect.Type

func (ActionResponseOutput) ToActionResponseOutput

func (o ActionResponseOutput) ToActionResponseOutput() ActionResponseOutput

func (ActionResponseOutput) ToActionResponseOutputWithContext

func (o ActionResponseOutput) ToActionResponseOutputWithContext(ctx context.Context) ActionResponseOutput

func (ActionResponseOutput) WebHookProperties

func (o ActionResponseOutput) WebHookProperties() pulumi.StringMapOutput

The properties of a webhook object.

type Condition

type Condition struct {
	// List of Dimensions conditions
	Dimensions []Dimension `pulumi:"dimensions"`
	// The minimum number of violations required within the selected lookback time window required to raise an alert.
	FailingPeriods *ConditionFailingPeriods `pulumi:"failingPeriods"`
	// The column containing the metric measure number.
	MetricMeasureColumn *string `pulumi:"metricMeasureColumn"`
	// The criteria operator.
	Operator string `pulumi:"operator"`
	// Log query alert
	Query *string `pulumi:"query"`
	// The column containing the resource id. The content of the column must be a uri formatted as resource id
	ResourceIdColumn *string `pulumi:"resourceIdColumn"`
	// the criteria threshold value that activates the alert.
	Threshold float64 `pulumi:"threshold"`
	// Aggregation type
	TimeAggregation string `pulumi:"timeAggregation"`
}

A condition of the scheduled query rule.

type ConditionArgs

type ConditionArgs struct {
	// List of Dimensions conditions
	Dimensions DimensionArrayInput `pulumi:"dimensions"`
	// The minimum number of violations required within the selected lookback time window required to raise an alert.
	FailingPeriods ConditionFailingPeriodsPtrInput `pulumi:"failingPeriods"`
	// The column containing the metric measure number.
	MetricMeasureColumn pulumi.StringPtrInput `pulumi:"metricMeasureColumn"`
	// The criteria operator.
	Operator pulumi.StringInput `pulumi:"operator"`
	// Log query alert
	Query pulumi.StringPtrInput `pulumi:"query"`
	// The column containing the resource id. The content of the column must be a uri formatted as resource id
	ResourceIdColumn pulumi.StringPtrInput `pulumi:"resourceIdColumn"`
	// the criteria threshold value that activates the alert.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// Aggregation type
	TimeAggregation pulumi.StringInput `pulumi:"timeAggregation"`
}

A condition of the scheduled query rule.

func (ConditionArgs) ElementType

func (ConditionArgs) ElementType() reflect.Type

func (ConditionArgs) ToConditionOutput

func (i ConditionArgs) ToConditionOutput() ConditionOutput

func (ConditionArgs) ToConditionOutputWithContext

func (i ConditionArgs) ToConditionOutputWithContext(ctx context.Context) ConditionOutput

type ConditionArray

type ConditionArray []ConditionInput

func (ConditionArray) ElementType

func (ConditionArray) ElementType() reflect.Type

func (ConditionArray) ToConditionArrayOutput

func (i ConditionArray) ToConditionArrayOutput() ConditionArrayOutput

func (ConditionArray) ToConditionArrayOutputWithContext

func (i ConditionArray) ToConditionArrayOutputWithContext(ctx context.Context) ConditionArrayOutput

type ConditionArrayInput

type ConditionArrayInput interface {
	pulumi.Input

	ToConditionArrayOutput() ConditionArrayOutput
	ToConditionArrayOutputWithContext(context.Context) ConditionArrayOutput
}

ConditionArrayInput is an input type that accepts ConditionArray and ConditionArrayOutput values. You can construct a concrete instance of `ConditionArrayInput` via:

ConditionArray{ ConditionArgs{...} }

type ConditionArrayOutput

type ConditionArrayOutput struct{ *pulumi.OutputState }

func (ConditionArrayOutput) ElementType

func (ConditionArrayOutput) ElementType() reflect.Type

func (ConditionArrayOutput) Index

func (ConditionArrayOutput) ToConditionArrayOutput

func (o ConditionArrayOutput) ToConditionArrayOutput() ConditionArrayOutput

func (ConditionArrayOutput) ToConditionArrayOutputWithContext

func (o ConditionArrayOutput) ToConditionArrayOutputWithContext(ctx context.Context) ConditionArrayOutput

type ConditionFailingPeriods

type ConditionFailingPeriods struct {
	// The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert *float64 `pulumi:"minFailingPeriodsToAlert"`
	// The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
	NumberOfEvaluationPeriods *float64 `pulumi:"numberOfEvaluationPeriods"`
}

The minimum number of violations required within the selected lookback time window required to raise an alert.

type ConditionFailingPeriodsArgs

type ConditionFailingPeriodsArgs struct {
	// The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert pulumi.Float64PtrInput `pulumi:"minFailingPeriodsToAlert"`
	// The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
	NumberOfEvaluationPeriods pulumi.Float64PtrInput `pulumi:"numberOfEvaluationPeriods"`
}

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (ConditionFailingPeriodsArgs) ElementType

func (ConditionFailingPeriodsArgs) ToConditionFailingPeriodsOutput

func (i ConditionFailingPeriodsArgs) ToConditionFailingPeriodsOutput() ConditionFailingPeriodsOutput

func (ConditionFailingPeriodsArgs) ToConditionFailingPeriodsOutputWithContext

func (i ConditionFailingPeriodsArgs) ToConditionFailingPeriodsOutputWithContext(ctx context.Context) ConditionFailingPeriodsOutput

func (ConditionFailingPeriodsArgs) ToConditionFailingPeriodsPtrOutput

func (i ConditionFailingPeriodsArgs) ToConditionFailingPeriodsPtrOutput() ConditionFailingPeriodsPtrOutput

func (ConditionFailingPeriodsArgs) ToConditionFailingPeriodsPtrOutputWithContext

func (i ConditionFailingPeriodsArgs) ToConditionFailingPeriodsPtrOutputWithContext(ctx context.Context) ConditionFailingPeriodsPtrOutput

type ConditionFailingPeriodsInput

type ConditionFailingPeriodsInput interface {
	pulumi.Input

	ToConditionFailingPeriodsOutput() ConditionFailingPeriodsOutput
	ToConditionFailingPeriodsOutputWithContext(context.Context) ConditionFailingPeriodsOutput
}

ConditionFailingPeriodsInput is an input type that accepts ConditionFailingPeriodsArgs and ConditionFailingPeriodsOutput values. You can construct a concrete instance of `ConditionFailingPeriodsInput` via:

ConditionFailingPeriodsArgs{...}

type ConditionFailingPeriodsOutput

type ConditionFailingPeriodsOutput struct{ *pulumi.OutputState }

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (ConditionFailingPeriodsOutput) ElementType

func (ConditionFailingPeriodsOutput) MinFailingPeriodsToAlert

func (o ConditionFailingPeriodsOutput) MinFailingPeriodsToAlert() pulumi.Float64PtrOutput

The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1

func (ConditionFailingPeriodsOutput) NumberOfEvaluationPeriods

func (o ConditionFailingPeriodsOutput) NumberOfEvaluationPeriods() pulumi.Float64PtrOutput

The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1

func (ConditionFailingPeriodsOutput) ToConditionFailingPeriodsOutput

func (o ConditionFailingPeriodsOutput) ToConditionFailingPeriodsOutput() ConditionFailingPeriodsOutput

func (ConditionFailingPeriodsOutput) ToConditionFailingPeriodsOutputWithContext

func (o ConditionFailingPeriodsOutput) ToConditionFailingPeriodsOutputWithContext(ctx context.Context) ConditionFailingPeriodsOutput

func (ConditionFailingPeriodsOutput) ToConditionFailingPeriodsPtrOutput

func (o ConditionFailingPeriodsOutput) ToConditionFailingPeriodsPtrOutput() ConditionFailingPeriodsPtrOutput

func (ConditionFailingPeriodsOutput) ToConditionFailingPeriodsPtrOutputWithContext

func (o ConditionFailingPeriodsOutput) ToConditionFailingPeriodsPtrOutputWithContext(ctx context.Context) ConditionFailingPeriodsPtrOutput

type ConditionFailingPeriodsPtrInput

type ConditionFailingPeriodsPtrInput interface {
	pulumi.Input

	ToConditionFailingPeriodsPtrOutput() ConditionFailingPeriodsPtrOutput
	ToConditionFailingPeriodsPtrOutputWithContext(context.Context) ConditionFailingPeriodsPtrOutput
}

ConditionFailingPeriodsPtrInput is an input type that accepts ConditionFailingPeriodsArgs, ConditionFailingPeriodsPtr and ConditionFailingPeriodsPtrOutput values. You can construct a concrete instance of `ConditionFailingPeriodsPtrInput` via:

        ConditionFailingPeriodsArgs{...}

or:

        nil

type ConditionFailingPeriodsPtrOutput

type ConditionFailingPeriodsPtrOutput struct{ *pulumi.OutputState }

func (ConditionFailingPeriodsPtrOutput) Elem

func (ConditionFailingPeriodsPtrOutput) ElementType

func (ConditionFailingPeriodsPtrOutput) MinFailingPeriodsToAlert

func (o ConditionFailingPeriodsPtrOutput) MinFailingPeriodsToAlert() pulumi.Float64PtrOutput

The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1

func (ConditionFailingPeriodsPtrOutput) NumberOfEvaluationPeriods

func (o ConditionFailingPeriodsPtrOutput) NumberOfEvaluationPeriods() pulumi.Float64PtrOutput

The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1

func (ConditionFailingPeriodsPtrOutput) ToConditionFailingPeriodsPtrOutput

func (o ConditionFailingPeriodsPtrOutput) ToConditionFailingPeriodsPtrOutput() ConditionFailingPeriodsPtrOutput

func (ConditionFailingPeriodsPtrOutput) ToConditionFailingPeriodsPtrOutputWithContext

func (o ConditionFailingPeriodsPtrOutput) ToConditionFailingPeriodsPtrOutputWithContext(ctx context.Context) ConditionFailingPeriodsPtrOutput

type ConditionInput

type ConditionInput interface {
	pulumi.Input

	ToConditionOutput() ConditionOutput
	ToConditionOutputWithContext(context.Context) ConditionOutput
}

ConditionInput is an input type that accepts ConditionArgs and ConditionOutput values. You can construct a concrete instance of `ConditionInput` via:

ConditionArgs{...}

type ConditionOperator added in v0.3.1

type ConditionOperator pulumi.String

The criteria operator.

func (ConditionOperator) ElementType added in v0.3.1

func (ConditionOperator) ElementType() reflect.Type

func (ConditionOperator) ToStringOutput added in v0.3.1

func (e ConditionOperator) ToStringOutput() pulumi.StringOutput

func (ConditionOperator) ToStringOutputWithContext added in v0.3.1

func (e ConditionOperator) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ConditionOperator) ToStringPtrOutput added in v0.3.1

func (e ConditionOperator) ToStringPtrOutput() pulumi.StringPtrOutput

func (ConditionOperator) ToStringPtrOutputWithContext added in v0.3.1

func (e ConditionOperator) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ConditionOutput

type ConditionOutput struct{ *pulumi.OutputState }

A condition of the scheduled query rule.

func (ConditionOutput) Dimensions

func (o ConditionOutput) Dimensions() DimensionArrayOutput

List of Dimensions conditions

func (ConditionOutput) ElementType

func (ConditionOutput) ElementType() reflect.Type

func (ConditionOutput) FailingPeriods

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (ConditionOutput) MetricMeasureColumn

func (o ConditionOutput) MetricMeasureColumn() pulumi.StringPtrOutput

The column containing the metric measure number.

func (ConditionOutput) Operator

func (o ConditionOutput) Operator() pulumi.StringOutput

The criteria operator.

func (ConditionOutput) Query

Log query alert

func (ConditionOutput) ResourceIdColumn

func (o ConditionOutput) ResourceIdColumn() pulumi.StringPtrOutput

The column containing the resource id. The content of the column must be a uri formatted as resource id

func (ConditionOutput) Threshold

func (o ConditionOutput) Threshold() pulumi.Float64Output

the criteria threshold value that activates the alert.

func (ConditionOutput) TimeAggregation

func (o ConditionOutput) TimeAggregation() pulumi.StringOutput

Aggregation type

func (ConditionOutput) ToConditionOutput

func (o ConditionOutput) ToConditionOutput() ConditionOutput

func (ConditionOutput) ToConditionOutputWithContext

func (o ConditionOutput) ToConditionOutputWithContext(ctx context.Context) ConditionOutput

type ConditionResponse

type ConditionResponse struct {
	// List of Dimensions conditions
	Dimensions []DimensionResponse `pulumi:"dimensions"`
	// The minimum number of violations required within the selected lookback time window required to raise an alert.
	FailingPeriods *ConditionResponseFailingPeriods `pulumi:"failingPeriods"`
	// The column containing the metric measure number.
	MetricMeasureColumn *string `pulumi:"metricMeasureColumn"`
	// The criteria operator.
	Operator string `pulumi:"operator"`
	// Log query alert
	Query *string `pulumi:"query"`
	// The column containing the resource id. The content of the column must be a uri formatted as resource id
	ResourceIdColumn *string `pulumi:"resourceIdColumn"`
	// the criteria threshold value that activates the alert.
	Threshold float64 `pulumi:"threshold"`
	// Aggregation type
	TimeAggregation string `pulumi:"timeAggregation"`
}

A condition of the scheduled query rule.

type ConditionResponseArgs

type ConditionResponseArgs struct {
	// List of Dimensions conditions
	Dimensions DimensionResponseArrayInput `pulumi:"dimensions"`
	// The minimum number of violations required within the selected lookback time window required to raise an alert.
	FailingPeriods ConditionResponseFailingPeriodsPtrInput `pulumi:"failingPeriods"`
	// The column containing the metric measure number.
	MetricMeasureColumn pulumi.StringPtrInput `pulumi:"metricMeasureColumn"`
	// The criteria operator.
	Operator pulumi.StringInput `pulumi:"operator"`
	// Log query alert
	Query pulumi.StringPtrInput `pulumi:"query"`
	// The column containing the resource id. The content of the column must be a uri formatted as resource id
	ResourceIdColumn pulumi.StringPtrInput `pulumi:"resourceIdColumn"`
	// the criteria threshold value that activates the alert.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// Aggregation type
	TimeAggregation pulumi.StringInput `pulumi:"timeAggregation"`
}

A condition of the scheduled query rule.

func (ConditionResponseArgs) ElementType

func (ConditionResponseArgs) ElementType() reflect.Type

func (ConditionResponseArgs) ToConditionResponseOutput

func (i ConditionResponseArgs) ToConditionResponseOutput() ConditionResponseOutput

func (ConditionResponseArgs) ToConditionResponseOutputWithContext

func (i ConditionResponseArgs) ToConditionResponseOutputWithContext(ctx context.Context) ConditionResponseOutput

type ConditionResponseArray

type ConditionResponseArray []ConditionResponseInput

func (ConditionResponseArray) ElementType

func (ConditionResponseArray) ElementType() reflect.Type

func (ConditionResponseArray) ToConditionResponseArrayOutput

func (i ConditionResponseArray) ToConditionResponseArrayOutput() ConditionResponseArrayOutput

func (ConditionResponseArray) ToConditionResponseArrayOutputWithContext

func (i ConditionResponseArray) ToConditionResponseArrayOutputWithContext(ctx context.Context) ConditionResponseArrayOutput

type ConditionResponseArrayInput

type ConditionResponseArrayInput interface {
	pulumi.Input

	ToConditionResponseArrayOutput() ConditionResponseArrayOutput
	ToConditionResponseArrayOutputWithContext(context.Context) ConditionResponseArrayOutput
}

ConditionResponseArrayInput is an input type that accepts ConditionResponseArray and ConditionResponseArrayOutput values. You can construct a concrete instance of `ConditionResponseArrayInput` via:

ConditionResponseArray{ ConditionResponseArgs{...} }

type ConditionResponseArrayOutput

type ConditionResponseArrayOutput struct{ *pulumi.OutputState }

func (ConditionResponseArrayOutput) ElementType

func (ConditionResponseArrayOutput) Index

func (ConditionResponseArrayOutput) ToConditionResponseArrayOutput

func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutput() ConditionResponseArrayOutput

func (ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext

func (o ConditionResponseArrayOutput) ToConditionResponseArrayOutputWithContext(ctx context.Context) ConditionResponseArrayOutput

type ConditionResponseFailingPeriods

type ConditionResponseFailingPeriods struct {
	// The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert *float64 `pulumi:"minFailingPeriodsToAlert"`
	// The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
	NumberOfEvaluationPeriods *float64 `pulumi:"numberOfEvaluationPeriods"`
}

The minimum number of violations required within the selected lookback time window required to raise an alert.

type ConditionResponseFailingPeriodsArgs

type ConditionResponseFailingPeriodsArgs struct {
	// The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1
	MinFailingPeriodsToAlert pulumi.Float64PtrInput `pulumi:"minFailingPeriodsToAlert"`
	// The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1
	NumberOfEvaluationPeriods pulumi.Float64PtrInput `pulumi:"numberOfEvaluationPeriods"`
}

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (ConditionResponseFailingPeriodsArgs) ElementType

func (ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsOutput

func (i ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsOutput() ConditionResponseFailingPeriodsOutput

func (ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsOutputWithContext

func (i ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsOutputWithContext(ctx context.Context) ConditionResponseFailingPeriodsOutput

func (ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsPtrOutput

func (i ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsPtrOutput() ConditionResponseFailingPeriodsPtrOutput

func (ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsPtrOutputWithContext

func (i ConditionResponseFailingPeriodsArgs) ToConditionResponseFailingPeriodsPtrOutputWithContext(ctx context.Context) ConditionResponseFailingPeriodsPtrOutput

type ConditionResponseFailingPeriodsInput

type ConditionResponseFailingPeriodsInput interface {
	pulumi.Input

	ToConditionResponseFailingPeriodsOutput() ConditionResponseFailingPeriodsOutput
	ToConditionResponseFailingPeriodsOutputWithContext(context.Context) ConditionResponseFailingPeriodsOutput
}

ConditionResponseFailingPeriodsInput is an input type that accepts ConditionResponseFailingPeriodsArgs and ConditionResponseFailingPeriodsOutput values. You can construct a concrete instance of `ConditionResponseFailingPeriodsInput` via:

ConditionResponseFailingPeriodsArgs{...}

type ConditionResponseFailingPeriodsOutput

type ConditionResponseFailingPeriodsOutput struct{ *pulumi.OutputState }

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (ConditionResponseFailingPeriodsOutput) ElementType

func (ConditionResponseFailingPeriodsOutput) MinFailingPeriodsToAlert

func (o ConditionResponseFailingPeriodsOutput) MinFailingPeriodsToAlert() pulumi.Float64PtrOutput

The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1

func (ConditionResponseFailingPeriodsOutput) NumberOfEvaluationPeriods

func (o ConditionResponseFailingPeriodsOutput) NumberOfEvaluationPeriods() pulumi.Float64PtrOutput

The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1

func (ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsOutput

func (o ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsOutput() ConditionResponseFailingPeriodsOutput

func (ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsOutputWithContext

func (o ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsOutputWithContext(ctx context.Context) ConditionResponseFailingPeriodsOutput

func (ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsPtrOutput

func (o ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsPtrOutput() ConditionResponseFailingPeriodsPtrOutput

func (ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsPtrOutputWithContext

func (o ConditionResponseFailingPeriodsOutput) ToConditionResponseFailingPeriodsPtrOutputWithContext(ctx context.Context) ConditionResponseFailingPeriodsPtrOutput

type ConditionResponseFailingPeriodsPtrInput

type ConditionResponseFailingPeriodsPtrInput interface {
	pulumi.Input

	ToConditionResponseFailingPeriodsPtrOutput() ConditionResponseFailingPeriodsPtrOutput
	ToConditionResponseFailingPeriodsPtrOutputWithContext(context.Context) ConditionResponseFailingPeriodsPtrOutput
}

ConditionResponseFailingPeriodsPtrInput is an input type that accepts ConditionResponseFailingPeriodsArgs, ConditionResponseFailingPeriodsPtr and ConditionResponseFailingPeriodsPtrOutput values. You can construct a concrete instance of `ConditionResponseFailingPeriodsPtrInput` via:

        ConditionResponseFailingPeriodsArgs{...}

or:

        nil

type ConditionResponseFailingPeriodsPtrOutput

type ConditionResponseFailingPeriodsPtrOutput struct{ *pulumi.OutputState }

func (ConditionResponseFailingPeriodsPtrOutput) Elem

func (ConditionResponseFailingPeriodsPtrOutput) ElementType

func (ConditionResponseFailingPeriodsPtrOutput) MinFailingPeriodsToAlert

The number of violations to trigger an alert. Should be smaller or equal to numberOfEvaluationPeriods. Default value is 1

func (ConditionResponseFailingPeriodsPtrOutput) NumberOfEvaluationPeriods

The number of aggregated lookback points. The lookback time window is calculated based on the aggregation granularity (windowSize) and the selected number of aggregated points. Default value is 1

func (ConditionResponseFailingPeriodsPtrOutput) ToConditionResponseFailingPeriodsPtrOutput

func (o ConditionResponseFailingPeriodsPtrOutput) ToConditionResponseFailingPeriodsPtrOutput() ConditionResponseFailingPeriodsPtrOutput

func (ConditionResponseFailingPeriodsPtrOutput) ToConditionResponseFailingPeriodsPtrOutputWithContext

func (o ConditionResponseFailingPeriodsPtrOutput) ToConditionResponseFailingPeriodsPtrOutputWithContext(ctx context.Context) ConditionResponseFailingPeriodsPtrOutput

type ConditionResponseInput

type ConditionResponseInput interface {
	pulumi.Input

	ToConditionResponseOutput() ConditionResponseOutput
	ToConditionResponseOutputWithContext(context.Context) ConditionResponseOutput
}

ConditionResponseInput is an input type that accepts ConditionResponseArgs and ConditionResponseOutput values. You can construct a concrete instance of `ConditionResponseInput` via:

ConditionResponseArgs{...}

type ConditionResponseOutput

type ConditionResponseOutput struct{ *pulumi.OutputState }

A condition of the scheduled query rule.

func (ConditionResponseOutput) Dimensions

List of Dimensions conditions

func (ConditionResponseOutput) ElementType

func (ConditionResponseOutput) ElementType() reflect.Type

func (ConditionResponseOutput) FailingPeriods

The minimum number of violations required within the selected lookback time window required to raise an alert.

func (ConditionResponseOutput) MetricMeasureColumn

func (o ConditionResponseOutput) MetricMeasureColumn() pulumi.StringPtrOutput

The column containing the metric measure number.

func (ConditionResponseOutput) Operator

The criteria operator.

func (ConditionResponseOutput) Query

Log query alert

func (ConditionResponseOutput) ResourceIdColumn

func (o ConditionResponseOutput) ResourceIdColumn() pulumi.StringPtrOutput

The column containing the resource id. The content of the column must be a uri formatted as resource id

func (ConditionResponseOutput) Threshold

the criteria threshold value that activates the alert.

func (ConditionResponseOutput) TimeAggregation

func (o ConditionResponseOutput) TimeAggregation() pulumi.StringOutput

Aggregation type

func (ConditionResponseOutput) ToConditionResponseOutput

func (o ConditionResponseOutput) ToConditionResponseOutput() ConditionResponseOutput

func (ConditionResponseOutput) ToConditionResponseOutputWithContext

func (o ConditionResponseOutput) ToConditionResponseOutputWithContext(ctx context.Context) ConditionResponseOutput

type Dimension

type Dimension struct {
	// Name of the dimension
	Name string `pulumi:"name"`
	// Operator for dimension values
	Operator string `pulumi:"operator"`
	// List of dimension values
	Values []string `pulumi:"values"`
}

Dimension splitting and filtering definition

type DimensionArgs

type DimensionArgs struct {
	// Name of the dimension
	Name pulumi.StringInput `pulumi:"name"`
	// Operator for dimension values
	Operator pulumi.StringInput `pulumi:"operator"`
	// List of dimension values
	Values pulumi.StringArrayInput `pulumi:"values"`
}

Dimension splitting and filtering definition

func (DimensionArgs) ElementType

func (DimensionArgs) ElementType() reflect.Type

func (DimensionArgs) ToDimensionOutput

func (i DimensionArgs) ToDimensionOutput() DimensionOutput

func (DimensionArgs) ToDimensionOutputWithContext

func (i DimensionArgs) ToDimensionOutputWithContext(ctx context.Context) DimensionOutput

type DimensionArray

type DimensionArray []DimensionInput

func (DimensionArray) ElementType

func (DimensionArray) ElementType() reflect.Type

func (DimensionArray) ToDimensionArrayOutput

func (i DimensionArray) ToDimensionArrayOutput() DimensionArrayOutput

func (DimensionArray) ToDimensionArrayOutputWithContext

func (i DimensionArray) ToDimensionArrayOutputWithContext(ctx context.Context) DimensionArrayOutput

type DimensionArrayInput

type DimensionArrayInput interface {
	pulumi.Input

	ToDimensionArrayOutput() DimensionArrayOutput
	ToDimensionArrayOutputWithContext(context.Context) DimensionArrayOutput
}

DimensionArrayInput is an input type that accepts DimensionArray and DimensionArrayOutput values. You can construct a concrete instance of `DimensionArrayInput` via:

DimensionArray{ DimensionArgs{...} }

type DimensionArrayOutput

type DimensionArrayOutput struct{ *pulumi.OutputState }

func (DimensionArrayOutput) ElementType

func (DimensionArrayOutput) ElementType() reflect.Type

func (DimensionArrayOutput) Index

func (DimensionArrayOutput) ToDimensionArrayOutput

func (o DimensionArrayOutput) ToDimensionArrayOutput() DimensionArrayOutput

func (DimensionArrayOutput) ToDimensionArrayOutputWithContext

func (o DimensionArrayOutput) ToDimensionArrayOutputWithContext(ctx context.Context) DimensionArrayOutput

type DimensionInput

type DimensionInput interface {
	pulumi.Input

	ToDimensionOutput() DimensionOutput
	ToDimensionOutputWithContext(context.Context) DimensionOutput
}

DimensionInput is an input type that accepts DimensionArgs and DimensionOutput values. You can construct a concrete instance of `DimensionInput` via:

DimensionArgs{...}

type DimensionOperator added in v0.3.1

type DimensionOperator pulumi.String

Operator for dimension values

func (DimensionOperator) ElementType added in v0.3.1

func (DimensionOperator) ElementType() reflect.Type

func (DimensionOperator) ToStringOutput added in v0.3.1

func (e DimensionOperator) ToStringOutput() pulumi.StringOutput

func (DimensionOperator) ToStringOutputWithContext added in v0.3.1

func (e DimensionOperator) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (DimensionOperator) ToStringPtrOutput added in v0.3.1

func (e DimensionOperator) ToStringPtrOutput() pulumi.StringPtrOutput

func (DimensionOperator) ToStringPtrOutputWithContext added in v0.3.1

func (e DimensionOperator) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type DimensionOutput

type DimensionOutput struct{ *pulumi.OutputState }

Dimension splitting and filtering definition

func (DimensionOutput) ElementType

func (DimensionOutput) ElementType() reflect.Type

func (DimensionOutput) Name

Name of the dimension

func (DimensionOutput) Operator

func (o DimensionOutput) Operator() pulumi.StringOutput

Operator for dimension values

func (DimensionOutput) ToDimensionOutput

func (o DimensionOutput) ToDimensionOutput() DimensionOutput

func (DimensionOutput) ToDimensionOutputWithContext

func (o DimensionOutput) ToDimensionOutputWithContext(ctx context.Context) DimensionOutput

func (DimensionOutput) Values

List of dimension values

type DimensionResponse

type DimensionResponse struct {
	// Name of the dimension
	Name string `pulumi:"name"`
	// Operator for dimension values
	Operator string `pulumi:"operator"`
	// List of dimension values
	Values []string `pulumi:"values"`
}

Dimension splitting and filtering definition

type DimensionResponseArgs

type DimensionResponseArgs struct {
	// Name of the dimension
	Name pulumi.StringInput `pulumi:"name"`
	// Operator for dimension values
	Operator pulumi.StringInput `pulumi:"operator"`
	// List of dimension values
	Values pulumi.StringArrayInput `pulumi:"values"`
}

Dimension splitting and filtering definition

func (DimensionResponseArgs) ElementType

func (DimensionResponseArgs) ElementType() reflect.Type

func (DimensionResponseArgs) ToDimensionResponseOutput

func (i DimensionResponseArgs) ToDimensionResponseOutput() DimensionResponseOutput

func (DimensionResponseArgs) ToDimensionResponseOutputWithContext

func (i DimensionResponseArgs) ToDimensionResponseOutputWithContext(ctx context.Context) DimensionResponseOutput

type DimensionResponseArray

type DimensionResponseArray []DimensionResponseInput

func (DimensionResponseArray) ElementType

func (DimensionResponseArray) ElementType() reflect.Type

func (DimensionResponseArray) ToDimensionResponseArrayOutput

func (i DimensionResponseArray) ToDimensionResponseArrayOutput() DimensionResponseArrayOutput

func (DimensionResponseArray) ToDimensionResponseArrayOutputWithContext

func (i DimensionResponseArray) ToDimensionResponseArrayOutputWithContext(ctx context.Context) DimensionResponseArrayOutput

type DimensionResponseArrayInput

type DimensionResponseArrayInput interface {
	pulumi.Input

	ToDimensionResponseArrayOutput() DimensionResponseArrayOutput
	ToDimensionResponseArrayOutputWithContext(context.Context) DimensionResponseArrayOutput
}

DimensionResponseArrayInput is an input type that accepts DimensionResponseArray and DimensionResponseArrayOutput values. You can construct a concrete instance of `DimensionResponseArrayInput` via:

DimensionResponseArray{ DimensionResponseArgs{...} }

type DimensionResponseArrayOutput

type DimensionResponseArrayOutput struct{ *pulumi.OutputState }

func (DimensionResponseArrayOutput) ElementType

func (DimensionResponseArrayOutput) Index

func (DimensionResponseArrayOutput) ToDimensionResponseArrayOutput

func (o DimensionResponseArrayOutput) ToDimensionResponseArrayOutput() DimensionResponseArrayOutput

func (DimensionResponseArrayOutput) ToDimensionResponseArrayOutputWithContext

func (o DimensionResponseArrayOutput) ToDimensionResponseArrayOutputWithContext(ctx context.Context) DimensionResponseArrayOutput

type DimensionResponseInput

type DimensionResponseInput interface {
	pulumi.Input

	ToDimensionResponseOutput() DimensionResponseOutput
	ToDimensionResponseOutputWithContext(context.Context) DimensionResponseOutput
}

DimensionResponseInput is an input type that accepts DimensionResponseArgs and DimensionResponseOutput values. You can construct a concrete instance of `DimensionResponseInput` via:

DimensionResponseArgs{...}

type DimensionResponseOutput

type DimensionResponseOutput struct{ *pulumi.OutputState }

Dimension splitting and filtering definition

func (DimensionResponseOutput) ElementType

func (DimensionResponseOutput) ElementType() reflect.Type

func (DimensionResponseOutput) Name

Name of the dimension

func (DimensionResponseOutput) Operator

Operator for dimension values

func (DimensionResponseOutput) ToDimensionResponseOutput

func (o DimensionResponseOutput) ToDimensionResponseOutput() DimensionResponseOutput

func (DimensionResponseOutput) ToDimensionResponseOutputWithContext

func (o DimensionResponseOutput) ToDimensionResponseOutputWithContext(ctx context.Context) DimensionResponseOutput

func (DimensionResponseOutput) Values

List of dimension values

type LookupScheduledQueryRuleArgs

type LookupScheduledQueryRuleArgs struct {
	// The name of the resource group.
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The name of the rule.
	RuleName string `pulumi:"ruleName"`
}

type LookupScheduledQueryRuleResult

type LookupScheduledQueryRuleResult struct {
	Actions []ActionResponse `pulumi:"actions"`
	// The api-version used when creating this alert rule
	CreatedWithApiVersion string `pulumi:"createdWithApiVersion"`
	// The rule criteria that defines the conditions of the scheduled query rule.
	Criteria ScheduledQueryRuleCriteriaResponse `pulumi:"criteria"`
	// The description of the scheduled query rule.
	Description *string `pulumi:"description"`
	// The display name of the alert rule
	DisplayName *string `pulumi:"displayName"`
	// The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled bool `pulumi:"enabled"`
	// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag string `pulumi:"etag"`
	// How often the scheduled query rule is evaluated represented in ISO 8601 duration format.
	EvaluationFrequency string `pulumi:"evaluationFrequency"`
	// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	Id string `pulumi:"id"`
	// True if alert rule is legacy Log Analytic rule
	IsLegacyLogAnalyticsRule bool `pulumi:"isLegacyLogAnalyticsRule"`
	// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind string `pulumi:"kind"`
	// The geo-location where the resource lives
	Location string `pulumi:"location"`
	// Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	MuteActionsDuration *string `pulumi:"muteActionsDuration"`
	// The name of the resource
	Name string `pulumi:"name"`
	// If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods)
	OverrideQueryTimeRange *string `pulumi:"overrideQueryTimeRange"`
	// The list of resource id's that this scheduled query rule is scoped to.
	Scopes []string `pulumi:"scopes"`
	// Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest
	Severity float64 `pulumi:"severity"`
	// Resource tags.
	Tags map[string]string `pulumi:"tags"`
	// List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria
	TargetResourceTypes []string `pulumi:"targetResourceTypes"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type string `pulumi:"type"`
	// The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	WindowSize string `pulumi:"windowSize"`
}

The scheduled query rule resource.

type ScheduledQueryRule

type ScheduledQueryRule struct {
	pulumi.CustomResourceState

	Actions ActionResponseArrayOutput `pulumi:"actions"`
	// The api-version used when creating this alert rule
	CreatedWithApiVersion pulumi.StringOutput `pulumi:"createdWithApiVersion"`
	// The rule criteria that defines the conditions of the scheduled query rule.
	Criteria ScheduledQueryRuleCriteriaResponseOutput `pulumi:"criteria"`
	// The description of the scheduled query rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The display name of the alert rule
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled pulumi.BoolOutput `pulumi:"enabled"`
	// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// How often the scheduled query rule is evaluated represented in ISO 8601 duration format.
	EvaluationFrequency pulumi.StringOutput `pulumi:"evaluationFrequency"`
	// True if alert rule is legacy Log Analytic rule
	IsLegacyLogAnalyticsRule pulumi.BoolOutput `pulumi:"isLegacyLogAnalyticsRule"`
	// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The geo-location where the resource lives
	Location pulumi.StringOutput `pulumi:"location"`
	// Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	MuteActionsDuration pulumi.StringPtrOutput `pulumi:"muteActionsDuration"`
	// The name of the resource
	Name pulumi.StringOutput `pulumi:"name"`
	// If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods)
	OverrideQueryTimeRange pulumi.StringPtrOutput `pulumi:"overrideQueryTimeRange"`
	// The list of resource id's that this scheduled query rule is scoped to.
	Scopes pulumi.StringArrayOutput `pulumi:"scopes"`
	// Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest
	Severity pulumi.Float64Output `pulumi:"severity"`
	// Resource tags.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria
	TargetResourceTypes pulumi.StringArrayOutput `pulumi:"targetResourceTypes"`
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringOutput `pulumi:"type"`
	// The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	WindowSize pulumi.StringOutput `pulumi:"windowSize"`
}

The scheduled query rule resource.

func GetScheduledQueryRule

func GetScheduledQueryRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ScheduledQueryRuleState, opts ...pulumi.ResourceOption) (*ScheduledQueryRule, error)

GetScheduledQueryRule gets an existing ScheduledQueryRule 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 NewScheduledQueryRule

func NewScheduledQueryRule(ctx *pulumi.Context,
	name string, args *ScheduledQueryRuleArgs, opts ...pulumi.ResourceOption) (*ScheduledQueryRule, error)

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

func (*ScheduledQueryRule) ElementType added in v0.2.6

func (*ScheduledQueryRule) ElementType() reflect.Type

func (*ScheduledQueryRule) ToScheduledQueryRuleOutput added in v0.2.6

func (i *ScheduledQueryRule) ToScheduledQueryRuleOutput() ScheduledQueryRuleOutput

func (*ScheduledQueryRule) ToScheduledQueryRuleOutputWithContext added in v0.2.6

func (i *ScheduledQueryRule) ToScheduledQueryRuleOutputWithContext(ctx context.Context) ScheduledQueryRuleOutput

type ScheduledQueryRuleArgs

type ScheduledQueryRuleArgs struct {
	Actions ActionArrayInput
	// The rule criteria that defines the conditions of the scheduled query rule.
	Criteria ScheduledQueryRuleCriteriaInput
	// The description of the scheduled query rule.
	Description pulumi.StringPtrInput
	// The display name of the alert rule
	DisplayName pulumi.StringPtrInput
	// The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled pulumi.BoolInput
	// How often the scheduled query rule is evaluated represented in ISO 8601 duration format.
	EvaluationFrequency pulumi.StringInput
	// The geo-location where the resource lives
	Location pulumi.StringPtrInput
	// Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	MuteActionsDuration pulumi.StringPtrInput
	// If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods)
	OverrideQueryTimeRange pulumi.StringPtrInput
	// The name of the resource group.
	ResourceGroupName pulumi.StringInput
	// The name of the rule.
	RuleName pulumi.StringInput
	// The list of resource id's that this scheduled query rule is scoped to.
	Scopes pulumi.StringArrayInput
	// Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest
	Severity pulumi.Float64Input
	// Resource tags.
	Tags pulumi.StringMapInput
	// List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria
	TargetResourceTypes pulumi.StringArrayInput
	// The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	WindowSize pulumi.StringInput
}

The set of arguments for constructing a ScheduledQueryRule resource.

func (ScheduledQueryRuleArgs) ElementType

func (ScheduledQueryRuleArgs) ElementType() reflect.Type

type ScheduledQueryRuleCriteria

type ScheduledQueryRuleCriteria struct {
	// A list of conditions to evaluate against the specified scopes
	AllOf []Condition `pulumi:"allOf"`
}

The rule criteria that defines the conditions of the scheduled query rule.

type ScheduledQueryRuleCriteriaArgs

type ScheduledQueryRuleCriteriaArgs struct {
	// A list of conditions to evaluate against the specified scopes
	AllOf ConditionArrayInput `pulumi:"allOf"`
}

The rule criteria that defines the conditions of the scheduled query rule.

func (ScheduledQueryRuleCriteriaArgs) ElementType

func (ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaOutput

func (i ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaOutput() ScheduledQueryRuleCriteriaOutput

func (ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaOutputWithContext

func (i ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaOutput

func (ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaPtrOutput

func (i ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaPtrOutput() ScheduledQueryRuleCriteriaPtrOutput

func (ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaPtrOutputWithContext

func (i ScheduledQueryRuleCriteriaArgs) ToScheduledQueryRuleCriteriaPtrOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaPtrOutput

type ScheduledQueryRuleCriteriaInput

type ScheduledQueryRuleCriteriaInput interface {
	pulumi.Input

	ToScheduledQueryRuleCriteriaOutput() ScheduledQueryRuleCriteriaOutput
	ToScheduledQueryRuleCriteriaOutputWithContext(context.Context) ScheduledQueryRuleCriteriaOutput
}

ScheduledQueryRuleCriteriaInput is an input type that accepts ScheduledQueryRuleCriteriaArgs and ScheduledQueryRuleCriteriaOutput values. You can construct a concrete instance of `ScheduledQueryRuleCriteriaInput` via:

ScheduledQueryRuleCriteriaArgs{...}

type ScheduledQueryRuleCriteriaOutput

type ScheduledQueryRuleCriteriaOutput struct{ *pulumi.OutputState }

The rule criteria that defines the conditions of the scheduled query rule.

func (ScheduledQueryRuleCriteriaOutput) AllOf

A list of conditions to evaluate against the specified scopes

func (ScheduledQueryRuleCriteriaOutput) ElementType

func (ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaOutput

func (o ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaOutput() ScheduledQueryRuleCriteriaOutput

func (ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaOutputWithContext

func (o ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaOutput

func (ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaPtrOutput

func (o ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaPtrOutput() ScheduledQueryRuleCriteriaPtrOutput

func (ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaPtrOutputWithContext

func (o ScheduledQueryRuleCriteriaOutput) ToScheduledQueryRuleCriteriaPtrOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaPtrOutput

type ScheduledQueryRuleCriteriaPtrInput

type ScheduledQueryRuleCriteriaPtrInput interface {
	pulumi.Input

	ToScheduledQueryRuleCriteriaPtrOutput() ScheduledQueryRuleCriteriaPtrOutput
	ToScheduledQueryRuleCriteriaPtrOutputWithContext(context.Context) ScheduledQueryRuleCriteriaPtrOutput
}

ScheduledQueryRuleCriteriaPtrInput is an input type that accepts ScheduledQueryRuleCriteriaArgs, ScheduledQueryRuleCriteriaPtr and ScheduledQueryRuleCriteriaPtrOutput values. You can construct a concrete instance of `ScheduledQueryRuleCriteriaPtrInput` via:

        ScheduledQueryRuleCriteriaArgs{...}

or:

        nil

type ScheduledQueryRuleCriteriaPtrOutput

type ScheduledQueryRuleCriteriaPtrOutput struct{ *pulumi.OutputState }

func (ScheduledQueryRuleCriteriaPtrOutput) AllOf

A list of conditions to evaluate against the specified scopes

func (ScheduledQueryRuleCriteriaPtrOutput) Elem

func (ScheduledQueryRuleCriteriaPtrOutput) ElementType

func (ScheduledQueryRuleCriteriaPtrOutput) ToScheduledQueryRuleCriteriaPtrOutput

func (o ScheduledQueryRuleCriteriaPtrOutput) ToScheduledQueryRuleCriteriaPtrOutput() ScheduledQueryRuleCriteriaPtrOutput

func (ScheduledQueryRuleCriteriaPtrOutput) ToScheduledQueryRuleCriteriaPtrOutputWithContext

func (o ScheduledQueryRuleCriteriaPtrOutput) ToScheduledQueryRuleCriteriaPtrOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaPtrOutput

type ScheduledQueryRuleCriteriaResponse

type ScheduledQueryRuleCriteriaResponse struct {
	// A list of conditions to evaluate against the specified scopes
	AllOf []ConditionResponse `pulumi:"allOf"`
}

The rule criteria that defines the conditions of the scheduled query rule.

type ScheduledQueryRuleCriteriaResponseArgs

type ScheduledQueryRuleCriteriaResponseArgs struct {
	// A list of conditions to evaluate against the specified scopes
	AllOf ConditionResponseArrayInput `pulumi:"allOf"`
}

The rule criteria that defines the conditions of the scheduled query rule.

func (ScheduledQueryRuleCriteriaResponseArgs) ElementType

func (ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponseOutput

func (i ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponseOutput() ScheduledQueryRuleCriteriaResponseOutput

func (ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponseOutputWithContext

func (i ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponseOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaResponseOutput

func (ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponsePtrOutput

func (i ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponsePtrOutput() ScheduledQueryRuleCriteriaResponsePtrOutput

func (ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponsePtrOutputWithContext

func (i ScheduledQueryRuleCriteriaResponseArgs) ToScheduledQueryRuleCriteriaResponsePtrOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaResponsePtrOutput

type ScheduledQueryRuleCriteriaResponseInput

type ScheduledQueryRuleCriteriaResponseInput interface {
	pulumi.Input

	ToScheduledQueryRuleCriteriaResponseOutput() ScheduledQueryRuleCriteriaResponseOutput
	ToScheduledQueryRuleCriteriaResponseOutputWithContext(context.Context) ScheduledQueryRuleCriteriaResponseOutput
}

ScheduledQueryRuleCriteriaResponseInput is an input type that accepts ScheduledQueryRuleCriteriaResponseArgs and ScheduledQueryRuleCriteriaResponseOutput values. You can construct a concrete instance of `ScheduledQueryRuleCriteriaResponseInput` via:

ScheduledQueryRuleCriteriaResponseArgs{...}

type ScheduledQueryRuleCriteriaResponseOutput

type ScheduledQueryRuleCriteriaResponseOutput struct{ *pulumi.OutputState }

The rule criteria that defines the conditions of the scheduled query rule.

func (ScheduledQueryRuleCriteriaResponseOutput) AllOf

A list of conditions to evaluate against the specified scopes

func (ScheduledQueryRuleCriteriaResponseOutput) ElementType

func (ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponseOutput

func (o ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponseOutput() ScheduledQueryRuleCriteriaResponseOutput

func (ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponseOutputWithContext

func (o ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponseOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaResponseOutput

func (ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponsePtrOutput

func (o ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponsePtrOutput() ScheduledQueryRuleCriteriaResponsePtrOutput

func (ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponsePtrOutputWithContext

func (o ScheduledQueryRuleCriteriaResponseOutput) ToScheduledQueryRuleCriteriaResponsePtrOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaResponsePtrOutput

type ScheduledQueryRuleCriteriaResponsePtrInput

type ScheduledQueryRuleCriteriaResponsePtrInput interface {
	pulumi.Input

	ToScheduledQueryRuleCriteriaResponsePtrOutput() ScheduledQueryRuleCriteriaResponsePtrOutput
	ToScheduledQueryRuleCriteriaResponsePtrOutputWithContext(context.Context) ScheduledQueryRuleCriteriaResponsePtrOutput
}

ScheduledQueryRuleCriteriaResponsePtrInput is an input type that accepts ScheduledQueryRuleCriteriaResponseArgs, ScheduledQueryRuleCriteriaResponsePtr and ScheduledQueryRuleCriteriaResponsePtrOutput values. You can construct a concrete instance of `ScheduledQueryRuleCriteriaResponsePtrInput` via:

        ScheduledQueryRuleCriteriaResponseArgs{...}

or:

        nil

type ScheduledQueryRuleCriteriaResponsePtrOutput

type ScheduledQueryRuleCriteriaResponsePtrOutput struct{ *pulumi.OutputState }

func (ScheduledQueryRuleCriteriaResponsePtrOutput) AllOf

A list of conditions to evaluate against the specified scopes

func (ScheduledQueryRuleCriteriaResponsePtrOutput) Elem

func (ScheduledQueryRuleCriteriaResponsePtrOutput) ElementType

func (ScheduledQueryRuleCriteriaResponsePtrOutput) ToScheduledQueryRuleCriteriaResponsePtrOutput

func (o ScheduledQueryRuleCriteriaResponsePtrOutput) ToScheduledQueryRuleCriteriaResponsePtrOutput() ScheduledQueryRuleCriteriaResponsePtrOutput

func (ScheduledQueryRuleCriteriaResponsePtrOutput) ToScheduledQueryRuleCriteriaResponsePtrOutputWithContext

func (o ScheduledQueryRuleCriteriaResponsePtrOutput) ToScheduledQueryRuleCriteriaResponsePtrOutputWithContext(ctx context.Context) ScheduledQueryRuleCriteriaResponsePtrOutput

type ScheduledQueryRuleInput added in v0.2.6

type ScheduledQueryRuleInput interface {
	pulumi.Input

	ToScheduledQueryRuleOutput() ScheduledQueryRuleOutput
	ToScheduledQueryRuleOutputWithContext(ctx context.Context) ScheduledQueryRuleOutput
}

type ScheduledQueryRuleOutput added in v0.2.6

type ScheduledQueryRuleOutput struct {
	*pulumi.OutputState
}

func (ScheduledQueryRuleOutput) ElementType added in v0.2.6

func (ScheduledQueryRuleOutput) ElementType() reflect.Type

func (ScheduledQueryRuleOutput) ToScheduledQueryRuleOutput added in v0.2.6

func (o ScheduledQueryRuleOutput) ToScheduledQueryRuleOutput() ScheduledQueryRuleOutput

func (ScheduledQueryRuleOutput) ToScheduledQueryRuleOutputWithContext added in v0.2.6

func (o ScheduledQueryRuleOutput) ToScheduledQueryRuleOutputWithContext(ctx context.Context) ScheduledQueryRuleOutput

type ScheduledQueryRuleState

type ScheduledQueryRuleState struct {
	Actions ActionResponseArrayInput
	// The api-version used when creating this alert rule
	CreatedWithApiVersion pulumi.StringPtrInput
	// The rule criteria that defines the conditions of the scheduled query rule.
	Criteria ScheduledQueryRuleCriteriaResponsePtrInput
	// The description of the scheduled query rule.
	Description pulumi.StringPtrInput
	// The display name of the alert rule
	DisplayName pulumi.StringPtrInput
	// The flag which indicates whether this scheduled query rule is enabled. Value should be true or false
	Enabled pulumi.BoolPtrInput
	// The etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal etag convention.  Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
	Etag pulumi.StringPtrInput
	// How often the scheduled query rule is evaluated represented in ISO 8601 duration format.
	EvaluationFrequency pulumi.StringPtrInput
	// True if alert rule is legacy Log Analytic rule
	IsLegacyLogAnalyticsRule pulumi.BoolPtrInput
	// Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type.  If supported, the resource provider must validate and persist this value.
	Kind pulumi.StringPtrInput
	// The geo-location where the resource lives
	Location pulumi.StringPtrInput
	// Mute actions for the chosen period of time (in ISO 8601 duration format) after the alert is fired.
	MuteActionsDuration pulumi.StringPtrInput
	// The name of the resource
	Name pulumi.StringPtrInput
	// If specified then overrides the query time range (default is WindowSize*NumberOfEvaluationPeriods)
	OverrideQueryTimeRange pulumi.StringPtrInput
	// The list of resource id's that this scheduled query rule is scoped to.
	Scopes pulumi.StringArrayInput
	// Severity of the alert. Should be an integer between [0-4]. Value of 0 is severest
	Severity pulumi.Float64PtrInput
	// Resource tags.
	Tags pulumi.StringMapInput
	// List of resource type of the target resource(s) on which the alert is created/updated. For example if the scope is a resource group and targetResourceTypes is Microsoft.Compute/virtualMachines, then a different alert will be fired for each virtual machine in the resource group which meet the alert criteria
	TargetResourceTypes pulumi.StringArrayInput
	// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type pulumi.StringPtrInput
	// The period of time (in ISO 8601 duration format) on which the Alert query will be executed (bin size).
	WindowSize pulumi.StringPtrInput
}

func (ScheduledQueryRuleState) ElementType

func (ScheduledQueryRuleState) ElementType() reflect.Type

type TimeAggregation added in v0.3.1

type TimeAggregation pulumi.String

Aggregation type

func (TimeAggregation) ElementType added in v0.3.1

func (TimeAggregation) ElementType() reflect.Type

func (TimeAggregation) ToStringOutput added in v0.3.1

func (e TimeAggregation) ToStringOutput() pulumi.StringOutput

func (TimeAggregation) ToStringOutputWithContext added in v0.3.1

func (e TimeAggregation) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (TimeAggregation) ToStringPtrOutput added in v0.3.1

func (e TimeAggregation) ToStringPtrOutput() pulumi.StringPtrOutput

func (TimeAggregation) ToStringPtrOutputWithContext added in v0.3.1

func (e TimeAggregation) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL