v20180416

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 (
	AlertSeverityZero  = AlertSeverity("0")
	AlertSeverityOne   = AlertSeverity("1")
	AlertSeverityTwo   = AlertSeverity("2")
	AlertSeverityThree = AlertSeverity("3")
	AlertSeverityFour  = AlertSeverity("4")
)
View Source
const (
	ConditionalOperatorGreaterThanOrEqual = ConditionalOperator("GreaterThanOrEqual")
	ConditionalOperatorLessThanOrEqual    = ConditionalOperator("LessThanOrEqual")
	ConditionalOperatorGreaterThan        = ConditionalOperator("GreaterThan")
	ConditionalOperatorLessThan           = ConditionalOperator("LessThan")
	ConditionalOperatorEqual              = ConditionalOperator("Equal")
)
View Source
const (
	EnabledTrue  = Enabled("true")
	EnabledFalse = Enabled("false")
)
View Source
const (
	MetricTriggerTypeConsecutive = MetricTriggerType("Consecutive")
	MetricTriggerTypeTotal       = MetricTriggerType("Total")
)
View Source
const (
	OperatorInclude = Operator("Include")
)
View Source
const (
	QueryTypeResultCount = QueryType("ResultCount")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertSeverity added in v0.3.1

type AlertSeverity pulumi.String

Severity of the alert

func (AlertSeverity) ElementType added in v0.3.1

func (AlertSeverity) ElementType() reflect.Type

func (AlertSeverity) ToStringOutput added in v0.3.1

func (e AlertSeverity) ToStringOutput() pulumi.StringOutput

func (AlertSeverity) ToStringOutputWithContext added in v0.3.1

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

func (AlertSeverity) ToStringPtrOutput added in v0.3.1

func (e AlertSeverity) ToStringPtrOutput() pulumi.StringPtrOutput

func (AlertSeverity) ToStringPtrOutputWithContext added in v0.3.1

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

type AlertingAction

type AlertingAction struct {
	// Azure action group reference.
	AznsAction *AzNsActionGroup `pulumi:"aznsAction"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction'.
	OdataType string `pulumi:"odataType"`
	// Severity of the alert
	Severity string `pulumi:"severity"`
	// time (in minutes) for which Alerts should be throttled or suppressed.
	ThrottlingInMin *int `pulumi:"throttlingInMin"`
	// The trigger condition that results in the alert rule being.
	Trigger TriggerCondition `pulumi:"trigger"`
}

Specify action need to be taken when rule type is Alert

type AlertingActionArgs

type AlertingActionArgs struct {
	// Azure action group reference.
	AznsAction AzNsActionGroupPtrInput `pulumi:"aznsAction"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction'.
	OdataType pulumi.StringInput `pulumi:"odataType"`
	// Severity of the alert
	Severity pulumi.StringInput `pulumi:"severity"`
	// time (in minutes) for which Alerts should be throttled or suppressed.
	ThrottlingInMin pulumi.IntPtrInput `pulumi:"throttlingInMin"`
	// The trigger condition that results in the alert rule being.
	Trigger TriggerConditionInput `pulumi:"trigger"`
}

Specify action need to be taken when rule type is Alert

func (AlertingActionArgs) ElementType

func (AlertingActionArgs) ElementType() reflect.Type

func (AlertingActionArgs) ToAlertingActionOutput

func (i AlertingActionArgs) ToAlertingActionOutput() AlertingActionOutput

func (AlertingActionArgs) ToAlertingActionOutputWithContext

func (i AlertingActionArgs) ToAlertingActionOutputWithContext(ctx context.Context) AlertingActionOutput

type AlertingActionInput

type AlertingActionInput interface {
	pulumi.Input

	ToAlertingActionOutput() AlertingActionOutput
	ToAlertingActionOutputWithContext(context.Context) AlertingActionOutput
}

AlertingActionInput is an input type that accepts AlertingActionArgs and AlertingActionOutput values. You can construct a concrete instance of `AlertingActionInput` via:

AlertingActionArgs{...}

type AlertingActionOutput

type AlertingActionOutput struct{ *pulumi.OutputState }

Specify action need to be taken when rule type is Alert

func (AlertingActionOutput) AznsAction

Azure action group reference.

func (AlertingActionOutput) ElementType

func (AlertingActionOutput) ElementType() reflect.Type

func (AlertingActionOutput) OdataType

Specifies the action. Supported values - AlertingAction, LogToMetricAction Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction'.

func (AlertingActionOutput) Severity

Severity of the alert

func (AlertingActionOutput) ThrottlingInMin

func (o AlertingActionOutput) ThrottlingInMin() pulumi.IntPtrOutput

time (in minutes) for which Alerts should be throttled or suppressed.

func (AlertingActionOutput) ToAlertingActionOutput

func (o AlertingActionOutput) ToAlertingActionOutput() AlertingActionOutput

func (AlertingActionOutput) ToAlertingActionOutputWithContext

func (o AlertingActionOutput) ToAlertingActionOutputWithContext(ctx context.Context) AlertingActionOutput

func (AlertingActionOutput) Trigger

The trigger condition that results in the alert rule being.

type AlertingActionResponse

type AlertingActionResponse struct {
	// Azure action group reference.
	AznsAction *AzNsActionGroupResponse `pulumi:"aznsAction"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction'.
	OdataType string `pulumi:"odataType"`
	// Severity of the alert
	Severity string `pulumi:"severity"`
	// time (in minutes) for which Alerts should be throttled or suppressed.
	ThrottlingInMin *int `pulumi:"throttlingInMin"`
	// The trigger condition that results in the alert rule being.
	Trigger TriggerConditionResponse `pulumi:"trigger"`
}

Specify action need to be taken when rule type is Alert

type AlertingActionResponseArgs

type AlertingActionResponseArgs struct {
	// Azure action group reference.
	AznsAction AzNsActionGroupResponsePtrInput `pulumi:"aznsAction"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction'.
	OdataType pulumi.StringInput `pulumi:"odataType"`
	// Severity of the alert
	Severity pulumi.StringInput `pulumi:"severity"`
	// time (in minutes) for which Alerts should be throttled or suppressed.
	ThrottlingInMin pulumi.IntPtrInput `pulumi:"throttlingInMin"`
	// The trigger condition that results in the alert rule being.
	Trigger TriggerConditionResponseInput `pulumi:"trigger"`
}

Specify action need to be taken when rule type is Alert

func (AlertingActionResponseArgs) ElementType

func (AlertingActionResponseArgs) ElementType() reflect.Type

func (AlertingActionResponseArgs) ToAlertingActionResponseOutput

func (i AlertingActionResponseArgs) ToAlertingActionResponseOutput() AlertingActionResponseOutput

func (AlertingActionResponseArgs) ToAlertingActionResponseOutputWithContext

func (i AlertingActionResponseArgs) ToAlertingActionResponseOutputWithContext(ctx context.Context) AlertingActionResponseOutput

type AlertingActionResponseInput

type AlertingActionResponseInput interface {
	pulumi.Input

	ToAlertingActionResponseOutput() AlertingActionResponseOutput
	ToAlertingActionResponseOutputWithContext(context.Context) AlertingActionResponseOutput
}

AlertingActionResponseInput is an input type that accepts AlertingActionResponseArgs and AlertingActionResponseOutput values. You can construct a concrete instance of `AlertingActionResponseInput` via:

AlertingActionResponseArgs{...}

type AlertingActionResponseOutput

type AlertingActionResponseOutput struct{ *pulumi.OutputState }

Specify action need to be taken when rule type is Alert

func (AlertingActionResponseOutput) AznsAction

Azure action group reference.

func (AlertingActionResponseOutput) ElementType

func (AlertingActionResponseOutput) OdataType

Specifies the action. Supported values - AlertingAction, LogToMetricAction Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.AlertingAction'.

func (AlertingActionResponseOutput) Severity

Severity of the alert

func (AlertingActionResponseOutput) ThrottlingInMin

func (o AlertingActionResponseOutput) ThrottlingInMin() pulumi.IntPtrOutput

time (in minutes) for which Alerts should be throttled or suppressed.

func (AlertingActionResponseOutput) ToAlertingActionResponseOutput

func (o AlertingActionResponseOutput) ToAlertingActionResponseOutput() AlertingActionResponseOutput

func (AlertingActionResponseOutput) ToAlertingActionResponseOutputWithContext

func (o AlertingActionResponseOutput) ToAlertingActionResponseOutputWithContext(ctx context.Context) AlertingActionResponseOutput

func (AlertingActionResponseOutput) Trigger

The trigger condition that results in the alert rule being.

type AzNsActionGroup

type AzNsActionGroup struct {
	// Azure Action Group reference.
	ActionGroup []string `pulumi:"actionGroup"`
	// Custom payload to be sent for all webhook URI in Azure action group
	CustomWebhookPayload *string `pulumi:"customWebhookPayload"`
	// Custom subject override for all email ids in Azure action group
	EmailSubject *string `pulumi:"emailSubject"`
}

Azure action group

type AzNsActionGroupArgs

type AzNsActionGroupArgs struct {
	// Azure Action Group reference.
	ActionGroup pulumi.StringArrayInput `pulumi:"actionGroup"`
	// Custom payload to be sent for all webhook URI in Azure action group
	CustomWebhookPayload pulumi.StringPtrInput `pulumi:"customWebhookPayload"`
	// Custom subject override for all email ids in Azure action group
	EmailSubject pulumi.StringPtrInput `pulumi:"emailSubject"`
}

Azure action group

func (AzNsActionGroupArgs) ElementType

func (AzNsActionGroupArgs) ElementType() reflect.Type

func (AzNsActionGroupArgs) ToAzNsActionGroupOutput

func (i AzNsActionGroupArgs) ToAzNsActionGroupOutput() AzNsActionGroupOutput

func (AzNsActionGroupArgs) ToAzNsActionGroupOutputWithContext

func (i AzNsActionGroupArgs) ToAzNsActionGroupOutputWithContext(ctx context.Context) AzNsActionGroupOutput

func (AzNsActionGroupArgs) ToAzNsActionGroupPtrOutput

func (i AzNsActionGroupArgs) ToAzNsActionGroupPtrOutput() AzNsActionGroupPtrOutput

func (AzNsActionGroupArgs) ToAzNsActionGroupPtrOutputWithContext

func (i AzNsActionGroupArgs) ToAzNsActionGroupPtrOutputWithContext(ctx context.Context) AzNsActionGroupPtrOutput

type AzNsActionGroupInput

type AzNsActionGroupInput interface {
	pulumi.Input

	ToAzNsActionGroupOutput() AzNsActionGroupOutput
	ToAzNsActionGroupOutputWithContext(context.Context) AzNsActionGroupOutput
}

AzNsActionGroupInput is an input type that accepts AzNsActionGroupArgs and AzNsActionGroupOutput values. You can construct a concrete instance of `AzNsActionGroupInput` via:

AzNsActionGroupArgs{...}

type AzNsActionGroupOutput

type AzNsActionGroupOutput struct{ *pulumi.OutputState }

Azure action group

func (AzNsActionGroupOutput) ActionGroup

Azure Action Group reference.

func (AzNsActionGroupOutput) CustomWebhookPayload

func (o AzNsActionGroupOutput) CustomWebhookPayload() pulumi.StringPtrOutput

Custom payload to be sent for all webhook URI in Azure action group

func (AzNsActionGroupOutput) ElementType

func (AzNsActionGroupOutput) ElementType() reflect.Type

func (AzNsActionGroupOutput) EmailSubject

func (o AzNsActionGroupOutput) EmailSubject() pulumi.StringPtrOutput

Custom subject override for all email ids in Azure action group

func (AzNsActionGroupOutput) ToAzNsActionGroupOutput

func (o AzNsActionGroupOutput) ToAzNsActionGroupOutput() AzNsActionGroupOutput

func (AzNsActionGroupOutput) ToAzNsActionGroupOutputWithContext

func (o AzNsActionGroupOutput) ToAzNsActionGroupOutputWithContext(ctx context.Context) AzNsActionGroupOutput

func (AzNsActionGroupOutput) ToAzNsActionGroupPtrOutput

func (o AzNsActionGroupOutput) ToAzNsActionGroupPtrOutput() AzNsActionGroupPtrOutput

func (AzNsActionGroupOutput) ToAzNsActionGroupPtrOutputWithContext

func (o AzNsActionGroupOutput) ToAzNsActionGroupPtrOutputWithContext(ctx context.Context) AzNsActionGroupPtrOutput

type AzNsActionGroupPtrInput

type AzNsActionGroupPtrInput interface {
	pulumi.Input

	ToAzNsActionGroupPtrOutput() AzNsActionGroupPtrOutput
	ToAzNsActionGroupPtrOutputWithContext(context.Context) AzNsActionGroupPtrOutput
}

AzNsActionGroupPtrInput is an input type that accepts AzNsActionGroupArgs, AzNsActionGroupPtr and AzNsActionGroupPtrOutput values. You can construct a concrete instance of `AzNsActionGroupPtrInput` via:

        AzNsActionGroupArgs{...}

or:

        nil

type AzNsActionGroupPtrOutput

type AzNsActionGroupPtrOutput struct{ *pulumi.OutputState }

func (AzNsActionGroupPtrOutput) ActionGroup

Azure Action Group reference.

func (AzNsActionGroupPtrOutput) CustomWebhookPayload

func (o AzNsActionGroupPtrOutput) CustomWebhookPayload() pulumi.StringPtrOutput

Custom payload to be sent for all webhook URI in Azure action group

func (AzNsActionGroupPtrOutput) Elem

func (AzNsActionGroupPtrOutput) ElementType

func (AzNsActionGroupPtrOutput) ElementType() reflect.Type

func (AzNsActionGroupPtrOutput) EmailSubject

Custom subject override for all email ids in Azure action group

func (AzNsActionGroupPtrOutput) ToAzNsActionGroupPtrOutput

func (o AzNsActionGroupPtrOutput) ToAzNsActionGroupPtrOutput() AzNsActionGroupPtrOutput

func (AzNsActionGroupPtrOutput) ToAzNsActionGroupPtrOutputWithContext

func (o AzNsActionGroupPtrOutput) ToAzNsActionGroupPtrOutputWithContext(ctx context.Context) AzNsActionGroupPtrOutput

type AzNsActionGroupResponse

type AzNsActionGroupResponse struct {
	// Azure Action Group reference.
	ActionGroup []string `pulumi:"actionGroup"`
	// Custom payload to be sent for all webhook URI in Azure action group
	CustomWebhookPayload *string `pulumi:"customWebhookPayload"`
	// Custom subject override for all email ids in Azure action group
	EmailSubject *string `pulumi:"emailSubject"`
}

Azure action group

type AzNsActionGroupResponseArgs

type AzNsActionGroupResponseArgs struct {
	// Azure Action Group reference.
	ActionGroup pulumi.StringArrayInput `pulumi:"actionGroup"`
	// Custom payload to be sent for all webhook URI in Azure action group
	CustomWebhookPayload pulumi.StringPtrInput `pulumi:"customWebhookPayload"`
	// Custom subject override for all email ids in Azure action group
	EmailSubject pulumi.StringPtrInput `pulumi:"emailSubject"`
}

Azure action group

func (AzNsActionGroupResponseArgs) ElementType

func (AzNsActionGroupResponseArgs) ToAzNsActionGroupResponseOutput

func (i AzNsActionGroupResponseArgs) ToAzNsActionGroupResponseOutput() AzNsActionGroupResponseOutput

func (AzNsActionGroupResponseArgs) ToAzNsActionGroupResponseOutputWithContext

func (i AzNsActionGroupResponseArgs) ToAzNsActionGroupResponseOutputWithContext(ctx context.Context) AzNsActionGroupResponseOutput

func (AzNsActionGroupResponseArgs) ToAzNsActionGroupResponsePtrOutput

func (i AzNsActionGroupResponseArgs) ToAzNsActionGroupResponsePtrOutput() AzNsActionGroupResponsePtrOutput

func (AzNsActionGroupResponseArgs) ToAzNsActionGroupResponsePtrOutputWithContext

func (i AzNsActionGroupResponseArgs) ToAzNsActionGroupResponsePtrOutputWithContext(ctx context.Context) AzNsActionGroupResponsePtrOutput

type AzNsActionGroupResponseInput

type AzNsActionGroupResponseInput interface {
	pulumi.Input

	ToAzNsActionGroupResponseOutput() AzNsActionGroupResponseOutput
	ToAzNsActionGroupResponseOutputWithContext(context.Context) AzNsActionGroupResponseOutput
}

AzNsActionGroupResponseInput is an input type that accepts AzNsActionGroupResponseArgs and AzNsActionGroupResponseOutput values. You can construct a concrete instance of `AzNsActionGroupResponseInput` via:

AzNsActionGroupResponseArgs{...}

type AzNsActionGroupResponseOutput

type AzNsActionGroupResponseOutput struct{ *pulumi.OutputState }

Azure action group

func (AzNsActionGroupResponseOutput) ActionGroup

Azure Action Group reference.

func (AzNsActionGroupResponseOutput) CustomWebhookPayload

func (o AzNsActionGroupResponseOutput) CustomWebhookPayload() pulumi.StringPtrOutput

Custom payload to be sent for all webhook URI in Azure action group

func (AzNsActionGroupResponseOutput) ElementType

func (AzNsActionGroupResponseOutput) EmailSubject

Custom subject override for all email ids in Azure action group

func (AzNsActionGroupResponseOutput) ToAzNsActionGroupResponseOutput

func (o AzNsActionGroupResponseOutput) ToAzNsActionGroupResponseOutput() AzNsActionGroupResponseOutput

func (AzNsActionGroupResponseOutput) ToAzNsActionGroupResponseOutputWithContext

func (o AzNsActionGroupResponseOutput) ToAzNsActionGroupResponseOutputWithContext(ctx context.Context) AzNsActionGroupResponseOutput

func (AzNsActionGroupResponseOutput) ToAzNsActionGroupResponsePtrOutput

func (o AzNsActionGroupResponseOutput) ToAzNsActionGroupResponsePtrOutput() AzNsActionGroupResponsePtrOutput

func (AzNsActionGroupResponseOutput) ToAzNsActionGroupResponsePtrOutputWithContext

func (o AzNsActionGroupResponseOutput) ToAzNsActionGroupResponsePtrOutputWithContext(ctx context.Context) AzNsActionGroupResponsePtrOutput

type AzNsActionGroupResponsePtrInput

type AzNsActionGroupResponsePtrInput interface {
	pulumi.Input

	ToAzNsActionGroupResponsePtrOutput() AzNsActionGroupResponsePtrOutput
	ToAzNsActionGroupResponsePtrOutputWithContext(context.Context) AzNsActionGroupResponsePtrOutput
}

AzNsActionGroupResponsePtrInput is an input type that accepts AzNsActionGroupResponseArgs, AzNsActionGroupResponsePtr and AzNsActionGroupResponsePtrOutput values. You can construct a concrete instance of `AzNsActionGroupResponsePtrInput` via:

        AzNsActionGroupResponseArgs{...}

or:

        nil

type AzNsActionGroupResponsePtrOutput

type AzNsActionGroupResponsePtrOutput struct{ *pulumi.OutputState }

func (AzNsActionGroupResponsePtrOutput) ActionGroup

Azure Action Group reference.

func (AzNsActionGroupResponsePtrOutput) CustomWebhookPayload

func (o AzNsActionGroupResponsePtrOutput) CustomWebhookPayload() pulumi.StringPtrOutput

Custom payload to be sent for all webhook URI in Azure action group

func (AzNsActionGroupResponsePtrOutput) Elem

func (AzNsActionGroupResponsePtrOutput) ElementType

func (AzNsActionGroupResponsePtrOutput) EmailSubject

Custom subject override for all email ids in Azure action group

func (AzNsActionGroupResponsePtrOutput) ToAzNsActionGroupResponsePtrOutput

func (o AzNsActionGroupResponsePtrOutput) ToAzNsActionGroupResponsePtrOutput() AzNsActionGroupResponsePtrOutput

func (AzNsActionGroupResponsePtrOutput) ToAzNsActionGroupResponsePtrOutputWithContext

func (o AzNsActionGroupResponsePtrOutput) ToAzNsActionGroupResponsePtrOutputWithContext(ctx context.Context) AzNsActionGroupResponsePtrOutput

type ConditionalOperator added in v0.3.1

type ConditionalOperator pulumi.String

Evaluation operation for rule - 'GreaterThan' or 'LessThan.

func (ConditionalOperator) ElementType added in v0.3.1

func (ConditionalOperator) ElementType() reflect.Type

func (ConditionalOperator) ToStringOutput added in v0.3.1

func (e ConditionalOperator) ToStringOutput() pulumi.StringOutput

func (ConditionalOperator) ToStringOutputWithContext added in v0.3.1

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

func (ConditionalOperator) ToStringPtrOutput added in v0.3.1

func (e ConditionalOperator) ToStringPtrOutput() pulumi.StringPtrOutput

func (ConditionalOperator) ToStringPtrOutputWithContext added in v0.3.1

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

type Criteria

type Criteria struct {
	// List of Dimensions for creating metric
	Dimensions []Dimension `pulumi:"dimensions"`
	// Name of the metric
	MetricName string `pulumi:"metricName"`
}

Specifies the criteria for converting log to metric.

type CriteriaArgs

type CriteriaArgs struct {
	// List of Dimensions for creating metric
	Dimensions DimensionArrayInput `pulumi:"dimensions"`
	// Name of the metric
	MetricName pulumi.StringInput `pulumi:"metricName"`
}

Specifies the criteria for converting log to metric.

func (CriteriaArgs) ElementType

func (CriteriaArgs) ElementType() reflect.Type

func (CriteriaArgs) ToCriteriaOutput

func (i CriteriaArgs) ToCriteriaOutput() CriteriaOutput

func (CriteriaArgs) ToCriteriaOutputWithContext

func (i CriteriaArgs) ToCriteriaOutputWithContext(ctx context.Context) CriteriaOutput

type CriteriaArray

type CriteriaArray []CriteriaInput

func (CriteriaArray) ElementType

func (CriteriaArray) ElementType() reflect.Type

func (CriteriaArray) ToCriteriaArrayOutput

func (i CriteriaArray) ToCriteriaArrayOutput() CriteriaArrayOutput

func (CriteriaArray) ToCriteriaArrayOutputWithContext

func (i CriteriaArray) ToCriteriaArrayOutputWithContext(ctx context.Context) CriteriaArrayOutput

type CriteriaArrayInput

type CriteriaArrayInput interface {
	pulumi.Input

	ToCriteriaArrayOutput() CriteriaArrayOutput
	ToCriteriaArrayOutputWithContext(context.Context) CriteriaArrayOutput
}

CriteriaArrayInput is an input type that accepts CriteriaArray and CriteriaArrayOutput values. You can construct a concrete instance of `CriteriaArrayInput` via:

CriteriaArray{ CriteriaArgs{...} }

type CriteriaArrayOutput

type CriteriaArrayOutput struct{ *pulumi.OutputState }

func (CriteriaArrayOutput) ElementType

func (CriteriaArrayOutput) ElementType() reflect.Type

func (CriteriaArrayOutput) Index

func (CriteriaArrayOutput) ToCriteriaArrayOutput

func (o CriteriaArrayOutput) ToCriteriaArrayOutput() CriteriaArrayOutput

func (CriteriaArrayOutput) ToCriteriaArrayOutputWithContext

func (o CriteriaArrayOutput) ToCriteriaArrayOutputWithContext(ctx context.Context) CriteriaArrayOutput

type CriteriaInput

type CriteriaInput interface {
	pulumi.Input

	ToCriteriaOutput() CriteriaOutput
	ToCriteriaOutputWithContext(context.Context) CriteriaOutput
}

CriteriaInput is an input type that accepts CriteriaArgs and CriteriaOutput values. You can construct a concrete instance of `CriteriaInput` via:

CriteriaArgs{...}

type CriteriaOutput

type CriteriaOutput struct{ *pulumi.OutputState }

Specifies the criteria for converting log to metric.

func (CriteriaOutput) Dimensions

func (o CriteriaOutput) Dimensions() DimensionArrayOutput

List of Dimensions for creating metric

func (CriteriaOutput) ElementType

func (CriteriaOutput) ElementType() reflect.Type

func (CriteriaOutput) MetricName

func (o CriteriaOutput) MetricName() pulumi.StringOutput

Name of the metric

func (CriteriaOutput) ToCriteriaOutput

func (o CriteriaOutput) ToCriteriaOutput() CriteriaOutput

func (CriteriaOutput) ToCriteriaOutputWithContext

func (o CriteriaOutput) ToCriteriaOutputWithContext(ctx context.Context) CriteriaOutput

type CriteriaResponse

type CriteriaResponse struct {
	// List of Dimensions for creating metric
	Dimensions []DimensionResponse `pulumi:"dimensions"`
	// Name of the metric
	MetricName string `pulumi:"metricName"`
}

Specifies the criteria for converting log to metric.

type CriteriaResponseArgs

type CriteriaResponseArgs struct {
	// List of Dimensions for creating metric
	Dimensions DimensionResponseArrayInput `pulumi:"dimensions"`
	// Name of the metric
	MetricName pulumi.StringInput `pulumi:"metricName"`
}

Specifies the criteria for converting log to metric.

func (CriteriaResponseArgs) ElementType

func (CriteriaResponseArgs) ElementType() reflect.Type

func (CriteriaResponseArgs) ToCriteriaResponseOutput

func (i CriteriaResponseArgs) ToCriteriaResponseOutput() CriteriaResponseOutput

func (CriteriaResponseArgs) ToCriteriaResponseOutputWithContext

func (i CriteriaResponseArgs) ToCriteriaResponseOutputWithContext(ctx context.Context) CriteriaResponseOutput

type CriteriaResponseArray

type CriteriaResponseArray []CriteriaResponseInput

func (CriteriaResponseArray) ElementType

func (CriteriaResponseArray) ElementType() reflect.Type

func (CriteriaResponseArray) ToCriteriaResponseArrayOutput

func (i CriteriaResponseArray) ToCriteriaResponseArrayOutput() CriteriaResponseArrayOutput

func (CriteriaResponseArray) ToCriteriaResponseArrayOutputWithContext

func (i CriteriaResponseArray) ToCriteriaResponseArrayOutputWithContext(ctx context.Context) CriteriaResponseArrayOutput

type CriteriaResponseArrayInput

type CriteriaResponseArrayInput interface {
	pulumi.Input

	ToCriteriaResponseArrayOutput() CriteriaResponseArrayOutput
	ToCriteriaResponseArrayOutputWithContext(context.Context) CriteriaResponseArrayOutput
}

CriteriaResponseArrayInput is an input type that accepts CriteriaResponseArray and CriteriaResponseArrayOutput values. You can construct a concrete instance of `CriteriaResponseArrayInput` via:

CriteriaResponseArray{ CriteriaResponseArgs{...} }

type CriteriaResponseArrayOutput

type CriteriaResponseArrayOutput struct{ *pulumi.OutputState }

func (CriteriaResponseArrayOutput) ElementType

func (CriteriaResponseArrayOutput) Index

func (CriteriaResponseArrayOutput) ToCriteriaResponseArrayOutput

func (o CriteriaResponseArrayOutput) ToCriteriaResponseArrayOutput() CriteriaResponseArrayOutput

func (CriteriaResponseArrayOutput) ToCriteriaResponseArrayOutputWithContext

func (o CriteriaResponseArrayOutput) ToCriteriaResponseArrayOutputWithContext(ctx context.Context) CriteriaResponseArrayOutput

type CriteriaResponseInput

type CriteriaResponseInput interface {
	pulumi.Input

	ToCriteriaResponseOutput() CriteriaResponseOutput
	ToCriteriaResponseOutputWithContext(context.Context) CriteriaResponseOutput
}

CriteriaResponseInput is an input type that accepts CriteriaResponseArgs and CriteriaResponseOutput values. You can construct a concrete instance of `CriteriaResponseInput` via:

CriteriaResponseArgs{...}

type CriteriaResponseOutput

type CriteriaResponseOutput struct{ *pulumi.OutputState }

Specifies the criteria for converting log to metric.

func (CriteriaResponseOutput) Dimensions

List of Dimensions for creating metric

func (CriteriaResponseOutput) ElementType

func (CriteriaResponseOutput) ElementType() reflect.Type

func (CriteriaResponseOutput) MetricName

Name of the metric

func (CriteriaResponseOutput) ToCriteriaResponseOutput

func (o CriteriaResponseOutput) ToCriteriaResponseOutput() CriteriaResponseOutput

func (CriteriaResponseOutput) ToCriteriaResponseOutputWithContext

func (o CriteriaResponseOutput) ToCriteriaResponseOutputWithContext(ctx context.Context) CriteriaResponseOutput

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

Specifies the criteria for converting log to metric.

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

Specifies the criteria for converting log to metric.

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 DimensionOutput

type DimensionOutput struct{ *pulumi.OutputState }

Specifies the criteria for converting log to metric.

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

Specifies the criteria for converting log to metric.

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

Specifies the criteria for converting log to metric.

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 }

Specifies the criteria for converting log to metric.

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 Enabled added in v0.3.1

type Enabled pulumi.String

The flag which indicates whether the Log Search rule is enabled. Value should be true or false

func (Enabled) ElementType added in v0.3.1

func (Enabled) ElementType() reflect.Type

func (Enabled) ToStringOutput added in v0.3.1

func (e Enabled) ToStringOutput() pulumi.StringOutput

func (Enabled) ToStringOutputWithContext added in v0.3.1

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

func (Enabled) ToStringPtrOutput added in v0.3.1

func (e Enabled) ToStringPtrOutput() pulumi.StringPtrOutput

func (Enabled) ToStringPtrOutputWithContext added in v0.3.1

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

type LogMetricTrigger

type LogMetricTrigger struct {
	// Evaluation of metric on a particular column
	MetricColumn *string `pulumi:"metricColumn"`
	// Metric Trigger Type - 'Consecutive' or 'Total'
	MetricTriggerType *string `pulumi:"metricTriggerType"`
	// The threshold of the metric trigger.
	Threshold *float64 `pulumi:"threshold"`
	// Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
	ThresholdOperator *string `pulumi:"thresholdOperator"`
}

A log metrics trigger descriptor.

type LogMetricTriggerArgs

type LogMetricTriggerArgs struct {
	// Evaluation of metric on a particular column
	MetricColumn pulumi.StringPtrInput `pulumi:"metricColumn"`
	// Metric Trigger Type - 'Consecutive' or 'Total'
	MetricTriggerType pulumi.StringPtrInput `pulumi:"metricTriggerType"`
	// The threshold of the metric trigger.
	Threshold pulumi.Float64PtrInput `pulumi:"threshold"`
	// Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
	ThresholdOperator pulumi.StringPtrInput `pulumi:"thresholdOperator"`
}

A log metrics trigger descriptor.

func (LogMetricTriggerArgs) ElementType

func (LogMetricTriggerArgs) ElementType() reflect.Type

func (LogMetricTriggerArgs) ToLogMetricTriggerOutput

func (i LogMetricTriggerArgs) ToLogMetricTriggerOutput() LogMetricTriggerOutput

func (LogMetricTriggerArgs) ToLogMetricTriggerOutputWithContext

func (i LogMetricTriggerArgs) ToLogMetricTriggerOutputWithContext(ctx context.Context) LogMetricTriggerOutput

func (LogMetricTriggerArgs) ToLogMetricTriggerPtrOutput

func (i LogMetricTriggerArgs) ToLogMetricTriggerPtrOutput() LogMetricTriggerPtrOutput

func (LogMetricTriggerArgs) ToLogMetricTriggerPtrOutputWithContext

func (i LogMetricTriggerArgs) ToLogMetricTriggerPtrOutputWithContext(ctx context.Context) LogMetricTriggerPtrOutput

type LogMetricTriggerInput

type LogMetricTriggerInput interface {
	pulumi.Input

	ToLogMetricTriggerOutput() LogMetricTriggerOutput
	ToLogMetricTriggerOutputWithContext(context.Context) LogMetricTriggerOutput
}

LogMetricTriggerInput is an input type that accepts LogMetricTriggerArgs and LogMetricTriggerOutput values. You can construct a concrete instance of `LogMetricTriggerInput` via:

LogMetricTriggerArgs{...}

type LogMetricTriggerOutput

type LogMetricTriggerOutput struct{ *pulumi.OutputState }

A log metrics trigger descriptor.

func (LogMetricTriggerOutput) ElementType

func (LogMetricTriggerOutput) ElementType() reflect.Type

func (LogMetricTriggerOutput) MetricColumn

Evaluation of metric on a particular column

func (LogMetricTriggerOutput) MetricTriggerType

func (o LogMetricTriggerOutput) MetricTriggerType() pulumi.StringPtrOutput

Metric Trigger Type - 'Consecutive' or 'Total'

func (LogMetricTriggerOutput) Threshold

The threshold of the metric trigger.

func (LogMetricTriggerOutput) ThresholdOperator

func (o LogMetricTriggerOutput) ThresholdOperator() pulumi.StringPtrOutput

Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.

func (LogMetricTriggerOutput) ToLogMetricTriggerOutput

func (o LogMetricTriggerOutput) ToLogMetricTriggerOutput() LogMetricTriggerOutput

func (LogMetricTriggerOutput) ToLogMetricTriggerOutputWithContext

func (o LogMetricTriggerOutput) ToLogMetricTriggerOutputWithContext(ctx context.Context) LogMetricTriggerOutput

func (LogMetricTriggerOutput) ToLogMetricTriggerPtrOutput

func (o LogMetricTriggerOutput) ToLogMetricTriggerPtrOutput() LogMetricTriggerPtrOutput

func (LogMetricTriggerOutput) ToLogMetricTriggerPtrOutputWithContext

func (o LogMetricTriggerOutput) ToLogMetricTriggerPtrOutputWithContext(ctx context.Context) LogMetricTriggerPtrOutput

type LogMetricTriggerPtrInput

type LogMetricTriggerPtrInput interface {
	pulumi.Input

	ToLogMetricTriggerPtrOutput() LogMetricTriggerPtrOutput
	ToLogMetricTriggerPtrOutputWithContext(context.Context) LogMetricTriggerPtrOutput
}

LogMetricTriggerPtrInput is an input type that accepts LogMetricTriggerArgs, LogMetricTriggerPtr and LogMetricTriggerPtrOutput values. You can construct a concrete instance of `LogMetricTriggerPtrInput` via:

        LogMetricTriggerArgs{...}

or:

        nil

type LogMetricTriggerPtrOutput

type LogMetricTriggerPtrOutput struct{ *pulumi.OutputState }

func (LogMetricTriggerPtrOutput) Elem

func (LogMetricTriggerPtrOutput) ElementType

func (LogMetricTriggerPtrOutput) ElementType() reflect.Type

func (LogMetricTriggerPtrOutput) MetricColumn

Evaluation of metric on a particular column

func (LogMetricTriggerPtrOutput) MetricTriggerType

func (o LogMetricTriggerPtrOutput) MetricTriggerType() pulumi.StringPtrOutput

Metric Trigger Type - 'Consecutive' or 'Total'

func (LogMetricTriggerPtrOutput) Threshold

The threshold of the metric trigger.

func (LogMetricTriggerPtrOutput) ThresholdOperator

func (o LogMetricTriggerPtrOutput) ThresholdOperator() pulumi.StringPtrOutput

Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.

func (LogMetricTriggerPtrOutput) ToLogMetricTriggerPtrOutput

func (o LogMetricTriggerPtrOutput) ToLogMetricTriggerPtrOutput() LogMetricTriggerPtrOutput

func (LogMetricTriggerPtrOutput) ToLogMetricTriggerPtrOutputWithContext

func (o LogMetricTriggerPtrOutput) ToLogMetricTriggerPtrOutputWithContext(ctx context.Context) LogMetricTriggerPtrOutput

type LogMetricTriggerResponse

type LogMetricTriggerResponse struct {
	// Evaluation of metric on a particular column
	MetricColumn *string `pulumi:"metricColumn"`
	// Metric Trigger Type - 'Consecutive' or 'Total'
	MetricTriggerType *string `pulumi:"metricTriggerType"`
	// The threshold of the metric trigger.
	Threshold *float64 `pulumi:"threshold"`
	// Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
	ThresholdOperator *string `pulumi:"thresholdOperator"`
}

A log metrics trigger descriptor.

type LogMetricTriggerResponseArgs

type LogMetricTriggerResponseArgs struct {
	// Evaluation of metric on a particular column
	MetricColumn pulumi.StringPtrInput `pulumi:"metricColumn"`
	// Metric Trigger Type - 'Consecutive' or 'Total'
	MetricTriggerType pulumi.StringPtrInput `pulumi:"metricTriggerType"`
	// The threshold of the metric trigger.
	Threshold pulumi.Float64PtrInput `pulumi:"threshold"`
	// Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.
	ThresholdOperator pulumi.StringPtrInput `pulumi:"thresholdOperator"`
}

A log metrics trigger descriptor.

func (LogMetricTriggerResponseArgs) ElementType

func (LogMetricTriggerResponseArgs) ToLogMetricTriggerResponseOutput

func (i LogMetricTriggerResponseArgs) ToLogMetricTriggerResponseOutput() LogMetricTriggerResponseOutput

func (LogMetricTriggerResponseArgs) ToLogMetricTriggerResponseOutputWithContext

func (i LogMetricTriggerResponseArgs) ToLogMetricTriggerResponseOutputWithContext(ctx context.Context) LogMetricTriggerResponseOutput

func (LogMetricTriggerResponseArgs) ToLogMetricTriggerResponsePtrOutput

func (i LogMetricTriggerResponseArgs) ToLogMetricTriggerResponsePtrOutput() LogMetricTriggerResponsePtrOutput

func (LogMetricTriggerResponseArgs) ToLogMetricTriggerResponsePtrOutputWithContext

func (i LogMetricTriggerResponseArgs) ToLogMetricTriggerResponsePtrOutputWithContext(ctx context.Context) LogMetricTriggerResponsePtrOutput

type LogMetricTriggerResponseInput

type LogMetricTriggerResponseInput interface {
	pulumi.Input

	ToLogMetricTriggerResponseOutput() LogMetricTriggerResponseOutput
	ToLogMetricTriggerResponseOutputWithContext(context.Context) LogMetricTriggerResponseOutput
}

LogMetricTriggerResponseInput is an input type that accepts LogMetricTriggerResponseArgs and LogMetricTriggerResponseOutput values. You can construct a concrete instance of `LogMetricTriggerResponseInput` via:

LogMetricTriggerResponseArgs{...}

type LogMetricTriggerResponseOutput

type LogMetricTriggerResponseOutput struct{ *pulumi.OutputState }

A log metrics trigger descriptor.

func (LogMetricTriggerResponseOutput) ElementType

func (LogMetricTriggerResponseOutput) MetricColumn

Evaluation of metric on a particular column

func (LogMetricTriggerResponseOutput) MetricTriggerType

Metric Trigger Type - 'Consecutive' or 'Total'

func (LogMetricTriggerResponseOutput) Threshold

The threshold of the metric trigger.

func (LogMetricTriggerResponseOutput) ThresholdOperator

Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.

func (LogMetricTriggerResponseOutput) ToLogMetricTriggerResponseOutput

func (o LogMetricTriggerResponseOutput) ToLogMetricTriggerResponseOutput() LogMetricTriggerResponseOutput

func (LogMetricTriggerResponseOutput) ToLogMetricTriggerResponseOutputWithContext

func (o LogMetricTriggerResponseOutput) ToLogMetricTriggerResponseOutputWithContext(ctx context.Context) LogMetricTriggerResponseOutput

func (LogMetricTriggerResponseOutput) ToLogMetricTriggerResponsePtrOutput

func (o LogMetricTriggerResponseOutput) ToLogMetricTriggerResponsePtrOutput() LogMetricTriggerResponsePtrOutput

func (LogMetricTriggerResponseOutput) ToLogMetricTriggerResponsePtrOutputWithContext

func (o LogMetricTriggerResponseOutput) ToLogMetricTriggerResponsePtrOutputWithContext(ctx context.Context) LogMetricTriggerResponsePtrOutput

type LogMetricTriggerResponsePtrInput

type LogMetricTriggerResponsePtrInput interface {
	pulumi.Input

	ToLogMetricTriggerResponsePtrOutput() LogMetricTriggerResponsePtrOutput
	ToLogMetricTriggerResponsePtrOutputWithContext(context.Context) LogMetricTriggerResponsePtrOutput
}

LogMetricTriggerResponsePtrInput is an input type that accepts LogMetricTriggerResponseArgs, LogMetricTriggerResponsePtr and LogMetricTriggerResponsePtrOutput values. You can construct a concrete instance of `LogMetricTriggerResponsePtrInput` via:

        LogMetricTriggerResponseArgs{...}

or:

        nil

type LogMetricTriggerResponsePtrOutput

type LogMetricTriggerResponsePtrOutput struct{ *pulumi.OutputState }

func (LogMetricTriggerResponsePtrOutput) Elem

func (LogMetricTriggerResponsePtrOutput) ElementType

func (LogMetricTriggerResponsePtrOutput) MetricColumn

Evaluation of metric on a particular column

func (LogMetricTriggerResponsePtrOutput) MetricTriggerType

Metric Trigger Type - 'Consecutive' or 'Total'

func (LogMetricTriggerResponsePtrOutput) Threshold

The threshold of the metric trigger.

func (LogMetricTriggerResponsePtrOutput) ThresholdOperator

Evaluation operation for Metric -'GreaterThan' or 'LessThan' or 'Equal'.

func (LogMetricTriggerResponsePtrOutput) ToLogMetricTriggerResponsePtrOutput

func (o LogMetricTriggerResponsePtrOutput) ToLogMetricTriggerResponsePtrOutput() LogMetricTriggerResponsePtrOutput

func (LogMetricTriggerResponsePtrOutput) ToLogMetricTriggerResponsePtrOutputWithContext

func (o LogMetricTriggerResponsePtrOutput) ToLogMetricTriggerResponsePtrOutputWithContext(ctx context.Context) LogMetricTriggerResponsePtrOutput

type LogToMetricAction

type LogToMetricAction struct {
	// Criteria of Metric
	Criteria []Criteria `pulumi:"criteria"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction'.
	OdataType string `pulumi:"odataType"`
}

Specify action need to be taken when rule type is converting log to metric

type LogToMetricActionArgs

type LogToMetricActionArgs struct {
	// Criteria of Metric
	Criteria CriteriaArrayInput `pulumi:"criteria"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction'.
	OdataType pulumi.StringInput `pulumi:"odataType"`
}

Specify action need to be taken when rule type is converting log to metric

func (LogToMetricActionArgs) ElementType

func (LogToMetricActionArgs) ElementType() reflect.Type

func (LogToMetricActionArgs) ToLogToMetricActionOutput

func (i LogToMetricActionArgs) ToLogToMetricActionOutput() LogToMetricActionOutput

func (LogToMetricActionArgs) ToLogToMetricActionOutputWithContext

func (i LogToMetricActionArgs) ToLogToMetricActionOutputWithContext(ctx context.Context) LogToMetricActionOutput

type LogToMetricActionInput

type LogToMetricActionInput interface {
	pulumi.Input

	ToLogToMetricActionOutput() LogToMetricActionOutput
	ToLogToMetricActionOutputWithContext(context.Context) LogToMetricActionOutput
}

LogToMetricActionInput is an input type that accepts LogToMetricActionArgs and LogToMetricActionOutput values. You can construct a concrete instance of `LogToMetricActionInput` via:

LogToMetricActionArgs{...}

type LogToMetricActionOutput

type LogToMetricActionOutput struct{ *pulumi.OutputState }

Specify action need to be taken when rule type is converting log to metric

func (LogToMetricActionOutput) Criteria

Criteria of Metric

func (LogToMetricActionOutput) ElementType

func (LogToMetricActionOutput) ElementType() reflect.Type

func (LogToMetricActionOutput) OdataType

Specifies the action. Supported values - AlertingAction, LogToMetricAction Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction'.

func (LogToMetricActionOutput) ToLogToMetricActionOutput

func (o LogToMetricActionOutput) ToLogToMetricActionOutput() LogToMetricActionOutput

func (LogToMetricActionOutput) ToLogToMetricActionOutputWithContext

func (o LogToMetricActionOutput) ToLogToMetricActionOutputWithContext(ctx context.Context) LogToMetricActionOutput

type LogToMetricActionResponse

type LogToMetricActionResponse struct {
	// Criteria of Metric
	Criteria []CriteriaResponse `pulumi:"criteria"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction'.
	OdataType string `pulumi:"odataType"`
}

Specify action need to be taken when rule type is converting log to metric

type LogToMetricActionResponseArgs

type LogToMetricActionResponseArgs struct {
	// Criteria of Metric
	Criteria CriteriaResponseArrayInput `pulumi:"criteria"`
	// Specifies the action. Supported values - AlertingAction, LogToMetricAction
	// Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction'.
	OdataType pulumi.StringInput `pulumi:"odataType"`
}

Specify action need to be taken when rule type is converting log to metric

func (LogToMetricActionResponseArgs) ElementType

func (LogToMetricActionResponseArgs) ToLogToMetricActionResponseOutput

func (i LogToMetricActionResponseArgs) ToLogToMetricActionResponseOutput() LogToMetricActionResponseOutput

func (LogToMetricActionResponseArgs) ToLogToMetricActionResponseOutputWithContext

func (i LogToMetricActionResponseArgs) ToLogToMetricActionResponseOutputWithContext(ctx context.Context) LogToMetricActionResponseOutput

type LogToMetricActionResponseInput

type LogToMetricActionResponseInput interface {
	pulumi.Input

	ToLogToMetricActionResponseOutput() LogToMetricActionResponseOutput
	ToLogToMetricActionResponseOutputWithContext(context.Context) LogToMetricActionResponseOutput
}

LogToMetricActionResponseInput is an input type that accepts LogToMetricActionResponseArgs and LogToMetricActionResponseOutput values. You can construct a concrete instance of `LogToMetricActionResponseInput` via:

LogToMetricActionResponseArgs{...}

type LogToMetricActionResponseOutput

type LogToMetricActionResponseOutput struct{ *pulumi.OutputState }

Specify action need to be taken when rule type is converting log to metric

func (LogToMetricActionResponseOutput) Criteria

Criteria of Metric

func (LogToMetricActionResponseOutput) ElementType

func (LogToMetricActionResponseOutput) OdataType

Specifies the action. Supported values - AlertingAction, LogToMetricAction Expected value is 'Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models.Microsoft.AppInsights.Nexus.DataContracts.Resources.ScheduledQueryRules.LogToMetricAction'.

func (LogToMetricActionResponseOutput) ToLogToMetricActionResponseOutput

func (o LogToMetricActionResponseOutput) ToLogToMetricActionResponseOutput() LogToMetricActionResponseOutput

func (LogToMetricActionResponseOutput) ToLogToMetricActionResponseOutputWithContext

func (o LogToMetricActionResponseOutput) ToLogToMetricActionResponseOutputWithContext(ctx context.Context) LogToMetricActionResponseOutput

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 {
	// Action needs to be taken on rule execution.
	Action interface{} `pulumi:"action"`
	// The api-version used when creating this alert rule
	CreatedWithApiVersion string `pulumi:"createdWithApiVersion"`
	// The description of the Log Search rule.
	Description *string `pulumi:"description"`
	// The display name of the alert rule
	DisplayName *string `pulumi:"displayName"`
	// The flag which indicates whether the Log Search rule is enabled. Value should be true or false
	Enabled *string `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"`
	// Azure resource Id
	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"`
	// Last time the rule was updated in IS08601 format.
	LastUpdatedTime string `pulumi:"lastUpdatedTime"`
	// Resource location
	Location string `pulumi:"location"`
	// Azure resource name
	Name string `pulumi:"name"`
	// Provisioning state of the scheduled query rule
	ProvisioningState string `pulumi:"provisioningState"`
	// Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
	Schedule *ScheduleResponse `pulumi:"schedule"`
	// Data Source against which rule will Query Data
	Source SourceResponse `pulumi:"source"`
	// Resource tags
	Tags map[string]string `pulumi:"tags"`
	// Azure resource type
	Type string `pulumi:"type"`
}

The Log Search Rule resource.

type MetricTriggerType added in v0.3.1

type MetricTriggerType pulumi.String

Metric Trigger Type - 'Consecutive' or 'Total'

func (MetricTriggerType) ElementType added in v0.3.1

func (MetricTriggerType) ElementType() reflect.Type

func (MetricTriggerType) ToStringOutput added in v0.3.1

func (e MetricTriggerType) ToStringOutput() pulumi.StringOutput

func (MetricTriggerType) ToStringOutputWithContext added in v0.3.1

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

func (MetricTriggerType) ToStringPtrOutput added in v0.3.1

func (e MetricTriggerType) ToStringPtrOutput() pulumi.StringPtrOutput

func (MetricTriggerType) ToStringPtrOutputWithContext added in v0.3.1

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

type Operator added in v0.3.1

type Operator pulumi.String

Operator for dimension values

func (Operator) ElementType added in v0.3.1

func (Operator) ElementType() reflect.Type

func (Operator) ToStringOutput added in v0.3.1

func (e Operator) ToStringOutput() pulumi.StringOutput

func (Operator) ToStringOutputWithContext added in v0.3.1

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

func (Operator) ToStringPtrOutput added in v0.3.1

func (e Operator) ToStringPtrOutput() pulumi.StringPtrOutput

func (Operator) ToStringPtrOutputWithContext added in v0.3.1

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

type QueryType added in v0.3.1

type QueryType pulumi.String

Set value to 'ResultCount' .

func (QueryType) ElementType added in v0.3.1

func (QueryType) ElementType() reflect.Type

func (QueryType) ToStringOutput added in v0.3.1

func (e QueryType) ToStringOutput() pulumi.StringOutput

func (QueryType) ToStringOutputWithContext added in v0.3.1

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

func (QueryType) ToStringPtrOutput added in v0.3.1

func (e QueryType) ToStringPtrOutput() pulumi.StringPtrOutput

func (QueryType) ToStringPtrOutputWithContext added in v0.3.1

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

type Schedule

type Schedule struct {
	// frequency (in minutes) at which rule condition should be evaluated.
	FrequencyInMinutes int `pulumi:"frequencyInMinutes"`
	// Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
	TimeWindowInMinutes int `pulumi:"timeWindowInMinutes"`
}

Defines how often to run the search and the time interval.

type ScheduleArgs

type ScheduleArgs struct {
	// frequency (in minutes) at which rule condition should be evaluated.
	FrequencyInMinutes pulumi.IntInput `pulumi:"frequencyInMinutes"`
	// Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
	TimeWindowInMinutes pulumi.IntInput `pulumi:"timeWindowInMinutes"`
}

Defines how often to run the search and the time interval.

func (ScheduleArgs) ElementType

func (ScheduleArgs) ElementType() reflect.Type

func (ScheduleArgs) ToScheduleOutput

func (i ScheduleArgs) ToScheduleOutput() ScheduleOutput

func (ScheduleArgs) ToScheduleOutputWithContext

func (i ScheduleArgs) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

func (ScheduleArgs) ToSchedulePtrOutput

func (i ScheduleArgs) ToSchedulePtrOutput() SchedulePtrOutput

func (ScheduleArgs) ToSchedulePtrOutputWithContext

func (i ScheduleArgs) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput

type ScheduleInput

type ScheduleInput interface {
	pulumi.Input

	ToScheduleOutput() ScheduleOutput
	ToScheduleOutputWithContext(context.Context) ScheduleOutput
}

ScheduleInput is an input type that accepts ScheduleArgs and ScheduleOutput values. You can construct a concrete instance of `ScheduleInput` via:

ScheduleArgs{...}

type ScheduleOutput

type ScheduleOutput struct{ *pulumi.OutputState }

Defines how often to run the search and the time interval.

func (ScheduleOutput) ElementType

func (ScheduleOutput) ElementType() reflect.Type

func (ScheduleOutput) FrequencyInMinutes

func (o ScheduleOutput) FrequencyInMinutes() pulumi.IntOutput

frequency (in minutes) at which rule condition should be evaluated.

func (ScheduleOutput) TimeWindowInMinutes

func (o ScheduleOutput) TimeWindowInMinutes() pulumi.IntOutput

Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).

func (ScheduleOutput) ToScheduleOutput

func (o ScheduleOutput) ToScheduleOutput() ScheduleOutput

func (ScheduleOutput) ToScheduleOutputWithContext

func (o ScheduleOutput) ToScheduleOutputWithContext(ctx context.Context) ScheduleOutput

func (ScheduleOutput) ToSchedulePtrOutput

func (o ScheduleOutput) ToSchedulePtrOutput() SchedulePtrOutput

func (ScheduleOutput) ToSchedulePtrOutputWithContext

func (o ScheduleOutput) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput

type SchedulePtrInput

type SchedulePtrInput interface {
	pulumi.Input

	ToSchedulePtrOutput() SchedulePtrOutput
	ToSchedulePtrOutputWithContext(context.Context) SchedulePtrOutput
}

SchedulePtrInput is an input type that accepts ScheduleArgs, SchedulePtr and SchedulePtrOutput values. You can construct a concrete instance of `SchedulePtrInput` via:

        ScheduleArgs{...}

or:

        nil

func SchedulePtr

func SchedulePtr(v *ScheduleArgs) SchedulePtrInput

type SchedulePtrOutput

type SchedulePtrOutput struct{ *pulumi.OutputState }

func (SchedulePtrOutput) Elem

func (SchedulePtrOutput) ElementType

func (SchedulePtrOutput) ElementType() reflect.Type

func (SchedulePtrOutput) FrequencyInMinutes

func (o SchedulePtrOutput) FrequencyInMinutes() pulumi.IntPtrOutput

frequency (in minutes) at which rule condition should be evaluated.

func (SchedulePtrOutput) TimeWindowInMinutes

func (o SchedulePtrOutput) TimeWindowInMinutes() pulumi.IntPtrOutput

Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).

func (SchedulePtrOutput) ToSchedulePtrOutput

func (o SchedulePtrOutput) ToSchedulePtrOutput() SchedulePtrOutput

func (SchedulePtrOutput) ToSchedulePtrOutputWithContext

func (o SchedulePtrOutput) ToSchedulePtrOutputWithContext(ctx context.Context) SchedulePtrOutput

type ScheduleResponse

type ScheduleResponse struct {
	// frequency (in minutes) at which rule condition should be evaluated.
	FrequencyInMinutes int `pulumi:"frequencyInMinutes"`
	// Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
	TimeWindowInMinutes int `pulumi:"timeWindowInMinutes"`
}

Defines how often to run the search and the time interval.

type ScheduleResponseArgs

type ScheduleResponseArgs struct {
	// frequency (in minutes) at which rule condition should be evaluated.
	FrequencyInMinutes pulumi.IntInput `pulumi:"frequencyInMinutes"`
	// Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).
	TimeWindowInMinutes pulumi.IntInput `pulumi:"timeWindowInMinutes"`
}

Defines how often to run the search and the time interval.

func (ScheduleResponseArgs) ElementType

func (ScheduleResponseArgs) ElementType() reflect.Type

func (ScheduleResponseArgs) ToScheduleResponseOutput

func (i ScheduleResponseArgs) ToScheduleResponseOutput() ScheduleResponseOutput

func (ScheduleResponseArgs) ToScheduleResponseOutputWithContext

func (i ScheduleResponseArgs) ToScheduleResponseOutputWithContext(ctx context.Context) ScheduleResponseOutput

func (ScheduleResponseArgs) ToScheduleResponsePtrOutput

func (i ScheduleResponseArgs) ToScheduleResponsePtrOutput() ScheduleResponsePtrOutput

func (ScheduleResponseArgs) ToScheduleResponsePtrOutputWithContext

func (i ScheduleResponseArgs) ToScheduleResponsePtrOutputWithContext(ctx context.Context) ScheduleResponsePtrOutput

type ScheduleResponseInput

type ScheduleResponseInput interface {
	pulumi.Input

	ToScheduleResponseOutput() ScheduleResponseOutput
	ToScheduleResponseOutputWithContext(context.Context) ScheduleResponseOutput
}

ScheduleResponseInput is an input type that accepts ScheduleResponseArgs and ScheduleResponseOutput values. You can construct a concrete instance of `ScheduleResponseInput` via:

ScheduleResponseArgs{...}

type ScheduleResponseOutput

type ScheduleResponseOutput struct{ *pulumi.OutputState }

Defines how often to run the search and the time interval.

func (ScheduleResponseOutput) ElementType

func (ScheduleResponseOutput) ElementType() reflect.Type

func (ScheduleResponseOutput) FrequencyInMinutes

func (o ScheduleResponseOutput) FrequencyInMinutes() pulumi.IntOutput

frequency (in minutes) at which rule condition should be evaluated.

func (ScheduleResponseOutput) TimeWindowInMinutes

func (o ScheduleResponseOutput) TimeWindowInMinutes() pulumi.IntOutput

Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).

func (ScheduleResponseOutput) ToScheduleResponseOutput

func (o ScheduleResponseOutput) ToScheduleResponseOutput() ScheduleResponseOutput

func (ScheduleResponseOutput) ToScheduleResponseOutputWithContext

func (o ScheduleResponseOutput) ToScheduleResponseOutputWithContext(ctx context.Context) ScheduleResponseOutput

func (ScheduleResponseOutput) ToScheduleResponsePtrOutput

func (o ScheduleResponseOutput) ToScheduleResponsePtrOutput() ScheduleResponsePtrOutput

func (ScheduleResponseOutput) ToScheduleResponsePtrOutputWithContext

func (o ScheduleResponseOutput) ToScheduleResponsePtrOutputWithContext(ctx context.Context) ScheduleResponsePtrOutput

type ScheduleResponsePtrInput

type ScheduleResponsePtrInput interface {
	pulumi.Input

	ToScheduleResponsePtrOutput() ScheduleResponsePtrOutput
	ToScheduleResponsePtrOutputWithContext(context.Context) ScheduleResponsePtrOutput
}

ScheduleResponsePtrInput is an input type that accepts ScheduleResponseArgs, ScheduleResponsePtr and ScheduleResponsePtrOutput values. You can construct a concrete instance of `ScheduleResponsePtrInput` via:

        ScheduleResponseArgs{...}

or:

        nil

type ScheduleResponsePtrOutput

type ScheduleResponsePtrOutput struct{ *pulumi.OutputState }

func (ScheduleResponsePtrOutput) Elem

func (ScheduleResponsePtrOutput) ElementType

func (ScheduleResponsePtrOutput) ElementType() reflect.Type

func (ScheduleResponsePtrOutput) FrequencyInMinutes

func (o ScheduleResponsePtrOutput) FrequencyInMinutes() pulumi.IntPtrOutput

frequency (in minutes) at which rule condition should be evaluated.

func (ScheduleResponsePtrOutput) TimeWindowInMinutes

func (o ScheduleResponsePtrOutput) TimeWindowInMinutes() pulumi.IntPtrOutput

Time window for which data needs to be fetched for query (should be greater than or equal to frequencyInMinutes).

func (ScheduleResponsePtrOutput) ToScheduleResponsePtrOutput

func (o ScheduleResponsePtrOutput) ToScheduleResponsePtrOutput() ScheduleResponsePtrOutput

func (ScheduleResponsePtrOutput) ToScheduleResponsePtrOutputWithContext

func (o ScheduleResponsePtrOutput) ToScheduleResponsePtrOutputWithContext(ctx context.Context) ScheduleResponsePtrOutput

type ScheduledQueryRule

type ScheduledQueryRule struct {
	pulumi.CustomResourceState

	// Action needs to be taken on rule execution.
	Action pulumi.AnyOutput `pulumi:"action"`
	// The api-version used when creating this alert rule
	CreatedWithApiVersion pulumi.StringOutput `pulumi:"createdWithApiVersion"`
	// The description of the Log Search rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The display name of the alert rule
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// The flag which indicates whether the Log Search rule is enabled. Value should be true or false
	Enabled pulumi.StringPtrOutput `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"`
	// 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"`
	// Last time the rule was updated in IS08601 format.
	LastUpdatedTime pulumi.StringOutput `pulumi:"lastUpdatedTime"`
	// Resource location
	Location pulumi.StringOutput `pulumi:"location"`
	// Azure resource name
	Name pulumi.StringOutput `pulumi:"name"`
	// Provisioning state of the scheduled query rule
	ProvisioningState pulumi.StringOutput `pulumi:"provisioningState"`
	// Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
	Schedule ScheduleResponsePtrOutput `pulumi:"schedule"`
	// Data Source against which rule will Query Data
	Source SourceResponseOutput `pulumi:"source"`
	// Resource tags
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Azure resource type
	Type pulumi.StringOutput `pulumi:"type"`
}

The Log Search 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 {
	// Action needs to be taken on rule execution.
	Action pulumi.Input
	// The description of the Log Search rule.
	Description pulumi.StringPtrInput
	// The display name of the alert rule
	DisplayName pulumi.StringPtrInput
	// The flag which indicates whether the Log Search rule is enabled. Value should be true or false
	Enabled pulumi.StringPtrInput
	// Resource location
	Location pulumi.StringPtrInput
	// The name of the resource group.
	ResourceGroupName pulumi.StringInput
	// The name of the rule.
	RuleName pulumi.StringInput
	// Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
	Schedule SchedulePtrInput
	// Data Source against which rule will Query Data
	Source SourceInput
	// Resource tags
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ScheduledQueryRule resource.

func (ScheduledQueryRuleArgs) ElementType

func (ScheduledQueryRuleArgs) ElementType() reflect.Type

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 {
	// Action needs to be taken on rule execution.
	Action pulumi.Input
	// The api-version used when creating this alert rule
	CreatedWithApiVersion pulumi.StringPtrInput
	// The description of the Log Search rule.
	Description pulumi.StringPtrInput
	// The display name of the alert rule
	DisplayName pulumi.StringPtrInput
	// The flag which indicates whether the Log Search rule is enabled. Value should be true or false
	Enabled pulumi.StringPtrInput
	// 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
	// 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
	// Last time the rule was updated in IS08601 format.
	LastUpdatedTime pulumi.StringPtrInput
	// Resource location
	Location pulumi.StringPtrInput
	// Azure resource name
	Name pulumi.StringPtrInput
	// Provisioning state of the scheduled query rule
	ProvisioningState pulumi.StringPtrInput
	// Schedule (Frequency, Time Window) for rule. Required for action type - AlertingAction
	Schedule ScheduleResponsePtrInput
	// Data Source against which rule will Query Data
	Source SourceResponsePtrInput
	// Resource tags
	Tags pulumi.StringMapInput
	// Azure resource type
	Type pulumi.StringPtrInput
}

func (ScheduledQueryRuleState) ElementType

func (ScheduledQueryRuleState) ElementType() reflect.Type

type Source

type Source struct {
	// List of  Resource referred into query
	AuthorizedResources []string `pulumi:"authorizedResources"`
	// The resource uri over which log search query is to be run.
	DataSourceId string `pulumi:"dataSourceId"`
	// Log search query. Required for action type - AlertingAction
	Query *string `pulumi:"query"`
	// Set value to 'ResultCount' .
	QueryType *string `pulumi:"queryType"`
}

Specifies the log search query.

type SourceArgs

type SourceArgs struct {
	// List of  Resource referred into query
	AuthorizedResources pulumi.StringArrayInput `pulumi:"authorizedResources"`
	// The resource uri over which log search query is to be run.
	DataSourceId pulumi.StringInput `pulumi:"dataSourceId"`
	// Log search query. Required for action type - AlertingAction
	Query pulumi.StringPtrInput `pulumi:"query"`
	// Set value to 'ResultCount' .
	QueryType pulumi.StringPtrInput `pulumi:"queryType"`
}

Specifies the log search query.

func (SourceArgs) ElementType

func (SourceArgs) ElementType() reflect.Type

func (SourceArgs) ToSourceOutput

func (i SourceArgs) ToSourceOutput() SourceOutput

func (SourceArgs) ToSourceOutputWithContext

func (i SourceArgs) ToSourceOutputWithContext(ctx context.Context) SourceOutput

func (SourceArgs) ToSourcePtrOutput

func (i SourceArgs) ToSourcePtrOutput() SourcePtrOutput

func (SourceArgs) ToSourcePtrOutputWithContext

func (i SourceArgs) ToSourcePtrOutputWithContext(ctx context.Context) SourcePtrOutput

type SourceInput

type SourceInput interface {
	pulumi.Input

	ToSourceOutput() SourceOutput
	ToSourceOutputWithContext(context.Context) SourceOutput
}

SourceInput is an input type that accepts SourceArgs and SourceOutput values. You can construct a concrete instance of `SourceInput` via:

SourceArgs{...}

type SourceOutput

type SourceOutput struct{ *pulumi.OutputState }

Specifies the log search query.

func (SourceOutput) AuthorizedResources

func (o SourceOutput) AuthorizedResources() pulumi.StringArrayOutput

List of Resource referred into query

func (SourceOutput) DataSourceId

func (o SourceOutput) DataSourceId() pulumi.StringOutput

The resource uri over which log search query is to be run.

func (SourceOutput) ElementType

func (SourceOutput) ElementType() reflect.Type

func (SourceOutput) Query

Log search query. Required for action type - AlertingAction

func (SourceOutput) QueryType

func (o SourceOutput) QueryType() pulumi.StringPtrOutput

Set value to 'ResultCount' .

func (SourceOutput) ToSourceOutput

func (o SourceOutput) ToSourceOutput() SourceOutput

func (SourceOutput) ToSourceOutputWithContext

func (o SourceOutput) ToSourceOutputWithContext(ctx context.Context) SourceOutput

func (SourceOutput) ToSourcePtrOutput

func (o SourceOutput) ToSourcePtrOutput() SourcePtrOutput

func (SourceOutput) ToSourcePtrOutputWithContext

func (o SourceOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePtrOutput

type SourcePtrInput

type SourcePtrInput interface {
	pulumi.Input

	ToSourcePtrOutput() SourcePtrOutput
	ToSourcePtrOutputWithContext(context.Context) SourcePtrOutput
}

SourcePtrInput is an input type that accepts SourceArgs, SourcePtr and SourcePtrOutput values. You can construct a concrete instance of `SourcePtrInput` via:

        SourceArgs{...}

or:

        nil

func SourcePtr

func SourcePtr(v *SourceArgs) SourcePtrInput

type SourcePtrOutput

type SourcePtrOutput struct{ *pulumi.OutputState }

func (SourcePtrOutput) AuthorizedResources

func (o SourcePtrOutput) AuthorizedResources() pulumi.StringArrayOutput

List of Resource referred into query

func (SourcePtrOutput) DataSourceId

func (o SourcePtrOutput) DataSourceId() pulumi.StringPtrOutput

The resource uri over which log search query is to be run.

func (SourcePtrOutput) Elem

func (o SourcePtrOutput) Elem() SourceOutput

func (SourcePtrOutput) ElementType

func (SourcePtrOutput) ElementType() reflect.Type

func (SourcePtrOutput) Query

Log search query. Required for action type - AlertingAction

func (SourcePtrOutput) QueryType

func (o SourcePtrOutput) QueryType() pulumi.StringPtrOutput

Set value to 'ResultCount' .

func (SourcePtrOutput) ToSourcePtrOutput

func (o SourcePtrOutput) ToSourcePtrOutput() SourcePtrOutput

func (SourcePtrOutput) ToSourcePtrOutputWithContext

func (o SourcePtrOutput) ToSourcePtrOutputWithContext(ctx context.Context) SourcePtrOutput

type SourceResponse

type SourceResponse struct {
	// List of  Resource referred into query
	AuthorizedResources []string `pulumi:"authorizedResources"`
	// The resource uri over which log search query is to be run.
	DataSourceId string `pulumi:"dataSourceId"`
	// Log search query. Required for action type - AlertingAction
	Query *string `pulumi:"query"`
	// Set value to 'ResultCount' .
	QueryType *string `pulumi:"queryType"`
}

Specifies the log search query.

type SourceResponseArgs

type SourceResponseArgs struct {
	// List of  Resource referred into query
	AuthorizedResources pulumi.StringArrayInput `pulumi:"authorizedResources"`
	// The resource uri over which log search query is to be run.
	DataSourceId pulumi.StringInput `pulumi:"dataSourceId"`
	// Log search query. Required for action type - AlertingAction
	Query pulumi.StringPtrInput `pulumi:"query"`
	// Set value to 'ResultCount' .
	QueryType pulumi.StringPtrInput `pulumi:"queryType"`
}

Specifies the log search query.

func (SourceResponseArgs) ElementType

func (SourceResponseArgs) ElementType() reflect.Type

func (SourceResponseArgs) ToSourceResponseOutput

func (i SourceResponseArgs) ToSourceResponseOutput() SourceResponseOutput

func (SourceResponseArgs) ToSourceResponseOutputWithContext

func (i SourceResponseArgs) ToSourceResponseOutputWithContext(ctx context.Context) SourceResponseOutput

func (SourceResponseArgs) ToSourceResponsePtrOutput

func (i SourceResponseArgs) ToSourceResponsePtrOutput() SourceResponsePtrOutput

func (SourceResponseArgs) ToSourceResponsePtrOutputWithContext

func (i SourceResponseArgs) ToSourceResponsePtrOutputWithContext(ctx context.Context) SourceResponsePtrOutput

type SourceResponseInput

type SourceResponseInput interface {
	pulumi.Input

	ToSourceResponseOutput() SourceResponseOutput
	ToSourceResponseOutputWithContext(context.Context) SourceResponseOutput
}

SourceResponseInput is an input type that accepts SourceResponseArgs and SourceResponseOutput values. You can construct a concrete instance of `SourceResponseInput` via:

SourceResponseArgs{...}

type SourceResponseOutput

type SourceResponseOutput struct{ *pulumi.OutputState }

Specifies the log search query.

func (SourceResponseOutput) AuthorizedResources

func (o SourceResponseOutput) AuthorizedResources() pulumi.StringArrayOutput

List of Resource referred into query

func (SourceResponseOutput) DataSourceId

func (o SourceResponseOutput) DataSourceId() pulumi.StringOutput

The resource uri over which log search query is to be run.

func (SourceResponseOutput) ElementType

func (SourceResponseOutput) ElementType() reflect.Type

func (SourceResponseOutput) Query

Log search query. Required for action type - AlertingAction

func (SourceResponseOutput) QueryType

Set value to 'ResultCount' .

func (SourceResponseOutput) ToSourceResponseOutput

func (o SourceResponseOutput) ToSourceResponseOutput() SourceResponseOutput

func (SourceResponseOutput) ToSourceResponseOutputWithContext

func (o SourceResponseOutput) ToSourceResponseOutputWithContext(ctx context.Context) SourceResponseOutput

func (SourceResponseOutput) ToSourceResponsePtrOutput

func (o SourceResponseOutput) ToSourceResponsePtrOutput() SourceResponsePtrOutput

func (SourceResponseOutput) ToSourceResponsePtrOutputWithContext

func (o SourceResponseOutput) ToSourceResponsePtrOutputWithContext(ctx context.Context) SourceResponsePtrOutput

type SourceResponsePtrInput

type SourceResponsePtrInput interface {
	pulumi.Input

	ToSourceResponsePtrOutput() SourceResponsePtrOutput
	ToSourceResponsePtrOutputWithContext(context.Context) SourceResponsePtrOutput
}

SourceResponsePtrInput is an input type that accepts SourceResponseArgs, SourceResponsePtr and SourceResponsePtrOutput values. You can construct a concrete instance of `SourceResponsePtrInput` via:

        SourceResponseArgs{...}

or:

        nil

type SourceResponsePtrOutput

type SourceResponsePtrOutput struct{ *pulumi.OutputState }

func (SourceResponsePtrOutput) AuthorizedResources

func (o SourceResponsePtrOutput) AuthorizedResources() pulumi.StringArrayOutput

List of Resource referred into query

func (SourceResponsePtrOutput) DataSourceId

The resource uri over which log search query is to be run.

func (SourceResponsePtrOutput) Elem

func (SourceResponsePtrOutput) ElementType

func (SourceResponsePtrOutput) ElementType() reflect.Type

func (SourceResponsePtrOutput) Query

Log search query. Required for action type - AlertingAction

func (SourceResponsePtrOutput) QueryType

Set value to 'ResultCount' .

func (SourceResponsePtrOutput) ToSourceResponsePtrOutput

func (o SourceResponsePtrOutput) ToSourceResponsePtrOutput() SourceResponsePtrOutput

func (SourceResponsePtrOutput) ToSourceResponsePtrOutputWithContext

func (o SourceResponsePtrOutput) ToSourceResponsePtrOutputWithContext(ctx context.Context) SourceResponsePtrOutput

type TriggerCondition

type TriggerCondition struct {
	// Trigger condition for metric query rule
	MetricTrigger *LogMetricTrigger `pulumi:"metricTrigger"`
	// Result or count threshold based on which rule should be triggered.
	Threshold float64 `pulumi:"threshold"`
	// Evaluation operation for rule - 'GreaterThan' or 'LessThan.
	ThresholdOperator string `pulumi:"thresholdOperator"`
}

The condition that results in the Log Search rule.

type TriggerConditionArgs

type TriggerConditionArgs struct {
	// Trigger condition for metric query rule
	MetricTrigger LogMetricTriggerPtrInput `pulumi:"metricTrigger"`
	// Result or count threshold based on which rule should be triggered.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// Evaluation operation for rule - 'GreaterThan' or 'LessThan.
	ThresholdOperator pulumi.StringInput `pulumi:"thresholdOperator"`
}

The condition that results in the Log Search rule.

func (TriggerConditionArgs) ElementType

func (TriggerConditionArgs) ElementType() reflect.Type

func (TriggerConditionArgs) ToTriggerConditionOutput

func (i TriggerConditionArgs) ToTriggerConditionOutput() TriggerConditionOutput

func (TriggerConditionArgs) ToTriggerConditionOutputWithContext

func (i TriggerConditionArgs) ToTriggerConditionOutputWithContext(ctx context.Context) TriggerConditionOutput

type TriggerConditionInput

type TriggerConditionInput interface {
	pulumi.Input

	ToTriggerConditionOutput() TriggerConditionOutput
	ToTriggerConditionOutputWithContext(context.Context) TriggerConditionOutput
}

TriggerConditionInput is an input type that accepts TriggerConditionArgs and TriggerConditionOutput values. You can construct a concrete instance of `TriggerConditionInput` via:

TriggerConditionArgs{...}

type TriggerConditionOutput

type TriggerConditionOutput struct{ *pulumi.OutputState }

The condition that results in the Log Search rule.

func (TriggerConditionOutput) ElementType

func (TriggerConditionOutput) ElementType() reflect.Type

func (TriggerConditionOutput) MetricTrigger

Trigger condition for metric query rule

func (TriggerConditionOutput) Threshold

Result or count threshold based on which rule should be triggered.

func (TriggerConditionOutput) ThresholdOperator

func (o TriggerConditionOutput) ThresholdOperator() pulumi.StringOutput

Evaluation operation for rule - 'GreaterThan' or 'LessThan.

func (TriggerConditionOutput) ToTriggerConditionOutput

func (o TriggerConditionOutput) ToTriggerConditionOutput() TriggerConditionOutput

func (TriggerConditionOutput) ToTriggerConditionOutputWithContext

func (o TriggerConditionOutput) ToTriggerConditionOutputWithContext(ctx context.Context) TriggerConditionOutput

type TriggerConditionResponse

type TriggerConditionResponse struct {
	// Trigger condition for metric query rule
	MetricTrigger *LogMetricTriggerResponse `pulumi:"metricTrigger"`
	// Result or count threshold based on which rule should be triggered.
	Threshold float64 `pulumi:"threshold"`
	// Evaluation operation for rule - 'GreaterThan' or 'LessThan.
	ThresholdOperator string `pulumi:"thresholdOperator"`
}

The condition that results in the Log Search rule.

type TriggerConditionResponseArgs

type TriggerConditionResponseArgs struct {
	// Trigger condition for metric query rule
	MetricTrigger LogMetricTriggerResponsePtrInput `pulumi:"metricTrigger"`
	// Result or count threshold based on which rule should be triggered.
	Threshold pulumi.Float64Input `pulumi:"threshold"`
	// Evaluation operation for rule - 'GreaterThan' or 'LessThan.
	ThresholdOperator pulumi.StringInput `pulumi:"thresholdOperator"`
}

The condition that results in the Log Search rule.

func (TriggerConditionResponseArgs) ElementType

func (TriggerConditionResponseArgs) ToTriggerConditionResponseOutput

func (i TriggerConditionResponseArgs) ToTriggerConditionResponseOutput() TriggerConditionResponseOutput

func (TriggerConditionResponseArgs) ToTriggerConditionResponseOutputWithContext

func (i TriggerConditionResponseArgs) ToTriggerConditionResponseOutputWithContext(ctx context.Context) TriggerConditionResponseOutput

type TriggerConditionResponseInput

type TriggerConditionResponseInput interface {
	pulumi.Input

	ToTriggerConditionResponseOutput() TriggerConditionResponseOutput
	ToTriggerConditionResponseOutputWithContext(context.Context) TriggerConditionResponseOutput
}

TriggerConditionResponseInput is an input type that accepts TriggerConditionResponseArgs and TriggerConditionResponseOutput values. You can construct a concrete instance of `TriggerConditionResponseInput` via:

TriggerConditionResponseArgs{...}

type TriggerConditionResponseOutput

type TriggerConditionResponseOutput struct{ *pulumi.OutputState }

The condition that results in the Log Search rule.

func (TriggerConditionResponseOutput) ElementType

func (TriggerConditionResponseOutput) MetricTrigger

Trigger condition for metric query rule

func (TriggerConditionResponseOutput) Threshold

Result or count threshold based on which rule should be triggered.

func (TriggerConditionResponseOutput) ThresholdOperator

func (o TriggerConditionResponseOutput) ThresholdOperator() pulumi.StringOutput

Evaluation operation for rule - 'GreaterThan' or 'LessThan.

func (TriggerConditionResponseOutput) ToTriggerConditionResponseOutput

func (o TriggerConditionResponseOutput) ToTriggerConditionResponseOutput() TriggerConditionResponseOutput

func (TriggerConditionResponseOutput) ToTriggerConditionResponseOutputWithContext

func (o TriggerConditionResponseOutput) ToTriggerConditionResponseOutputWithContext(ctx context.Context) TriggerConditionResponseOutput

Jump to

Keyboard shortcuts

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