monitoring

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionGroup added in v0.15.2

type ActionGroup struct {
	// contains filtered or unexported fields
}

Manages an Action Group within Azure Monitor.

func GetActionGroup added in v0.15.2

func GetActionGroup(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ActionGroupState, opts ...pulumi.ResourceOpt) (*ActionGroup, error)

GetActionGroup gets an existing ActionGroup 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 NewActionGroup added in v0.15.2

func NewActionGroup(ctx *pulumi.Context,
	name string, args *ActionGroupArgs, opts ...pulumi.ResourceOpt) (*ActionGroup, error)

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

func (*ActionGroup) EmailReceivers added in v0.15.2

func (r *ActionGroup) EmailReceivers() *pulumi.ArrayOutput

One or more `email_receiver` blocks as defined below.

func (*ActionGroup) Enabled added in v0.15.2

func (r *ActionGroup) Enabled() *pulumi.BoolOutput

Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to `true`.

func (*ActionGroup) ID added in v0.15.2

func (r *ActionGroup) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ActionGroup) Name added in v0.15.2

func (r *ActionGroup) Name() *pulumi.StringOutput

The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.

func (*ActionGroup) ResourceGroupName added in v0.15.2

func (r *ActionGroup) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the Action Group instance.

func (*ActionGroup) ShortName added in v0.15.2

func (r *ActionGroup) ShortName() *pulumi.StringOutput

The short name of the action group. This will be used in SMS messages.

func (*ActionGroup) SmsReceivers added in v0.15.2

func (r *ActionGroup) SmsReceivers() *pulumi.ArrayOutput

One or more `sms_receiver ` blocks as defined below.

func (*ActionGroup) Tags added in v0.15.2

func (r *ActionGroup) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*ActionGroup) URN added in v0.15.2

func (r *ActionGroup) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ActionGroup) WebhookReceivers added in v0.15.2

func (r *ActionGroup) WebhookReceivers() *pulumi.ArrayOutput

One or more `webhook_receiver ` blocks as defined below.

type ActionGroupArgs added in v0.15.2

type ActionGroupArgs struct {
	// One or more `email_receiver` blocks as defined below.
	EmailReceivers interface{}
	// Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to `true`.
	Enabled interface{}
	// The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
	Name interface{}
	// The name of the resource group in which to create the Action Group instance.
	ResourceGroupName interface{}
	// The short name of the action group. This will be used in SMS messages.
	ShortName interface{}
	// One or more `sms_receiver ` blocks as defined below.
	SmsReceivers interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// One or more `webhook_receiver ` blocks as defined below.
	WebhookReceivers interface{}
}

The set of arguments for constructing a ActionGroup resource.

type ActionGroupState added in v0.15.2

type ActionGroupState struct {
	// One or more `email_receiver` blocks as defined below.
	EmailReceivers interface{}
	// Whether this action group is enabled. If an action group is not enabled, then none of its receivers will receive communications. Defaults to `true`.
	Enabled interface{}
	// The name of the webhook receiver. Names must be unique (case-insensitive) across all receivers within an action group.
	Name interface{}
	// The name of the resource group in which to create the Action Group instance.
	ResourceGroupName interface{}
	// The short name of the action group. This will be used in SMS messages.
	ShortName interface{}
	// One or more `sms_receiver ` blocks as defined below.
	SmsReceivers interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// One or more `webhook_receiver ` blocks as defined below.
	WebhookReceivers interface{}
}

Input properties used for looking up and filtering ActionGroup resources.

type AlertRule

type AlertRule struct {
	// contains filtered or unexported fields
}

Manages a [metric-based alert rule](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitor-quick-resource-metric-alert-portal) in Azure Monitor.

func GetAlertRule

func GetAlertRule(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AlertRuleState, opts ...pulumi.ResourceOpt) (*AlertRule, error)

GetAlertRule gets an existing AlertRule 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 NewAlertRule

func NewAlertRule(ctx *pulumi.Context,
	name string, args *AlertRuleArgs, opts ...pulumi.ResourceOpt) (*AlertRule, error)

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

func (*AlertRule) Aggregation

func (r *AlertRule) Aggregation() *pulumi.StringOutput

Defines how the metric data is combined over time. Possible values are `Average`, `Minimum`, `Maximum`, `Total`, and `Last`.

func (*AlertRule) Description

func (r *AlertRule) Description() *pulumi.StringOutput

A verbose description of the alert rule that will be included in the alert email.

func (*AlertRule) EmailAction

func (r *AlertRule) EmailAction() *pulumi.Output

A `email_action` block as defined below.

func (*AlertRule) Enabled

func (r *AlertRule) Enabled() *pulumi.BoolOutput

If `true`, the alert rule is enabled. Defaults to `true`.

func (*AlertRule) ID

func (r *AlertRule) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AlertRule) Location

func (r *AlertRule) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*AlertRule) MetricName

func (r *AlertRule) MetricName() *pulumi.StringOutput

The metric that defines what the rule monitors.

func (*AlertRule) Name

func (r *AlertRule) Name() *pulumi.StringOutput

Specifies the name of the alert rule. Changing this forces a new resource to be created.

func (*AlertRule) Operator

func (r *AlertRule) Operator() *pulumi.StringOutput

The operator used to compare the metric data and the threshold. Possible values are `GreaterThan`, `GreaterThanOrEqual`, `LessThan`, and `LessThanOrEqual`.

func (*AlertRule) Period

func (r *AlertRule) Period() *pulumi.StringOutput

The period of time formatted in [ISO 8601 duration format](https://en.wikipedia.org/wiki/ISO_8601#Durations) that is used to monitor the alert activity based on the threshold. The period must be between 5 minutes and 1 day.

func (*AlertRule) ResourceGroupName

func (r *AlertRule) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the alert rule. Changing this forces a new resource to be created.

func (*AlertRule) ResourceId

func (r *AlertRule) ResourceId() *pulumi.StringOutput

The ID of the resource monitored by the alert rule.

func (*AlertRule) Tags

func (r *AlertRule) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource. Changing this forces a new resource to be created.

func (*AlertRule) Threshold

func (r *AlertRule) Threshold() *pulumi.Float64Output

The threshold value that activates the alert.

func (*AlertRule) URN

func (r *AlertRule) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*AlertRule) WebhookAction

func (r *AlertRule) WebhookAction() *pulumi.Output

A `webhook_action` block as defined below.

type AlertRuleArgs

type AlertRuleArgs struct {
	// Defines how the metric data is combined over time. Possible values are `Average`, `Minimum`, `Maximum`, `Total`, and `Last`.
	Aggregation interface{}
	// A verbose description of the alert rule that will be included in the alert email.
	Description interface{}
	// A `email_action` block as defined below.
	EmailAction interface{}
	// If `true`, the alert rule is enabled. Defaults to `true`.
	Enabled interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The metric that defines what the rule monitors.
	MetricName interface{}
	// Specifies the name of the alert rule. Changing this forces a new resource to be created.
	Name interface{}
	// The operator used to compare the metric data and the threshold. Possible values are `GreaterThan`, `GreaterThanOrEqual`, `LessThan`, and `LessThanOrEqual`.
	Operator interface{}
	// The period of time formatted in [ISO 8601 duration format](https://en.wikipedia.org/wiki/ISO_8601#Durations) that is used to monitor the alert activity based on the threshold. The period must be between 5 minutes and 1 day.
	Period interface{}
	// The name of the resource group in which to create the alert rule. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The ID of the resource monitored by the alert rule.
	ResourceId interface{}
	// A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
	Tags interface{}
	// The threshold value that activates the alert.
	Threshold interface{}
	// A `webhook_action` block as defined below.
	WebhookAction interface{}
}

The set of arguments for constructing a AlertRule resource.

type AlertRuleState

type AlertRuleState struct {
	// Defines how the metric data is combined over time. Possible values are `Average`, `Minimum`, `Maximum`, `Total`, and `Last`.
	Aggregation interface{}
	// A verbose description of the alert rule that will be included in the alert email.
	Description interface{}
	// A `email_action` block as defined below.
	EmailAction interface{}
	// If `true`, the alert rule is enabled. Defaults to `true`.
	Enabled interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// The metric that defines what the rule monitors.
	MetricName interface{}
	// Specifies the name of the alert rule. Changing this forces a new resource to be created.
	Name interface{}
	// The operator used to compare the metric data and the threshold. Possible values are `GreaterThan`, `GreaterThanOrEqual`, `LessThan`, and `LessThanOrEqual`.
	Operator interface{}
	// The period of time formatted in [ISO 8601 duration format](https://en.wikipedia.org/wiki/ISO_8601#Durations) that is used to monitor the alert activity based on the threshold. The period must be between 5 minutes and 1 day.
	Period interface{}
	// The name of the resource group in which to create the alert rule. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The ID of the resource monitored by the alert rule.
	ResourceId interface{}
	// A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
	Tags interface{}
	// The threshold value that activates the alert.
	Threshold interface{}
	// A `webhook_action` block as defined below.
	WebhookAction interface{}
}

Input properties used for looking up and filtering AlertRule resources.

Jump to

Keyboard shortcuts

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