monitoring

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 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 ActivityLogAlert added in v0.16.2

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

func GetActivityLogAlert added in v0.16.2

func GetActivityLogAlert(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ActivityLogAlertState, opts ...pulumi.ResourceOpt) (*ActivityLogAlert, error)

GetActivityLogAlert gets an existing ActivityLogAlert 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 NewActivityLogAlert added in v0.16.2

func NewActivityLogAlert(ctx *pulumi.Context,
	name string, args *ActivityLogAlertArgs, opts ...pulumi.ResourceOpt) (*ActivityLogAlert, error)

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

func (*ActivityLogAlert) Actions added in v0.16.2

func (r *ActivityLogAlert) Actions() *pulumi.ArrayOutput

func (*ActivityLogAlert) Criteria added in v0.16.2

func (r *ActivityLogAlert) Criteria() *pulumi.Output

func (*ActivityLogAlert) Description added in v0.16.2

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

func (*ActivityLogAlert) Enabled added in v0.16.2

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

func (*ActivityLogAlert) ID added in v0.16.2

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

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

func (*ActivityLogAlert) Name added in v0.16.2

func (*ActivityLogAlert) ResourceGroupName added in v0.16.2

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

func (*ActivityLogAlert) Scopes added in v0.16.2

func (r *ActivityLogAlert) Scopes() *pulumi.ArrayOutput

func (*ActivityLogAlert) Tags added in v0.16.2

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

func (*ActivityLogAlert) URN added in v0.16.2

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

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

type ActivityLogAlertArgs added in v0.16.2

type ActivityLogAlertArgs struct {
	Actions           interface{}
	Criteria          interface{}
	Description       interface{}
	Enabled           interface{}
	Name              interface{}
	ResourceGroupName interface{}
	Scopes            interface{}
	Tags              interface{}
}

The set of arguments for constructing a ActivityLogAlert resource.

type ActivityLogAlertState added in v0.16.2

type ActivityLogAlertState struct {
	Actions           interface{}
	Criteria          interface{}
	Description       interface{}
	Enabled           interface{}
	Name              interface{}
	ResourceGroupName interface{}
	Scopes            interface{}
	Tags              interface{}
}

Input properties used for looking up and filtering ActivityLogAlert 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.

type GetLogProfileArgs added in v0.16.2

type GetLogProfileArgs struct {
	// Specifies the Name of the Log Profile.
	Name interface{}
}

A collection of arguments for invoking getLogProfile.

type GetLogProfileResult added in v0.16.2

type GetLogProfileResult struct {
	// List of categories of the logs.
	Categories interface{}
	// List of regions for which Activity Log events are stored or streamed.
	Locations       interface{}
	RetentionPolicy interface{}
	// The service bus (or event hub) rule ID of the service bus (or event hub) namespace in which the Activity Log is streamed to.
	ServicebusRuleId interface{}
	// The resource id of the storage account in which the Activity Log is stored.
	StorageAccountId interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getLogProfile.

func LookupLogProfile added in v0.16.2

func LookupLogProfile(ctx *pulumi.Context, args *GetLogProfileArgs) (*GetLogProfileResult, error)

Use this data source to access the properties of a Log Profile.

type LogProfile added in v0.16.2

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

Manages a [Log Profile](https://docs.microsoft.com/en-us/azure/monitoring-and-diagnostics/monitoring-overview-activity-logs#export-the-activity-log-with-a-log-profile). A Log Profile configures how Activity Logs are exported.

func GetLogProfile added in v0.16.2

func GetLogProfile(ctx *pulumi.Context,
	name string, id pulumi.ID, state *LogProfileState, opts ...pulumi.ResourceOpt) (*LogProfile, error)

GetLogProfile gets an existing LogProfile 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 NewLogProfile added in v0.16.2

func NewLogProfile(ctx *pulumi.Context,
	name string, args *LogProfileArgs, opts ...pulumi.ResourceOpt) (*LogProfile, error)

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

func (*LogProfile) Categories added in v0.16.2

func (r *LogProfile) Categories() *pulumi.ArrayOutput

List of categories of the logs.

func (*LogProfile) ID added in v0.16.2

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

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

func (*LogProfile) Locations added in v0.16.2

func (r *LogProfile) Locations() *pulumi.ArrayOutput

List of regions for which Activity Log events are stored or streamed.

func (*LogProfile) Name added in v0.16.2

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

The name of the Log Profile. Changing this forces a new resource to be created.

func (*LogProfile) RetentionPolicy added in v0.16.2

func (r *LogProfile) RetentionPolicy() *pulumi.Output

A `retention_policy` block as documented below. A retention policy for how long Activity Logs are retained in the storage account.

func (*LogProfile) ServicebusRuleId added in v0.16.2

func (r *LogProfile) ServicebusRuleId() *pulumi.StringOutput

The service bus (or event hub) rule ID of the service bus (or event hub) namespace in which the Activity Log is streamed to. At least one of `storage_account_id` or `servicebus_rule_id` must be set.

func (*LogProfile) StorageAccountId added in v0.16.2

func (r *LogProfile) StorageAccountId() *pulumi.StringOutput

The resource ID of the storage account in which the Activity Log is stored. At least one of `storage_account_id` or `servicebus_rule_id` must be set.

func (*LogProfile) URN added in v0.16.2

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

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

type LogProfileArgs added in v0.16.2

type LogProfileArgs struct {
	// List of categories of the logs.
	Categories interface{}
	// List of regions for which Activity Log events are stored or streamed.
	Locations interface{}
	// The name of the Log Profile. Changing this forces a
	// new resource to be created.
	Name interface{}
	// A `retention_policy` block as documented below. A retention policy for how long Activity Logs are retained in the storage account.
	RetentionPolicy interface{}
	// The service bus (or event hub) rule ID of the service bus (or event hub) namespace in which the Activity Log is streamed to. At least one of `storage_account_id` or `servicebus_rule_id` must be set.
	ServicebusRuleId interface{}
	// The resource ID of the storage account in which the Activity Log is stored. At least one of `storage_account_id` or `servicebus_rule_id` must be set.
	StorageAccountId interface{}
}

The set of arguments for constructing a LogProfile resource.

type LogProfileState added in v0.16.2

type LogProfileState struct {
	// List of categories of the logs.
	Categories interface{}
	// List of regions for which Activity Log events are stored or streamed.
	Locations interface{}
	// The name of the Log Profile. Changing this forces a
	// new resource to be created.
	Name interface{}
	// A `retention_policy` block as documented below. A retention policy for how long Activity Logs are retained in the storage account.
	RetentionPolicy interface{}
	// The service bus (or event hub) rule ID of the service bus (or event hub) namespace in which the Activity Log is streamed to. At least one of `storage_account_id` or `servicebus_rule_id` must be set.
	ServicebusRuleId interface{}
	// The resource ID of the storage account in which the Activity Log is stored. At least one of `storage_account_id` or `servicebus_rule_id` must be set.
	StorageAccountId interface{}
}

Input properties used for looking up and filtering LogProfile resources.

type MetricAlert added in v0.16.2

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

func GetMetricAlert added in v0.16.2

func GetMetricAlert(ctx *pulumi.Context,
	name string, id pulumi.ID, state *MetricAlertState, opts ...pulumi.ResourceOpt) (*MetricAlert, error)

GetMetricAlert gets an existing MetricAlert 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 NewMetricAlert added in v0.16.2

func NewMetricAlert(ctx *pulumi.Context,
	name string, args *MetricAlertArgs, opts ...pulumi.ResourceOpt) (*MetricAlert, error)

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

func (*MetricAlert) Actions added in v0.16.2

func (r *MetricAlert) Actions() *pulumi.ArrayOutput

func (*MetricAlert) AutoMitigate added in v0.16.2

func (r *MetricAlert) AutoMitigate() *pulumi.BoolOutput

func (*MetricAlert) Criterias added in v0.16.2

func (r *MetricAlert) Criterias() *pulumi.ArrayOutput

func (*MetricAlert) Description added in v0.16.2

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

func (*MetricAlert) Enabled added in v0.16.2

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

func (*MetricAlert) Frequency added in v0.16.2

func (r *MetricAlert) Frequency() *pulumi.StringOutput

func (*MetricAlert) ID added in v0.16.2

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

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

func (*MetricAlert) Name added in v0.16.2

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

func (*MetricAlert) ResourceGroupName added in v0.16.2

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

func (*MetricAlert) Scopes added in v0.16.2

func (r *MetricAlert) Scopes() *pulumi.StringOutput

func (*MetricAlert) Severity added in v0.16.2

func (r *MetricAlert) Severity() *pulumi.IntOutput

func (*MetricAlert) Tags added in v0.16.2

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

func (*MetricAlert) URN added in v0.16.2

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

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

func (*MetricAlert) WindowSize added in v0.16.2

func (r *MetricAlert) WindowSize() *pulumi.StringOutput

type MetricAlertArgs added in v0.16.2

type MetricAlertArgs struct {
	Actions           interface{}
	AutoMitigate      interface{}
	Criterias         interface{}
	Description       interface{}
	Enabled           interface{}
	Frequency         interface{}
	Name              interface{}
	ResourceGroupName interface{}
	Scopes            interface{}
	Severity          interface{}
	Tags              interface{}
	WindowSize        interface{}
}

The set of arguments for constructing a MetricAlert resource.

type MetricAlertState added in v0.16.2

type MetricAlertState struct {
	Actions           interface{}
	AutoMitigate      interface{}
	Criterias         interface{}
	Description       interface{}
	Enabled           interface{}
	Frequency         interface{}
	Name              interface{}
	ResourceGroupName interface{}
	Scopes            interface{}
	Severity          interface{}
	Tags              interface{}
	WindowSize        interface{}
}

Input properties used for looking up and filtering MetricAlert resources.

Jump to

Keyboard shortcuts

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