Documentation
¶
Index ¶
- type ActionGroup
- func (r *ActionGroup) EmailReceivers() *pulumi.ArrayOutput
- func (r *ActionGroup) Enabled() *pulumi.BoolOutput
- func (r *ActionGroup) ID() *pulumi.IDOutput
- func (r *ActionGroup) Name() *pulumi.StringOutput
- func (r *ActionGroup) ResourceGroupName() *pulumi.StringOutput
- func (r *ActionGroup) ShortName() *pulumi.StringOutput
- func (r *ActionGroup) SmsReceivers() *pulumi.ArrayOutput
- func (r *ActionGroup) Tags() *pulumi.MapOutput
- func (r *ActionGroup) URN() *pulumi.URNOutput
- func (r *ActionGroup) WebhookReceivers() *pulumi.ArrayOutput
- type ActionGroupArgs
- type ActionGroupState
- type ActivityLogAlert
- func (r *ActivityLogAlert) Actions() *pulumi.ArrayOutput
- func (r *ActivityLogAlert) Criteria() *pulumi.Output
- func (r *ActivityLogAlert) Description() *pulumi.StringOutput
- func (r *ActivityLogAlert) Enabled() *pulumi.BoolOutput
- func (r *ActivityLogAlert) ID() *pulumi.IDOutput
- func (r *ActivityLogAlert) Name() *pulumi.StringOutput
- func (r *ActivityLogAlert) ResourceGroupName() *pulumi.StringOutput
- func (r *ActivityLogAlert) Scopes() *pulumi.ArrayOutput
- func (r *ActivityLogAlert) Tags() *pulumi.MapOutput
- func (r *ActivityLogAlert) URN() *pulumi.URNOutput
- type ActivityLogAlertArgs
- type ActivityLogAlertState
- type AlertRule
- func (r *AlertRule) Aggregation() *pulumi.StringOutput
- func (r *AlertRule) Description() *pulumi.StringOutput
- func (r *AlertRule) EmailAction() *pulumi.Output
- func (r *AlertRule) Enabled() *pulumi.BoolOutput
- func (r *AlertRule) ID() *pulumi.IDOutput
- func (r *AlertRule) Location() *pulumi.StringOutput
- func (r *AlertRule) MetricName() *pulumi.StringOutput
- func (r *AlertRule) Name() *pulumi.StringOutput
- func (r *AlertRule) Operator() *pulumi.StringOutput
- func (r *AlertRule) Period() *pulumi.StringOutput
- func (r *AlertRule) ResourceGroupName() *pulumi.StringOutput
- func (r *AlertRule) ResourceId() *pulumi.StringOutput
- func (r *AlertRule) Tags() *pulumi.MapOutput
- func (r *AlertRule) Threshold() *pulumi.Float64Output
- func (r *AlertRule) URN() *pulumi.URNOutput
- func (r *AlertRule) WebhookAction() *pulumi.Output
- type AlertRuleArgs
- type AlertRuleState
- type AutoscaleSetting
- func (r *AutoscaleSetting) Enabled() *pulumi.BoolOutput
- func (r *AutoscaleSetting) ID() *pulumi.IDOutput
- func (r *AutoscaleSetting) Location() *pulumi.StringOutput
- func (r *AutoscaleSetting) Name() *pulumi.StringOutput
- func (r *AutoscaleSetting) Notification() *pulumi.Output
- func (r *AutoscaleSetting) Profiles() *pulumi.ArrayOutput
- func (r *AutoscaleSetting) ResourceGroupName() *pulumi.StringOutput
- func (r *AutoscaleSetting) Tags() *pulumi.MapOutput
- func (r *AutoscaleSetting) TargetResourceId() *pulumi.StringOutput
- func (r *AutoscaleSetting) URN() *pulumi.URNOutput
- type AutoscaleSettingArgs
- type AutoscaleSettingState
- type DiagnosticSetting
- func (r *DiagnosticSetting) EventhubAuthorizationRuleId() *pulumi.StringOutput
- func (r *DiagnosticSetting) EventhubName() *pulumi.StringOutput
- func (r *DiagnosticSetting) ID() *pulumi.IDOutput
- func (r *DiagnosticSetting) LogAnalyticsWorkspaceId() *pulumi.StringOutput
- func (r *DiagnosticSetting) Logs() *pulumi.ArrayOutput
- func (r *DiagnosticSetting) Metrics() *pulumi.ArrayOutput
- func (r *DiagnosticSetting) Name() *pulumi.StringOutput
- func (r *DiagnosticSetting) StorageAccountId() *pulumi.StringOutput
- func (r *DiagnosticSetting) TargetResourceId() *pulumi.StringOutput
- func (r *DiagnosticSetting) URN() *pulumi.URNOutput
- type DiagnosticSettingArgs
- type DiagnosticSettingState
- type GetActionGroupArgs
- type GetActionGroupResult
- type GetDiagnosticCategoriesArgs
- type GetDiagnosticCategoriesResult
- type GetLogProfileArgs
- type GetLogProfileResult
- type LogProfile
- func (r *LogProfile) Categories() *pulumi.ArrayOutput
- func (r *LogProfile) ID() *pulumi.IDOutput
- func (r *LogProfile) Locations() *pulumi.ArrayOutput
- func (r *LogProfile) Name() *pulumi.StringOutput
- func (r *LogProfile) RetentionPolicy() *pulumi.Output
- func (r *LogProfile) ServicebusRuleId() *pulumi.StringOutput
- func (r *LogProfile) StorageAccountId() *pulumi.StringOutput
- func (r *LogProfile) URN() *pulumi.URNOutput
- type LogProfileArgs
- type LogProfileState
- type MetricAlert
- func (r *MetricAlert) Actions() *pulumi.ArrayOutput
- func (r *MetricAlert) AutoMitigate() *pulumi.BoolOutput
- func (r *MetricAlert) Criterias() *pulumi.ArrayOutput
- func (r *MetricAlert) Description() *pulumi.StringOutput
- func (r *MetricAlert) Enabled() *pulumi.BoolOutput
- func (r *MetricAlert) Frequency() *pulumi.StringOutput
- func (r *MetricAlert) ID() *pulumi.IDOutput
- func (r *MetricAlert) Name() *pulumi.StringOutput
- func (r *MetricAlert) ResourceGroupName() *pulumi.StringOutput
- func (r *MetricAlert) Scopes() *pulumi.StringOutput
- func (r *MetricAlert) Severity() *pulumi.IntOutput
- func (r *MetricAlert) Tags() *pulumi.MapOutput
- func (r *MetricAlert) URN() *pulumi.URNOutput
- func (r *MetricAlert) WindowSize() *pulumi.StringOutput
- type MetricAlertArgs
- type MetricAlertRule
- func (r *MetricAlertRule) Aggregation() *pulumi.StringOutput
- func (r *MetricAlertRule) Description() *pulumi.StringOutput
- func (r *MetricAlertRule) EmailAction() *pulumi.Output
- func (r *MetricAlertRule) Enabled() *pulumi.BoolOutput
- func (r *MetricAlertRule) ID() *pulumi.IDOutput
- func (r *MetricAlertRule) Location() *pulumi.StringOutput
- func (r *MetricAlertRule) MetricName() *pulumi.StringOutput
- func (r *MetricAlertRule) Name() *pulumi.StringOutput
- func (r *MetricAlertRule) Operator() *pulumi.StringOutput
- func (r *MetricAlertRule) Period() *pulumi.StringOutput
- func (r *MetricAlertRule) ResourceGroupName() *pulumi.StringOutput
- func (r *MetricAlertRule) ResourceId() *pulumi.StringOutput
- func (r *MetricAlertRule) Tags() *pulumi.MapOutput
- func (r *MetricAlertRule) Threshold() *pulumi.Float64Output
- func (r *MetricAlertRule) URN() *pulumi.URNOutput
- func (r *MetricAlertRule) WebhookAction() *pulumi.Output
- type MetricAlertRuleArgs
- type MetricAlertRuleState
- type MetricAlertState
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
}
Manages an Activity Log Alert within Azure Monitor.
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
One or more `action` blocks as defined below.
func (*ActivityLogAlert) Criteria ¶ added in v0.16.2
func (r *ActivityLogAlert) Criteria() *pulumi.Output
A `criteria` block as defined below.
func (*ActivityLogAlert) Description ¶ added in v0.16.2
func (r *ActivityLogAlert) Description() *pulumi.StringOutput
The description of this activity log alert.
func (*ActivityLogAlert) Enabled ¶ added in v0.16.2
func (r *ActivityLogAlert) Enabled() *pulumi.BoolOutput
Should this Activity Log Alert be enabled? Defaults to `true`.
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 (r *ActivityLogAlert) Name() *pulumi.StringOutput
The name of the activity log alert. Changing this forces a new resource to be created.
func (*ActivityLogAlert) ResourceGroupName ¶ added in v0.16.2
func (r *ActivityLogAlert) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the activity log alert instance.
func (*ActivityLogAlert) Scopes ¶ added in v0.16.2
func (r *ActivityLogAlert) Scopes() *pulumi.ArrayOutput
The Scope at which the Activity Log should be applied, for example a the Resource ID of a Subscription or a Resource (such as a Storage Account).
func (*ActivityLogAlert) Tags ¶ added in v0.16.2
func (r *ActivityLogAlert) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
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 { // One or more `action` blocks as defined below. Actions interface{} // A `criteria` block as defined below. Criteria interface{} // The description of this activity log alert. Description interface{} // Should this Activity Log Alert be enabled? Defaults to `true`. Enabled interface{} // The name of the activity log alert. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the activity log alert instance. ResourceGroupName interface{} // The Scope at which the Activity Log should be applied, for example a the Resource ID of a Subscription or a Resource (such as a Storage Account). Scopes interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a ActivityLogAlert resource.
type ActivityLogAlertState ¶ added in v0.16.2
type ActivityLogAlertState struct { // One or more `action` blocks as defined below. Actions interface{} // A `criteria` block as defined below. Criteria interface{} // The description of this activity log alert. Description interface{} // Should this Activity Log Alert be enabled? Defaults to `true`. Enabled interface{} // The name of the activity log alert. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the activity log alert instance. ResourceGroupName interface{} // The Scope at which the Activity Log should be applied, for example a the Resource ID of a Subscription or a Resource (such as a Storage Account). Scopes interface{} // A mapping of tags to assign to the resource. 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.
> **NOTE:** This resource has been deprecated in favour of the `azurerm_monitor_metric_alertrule` resource and will be removed in the next major version of the AzureRM Provider. The new resource shares the same fields as this one, and information on migrating across can be found in this guide.
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 ¶
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) 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 ¶
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) WebhookAction ¶
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 AutoscaleSetting ¶ added in v0.16.8
type AutoscaleSetting struct {
// contains filtered or unexported fields
}
Manages a AutoScale Setting which can be applied to Virtual Machine Scale Sets, App Services and other scalable resources.
func GetAutoscaleSetting ¶ added in v0.16.8
func GetAutoscaleSetting(ctx *pulumi.Context, name string, id pulumi.ID, state *AutoscaleSettingState, opts ...pulumi.ResourceOpt) (*AutoscaleSetting, error)
GetAutoscaleSetting gets an existing AutoscaleSetting 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 NewAutoscaleSetting ¶ added in v0.16.8
func NewAutoscaleSetting(ctx *pulumi.Context, name string, args *AutoscaleSettingArgs, opts ...pulumi.ResourceOpt) (*AutoscaleSetting, error)
NewAutoscaleSetting registers a new resource with the given unique name, arguments, and options.
func (*AutoscaleSetting) Enabled ¶ added in v0.16.8
func (r *AutoscaleSetting) Enabled() *pulumi.BoolOutput
Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`.
func (*AutoscaleSetting) ID ¶ added in v0.16.8
func (r *AutoscaleSetting) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*AutoscaleSetting) Location ¶ added in v0.16.8
func (r *AutoscaleSetting) Location() *pulumi.StringOutput
Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created.
func (*AutoscaleSetting) Name ¶ added in v0.16.8
func (r *AutoscaleSetting) Name() *pulumi.StringOutput
The name of the AutoScale Setting. Changing this forces a new resource to be created.
func (*AutoscaleSetting) Notification ¶ added in v0.16.8
func (r *AutoscaleSetting) Notification() *pulumi.Output
Specifies a `notification` block as defined below.
func (*AutoscaleSetting) Profiles ¶ added in v0.16.8
func (r *AutoscaleSetting) Profiles() *pulumi.ArrayOutput
Specifies one or more (up to 20) `profile` blocks as defined below.
func (*AutoscaleSetting) ResourceGroupName ¶ added in v0.16.8
func (r *AutoscaleSetting) ResourceGroupName() *pulumi.StringOutput
The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created.
func (*AutoscaleSetting) Tags ¶ added in v0.16.8
func (r *AutoscaleSetting) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*AutoscaleSetting) TargetResourceId ¶ added in v0.16.8
func (r *AutoscaleSetting) TargetResourceId() *pulumi.StringOutput
Specifies the resource ID of the resource that the autoscale setting should be added to.
func (*AutoscaleSetting) URN ¶ added in v0.16.8
func (r *AutoscaleSetting) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type AutoscaleSettingArgs ¶ added in v0.16.8
type AutoscaleSettingArgs struct { // Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`. Enabled interface{} // Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created. Location interface{} // The name of the AutoScale Setting. Changing this forces a new resource to be created. Name interface{} // Specifies a `notification` block as defined below. Notification interface{} // Specifies one or more (up to 20) `profile` blocks as defined below. Profiles interface{} // The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the resource ID of the resource that the autoscale setting should be added to. TargetResourceId interface{} }
The set of arguments for constructing a AutoscaleSetting resource.
type AutoscaleSettingState ¶ added in v0.16.8
type AutoscaleSettingState struct { // Specifies whether automatic scaling is enabled for the target resource. Defaults to `true`. Enabled interface{} // Specifies the supported Azure location where the AutoScale Setting should exist. Changing this forces a new resource to be created. Location interface{} // The name of the AutoScale Setting. Changing this forces a new resource to be created. Name interface{} // Specifies a `notification` block as defined below. Notification interface{} // Specifies one or more (up to 20) `profile` blocks as defined below. Profiles interface{} // The name of the Resource Group in the AutoScale Setting should be created. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the resource ID of the resource that the autoscale setting should be added to. TargetResourceId interface{} }
Input properties used for looking up and filtering AutoscaleSetting resources.
type DiagnosticSetting ¶ added in v0.16.5
type DiagnosticSetting struct {
// contains filtered or unexported fields
}
Manages a Diagnostic Setting for an existing Resource.
func GetDiagnosticSetting ¶ added in v0.16.5
func GetDiagnosticSetting(ctx *pulumi.Context, name string, id pulumi.ID, state *DiagnosticSettingState, opts ...pulumi.ResourceOpt) (*DiagnosticSetting, error)
GetDiagnosticSetting gets an existing DiagnosticSetting 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 NewDiagnosticSetting ¶ added in v0.16.5
func NewDiagnosticSetting(ctx *pulumi.Context, name string, args *DiagnosticSettingArgs, opts ...pulumi.ResourceOpt) (*DiagnosticSetting, error)
NewDiagnosticSetting registers a new resource with the given unique name, arguments, and options.
func (*DiagnosticSetting) EventhubAuthorizationRuleId ¶ added in v0.16.5
func (r *DiagnosticSetting) EventhubAuthorizationRuleId() *pulumi.StringOutput
Specifies the ID of an Event Hub Namespace Authorization Rule used to send Diagnostics Data. Changing this forces a new resource to be created.
func (*DiagnosticSetting) EventhubName ¶ added in v0.16.5
func (r *DiagnosticSetting) EventhubName() *pulumi.StringOutput
Specifies the name of the Event Hub where Diagnostics Data should be sent. Changing this forces a new resource to be created.
func (*DiagnosticSetting) ID ¶ added in v0.16.5
func (r *DiagnosticSetting) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*DiagnosticSetting) LogAnalyticsWorkspaceId ¶ added in v0.16.5
func (r *DiagnosticSetting) LogAnalyticsWorkspaceId() *pulumi.StringOutput
Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent. Changing this forces a new resource to be created.
func (*DiagnosticSetting) Logs ¶ added in v0.16.5
func (r *DiagnosticSetting) Logs() *pulumi.ArrayOutput
One or more `log` blocks as defined below.
func (*DiagnosticSetting) Metrics ¶ added in v0.16.5
func (r *DiagnosticSetting) Metrics() *pulumi.ArrayOutput
One or more `metric` blocks as defined below.
func (*DiagnosticSetting) Name ¶ added in v0.16.5
func (r *DiagnosticSetting) Name() *pulumi.StringOutput
Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created.
func (*DiagnosticSetting) StorageAccountId ¶ added in v0.16.5
func (r *DiagnosticSetting) StorageAccountId() *pulumi.StringOutput
With this parameter you can specify a storage account which should be used to send the logs to. Parameter must be a valid Azure Resource ID. Changing this forces a new resource to be created.
func (*DiagnosticSetting) TargetResourceId ¶ added in v0.16.5
func (r *DiagnosticSetting) TargetResourceId() *pulumi.StringOutput
The ID of an existing Resource on which to configure Diagnostic Settings. Changing this forces a new resource to be created.
func (*DiagnosticSetting) URN ¶ added in v0.16.5
func (r *DiagnosticSetting) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type DiagnosticSettingArgs ¶ added in v0.16.5
type DiagnosticSettingArgs struct { // Specifies the ID of an Event Hub Namespace Authorization Rule used to send Diagnostics Data. Changing this forces a new resource to be created. EventhubAuthorizationRuleId interface{} // Specifies the name of the Event Hub where Diagnostics Data should be sent. Changing this forces a new resource to be created. EventhubName interface{} // One or more `log` blocks as defined below. Logs interface{} // Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent. Changing this forces a new resource to be created. LogAnalyticsWorkspaceId interface{} // One or more `metric` blocks as defined below. Metrics interface{} // Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created. Name interface{} // With this parameter you can specify a storage account which should be used to send the logs to. Parameter must be a valid Azure Resource ID. Changing this forces a new resource to be created. StorageAccountId interface{} // The ID of an existing Resource on which to configure Diagnostic Settings. Changing this forces a new resource to be created. TargetResourceId interface{} }
The set of arguments for constructing a DiagnosticSetting resource.
type DiagnosticSettingState ¶ added in v0.16.5
type DiagnosticSettingState struct { // Specifies the ID of an Event Hub Namespace Authorization Rule used to send Diagnostics Data. Changing this forces a new resource to be created. EventhubAuthorizationRuleId interface{} // Specifies the name of the Event Hub where Diagnostics Data should be sent. Changing this forces a new resource to be created. EventhubName interface{} // One or more `log` blocks as defined below. Logs interface{} // Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent. Changing this forces a new resource to be created. LogAnalyticsWorkspaceId interface{} // One or more `metric` blocks as defined below. Metrics interface{} // Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created. Name interface{} // With this parameter you can specify a storage account which should be used to send the logs to. Parameter must be a valid Azure Resource ID. Changing this forces a new resource to be created. StorageAccountId interface{} // The ID of an existing Resource on which to configure Diagnostic Settings. Changing this forces a new resource to be created. TargetResourceId interface{} }
Input properties used for looking up and filtering DiagnosticSetting resources.
type GetActionGroupArgs ¶ added in v0.16.6
type GetActionGroupArgs struct { // Specifies the name of the Action Group. Name interface{} // Specifies the name of the resource group the Action Group is located in. ResourceGroupName interface{} }
A collection of arguments for invoking getActionGroup.
type GetActionGroupResult ¶ added in v0.16.6
type GetActionGroupResult struct { // One or more `email_receiver` blocks as defined below. EmailReceivers interface{} // Whether this action group is enabled. Enabled interface{} // The short name of the action group. ShortName interface{} // One or more `sms_receiver ` blocks as defined below. SmsReceivers interface{} // One or more `webhook_receiver ` blocks as defined below. WebhookReceivers interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getActionGroup.
func LookupActionGroup ¶ added in v0.16.6
func LookupActionGroup(ctx *pulumi.Context, args *GetActionGroupArgs) (*GetActionGroupResult, error)
Use this data source to access the properties of an Action Group.
type GetDiagnosticCategoriesArgs ¶ added in v0.16.5
type GetDiagnosticCategoriesArgs struct {
// The ID of an existing Resource which Monitor Diagnostics Categories should be retrieved for.
ResourceId interface{}
}
A collection of arguments for invoking getDiagnosticCategories.
type GetDiagnosticCategoriesResult ¶ added in v0.16.5
type GetDiagnosticCategoriesResult struct { // A list of the Log Categories supported for this Resource. Logs interface{} // A list of the Metric Categories supported for this Resource. Metrics interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getDiagnosticCategories.
func LookupDiagnosticCategories ¶ added in v0.16.5
func LookupDiagnosticCategories(ctx *pulumi.Context, args *GetDiagnosticCategoriesArgs) (*GetDiagnosticCategoriesResult, error)
Use this data source to access information about the Monitor Diagnostics Categories supported by an existing Resource.
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.
> **NOTE:** It's only possible to configure one Log Profile per Subscription. If you are trying to create more than one Log Profile, an error with `StatusCode=409` will occur.
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
}
Manages a Metric Alert within Azure Monitor.
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
One or more `action` blocks as defined below.
func (*MetricAlert) AutoMitigate ¶ added in v0.16.2
func (r *MetricAlert) AutoMitigate() *pulumi.BoolOutput
Should the alerts in this Metric Alert be auto resolved? Defaults to `false`.
func (*MetricAlert) Criterias ¶ added in v0.16.2
func (r *MetricAlert) Criterias() *pulumi.ArrayOutput
One or more `criteria` blocks as defined below.
func (*MetricAlert) Description ¶ added in v0.16.2
func (r *MetricAlert) Description() *pulumi.StringOutput
The description of this Metric Alert.
func (*MetricAlert) Enabled ¶ added in v0.16.2
func (r *MetricAlert) Enabled() *pulumi.BoolOutput
Should this Metric Alert be enabled? Defaults to `true`.
func (*MetricAlert) Frequency ¶ added in v0.16.2
func (r *MetricAlert) Frequency() *pulumi.StringOutput
The evaluation frequency of this Metric Alert, represented in ISO 8601 duration format. Possible values are `PT1M`, `PT5M`, `PT15M`, `PT30M` and `PT1H`. Defaults to `PT1M`.
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
The name of the Metric Alert. Changing this forces a new resource to be created.
func (*MetricAlert) ResourceGroupName ¶ added in v0.16.2
func (r *MetricAlert) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Metric Alert instance.
func (*MetricAlert) Scopes ¶ added in v0.16.2
func (r *MetricAlert) Scopes() *pulumi.StringOutput
The resource ID at which the metric criteria should be applied.
func (*MetricAlert) Severity ¶ added in v0.16.2
func (r *MetricAlert) Severity() *pulumi.IntOutput
The severity of this Metric Alert. Possible values are `0`, `1`, `2`, `3` and `4`. Defaults to `3`.
func (*MetricAlert) Tags ¶ added in v0.16.2
func (r *MetricAlert) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
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
The period of time that is used to monitor alert activity, represented in ISO 8601 duration format. This value must be greater than `frequency`. Possible values are `PT1M`, `PT5M`, `PT15M`, `PT30M`, `PT1H`, `PT6H`, `PT12H` and `P1D`. Defaults to `PT5M`.
type MetricAlertArgs ¶ added in v0.16.2
type MetricAlertArgs struct { // One or more `action` blocks as defined below. Actions interface{} // Should the alerts in this Metric Alert be auto resolved? Defaults to `false`. AutoMitigate interface{} // One or more `criteria` blocks as defined below. Criterias interface{} // The description of this Metric Alert. Description interface{} // Should this Metric Alert be enabled? Defaults to `true`. Enabled interface{} // The evaluation frequency of this Metric Alert, represented in ISO 8601 duration format. Possible values are `PT1M`, `PT5M`, `PT15M`, `PT30M` and `PT1H`. Defaults to `PT1M`. Frequency interface{} // The name of the Metric Alert. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the Metric Alert instance. ResourceGroupName interface{} // The resource ID at which the metric criteria should be applied. Scopes interface{} // The severity of this Metric Alert. Possible values are `0`, `1`, `2`, `3` and `4`. Defaults to `3`. Severity interface{} // A mapping of tags to assign to the resource. Tags interface{} // The period of time that is used to monitor alert activity, represented in ISO 8601 duration format. This value must be greater than `frequency`. Possible values are `PT1M`, `PT5M`, `PT15M`, `PT30M`, `PT1H`, `PT6H`, `PT12H` and `P1D`. Defaults to `PT5M`. WindowSize interface{} }
The set of arguments for constructing a MetricAlert resource.
type MetricAlertRule ¶ added in v0.16.8
type MetricAlertRule 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 GetMetricAlertRule ¶ added in v0.16.8
func GetMetricAlertRule(ctx *pulumi.Context, name string, id pulumi.ID, state *MetricAlertRuleState, opts ...pulumi.ResourceOpt) (*MetricAlertRule, error)
GetMetricAlertRule gets an existing MetricAlertRule 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 NewMetricAlertRule ¶ added in v0.16.8
func NewMetricAlertRule(ctx *pulumi.Context, name string, args *MetricAlertRuleArgs, opts ...pulumi.ResourceOpt) (*MetricAlertRule, error)
NewMetricAlertRule registers a new resource with the given unique name, arguments, and options.
func (*MetricAlertRule) Aggregation ¶ added in v0.16.8
func (r *MetricAlertRule) Aggregation() *pulumi.StringOutput
Defines how the metric data is combined over time. Possible values are `Average`, `Minimum`, `Maximum`, `Total`, and `Last`.
func (*MetricAlertRule) Description ¶ added in v0.16.8
func (r *MetricAlertRule) Description() *pulumi.StringOutput
A verbose description of the alert rule that will be included in the alert email.
func (*MetricAlertRule) EmailAction ¶ added in v0.16.8
func (r *MetricAlertRule) EmailAction() *pulumi.Output
A `email_action` block as defined below.
func (*MetricAlertRule) Enabled ¶ added in v0.16.8
func (r *MetricAlertRule) Enabled() *pulumi.BoolOutput
If `true`, the alert rule is enabled. Defaults to `true`.
func (*MetricAlertRule) ID ¶ added in v0.16.8
func (r *MetricAlertRule) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*MetricAlertRule) Location ¶ added in v0.16.8
func (r *MetricAlertRule) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*MetricAlertRule) MetricName ¶ added in v0.16.8
func (r *MetricAlertRule) MetricName() *pulumi.StringOutput
The metric that defines what the rule monitors.
func (*MetricAlertRule) Name ¶ added in v0.16.8
func (r *MetricAlertRule) Name() *pulumi.StringOutput
Specifies the name of the alert rule. Changing this forces a new resource to be created.
func (*MetricAlertRule) Operator ¶ added in v0.16.8
func (r *MetricAlertRule) Operator() *pulumi.StringOutput
The operator used to compare the metric data and the threshold. Possible values are `GreaterThan`, `GreaterThanOrEqual`, `LessThan`, and `LessThanOrEqual`.
func (*MetricAlertRule) Period ¶ added in v0.16.8
func (r *MetricAlertRule) 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 (*MetricAlertRule) ResourceGroupName ¶ added in v0.16.8
func (r *MetricAlertRule) 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 (*MetricAlertRule) ResourceId ¶ added in v0.16.8
func (r *MetricAlertRule) ResourceId() *pulumi.StringOutput
The ID of the resource monitored by the alert rule.
func (*MetricAlertRule) Tags ¶ added in v0.16.8
func (r *MetricAlertRule) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource. Changing this forces a new resource to be created.
func (*MetricAlertRule) Threshold ¶ added in v0.16.8
func (r *MetricAlertRule) Threshold() *pulumi.Float64Output
The threshold value that activates the alert.
func (*MetricAlertRule) URN ¶ added in v0.16.8
func (r *MetricAlertRule) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*MetricAlertRule) WebhookAction ¶ added in v0.16.8
func (r *MetricAlertRule) WebhookAction() *pulumi.Output
A `webhook_action` block as defined below.
type MetricAlertRuleArgs ¶ added in v0.16.8
type MetricAlertRuleArgs 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 MetricAlertRule resource.
type MetricAlertRuleState ¶ added in v0.16.8
type MetricAlertRuleState 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 MetricAlertRule resources.
type MetricAlertState ¶ added in v0.16.2
type MetricAlertState struct { // One or more `action` blocks as defined below. Actions interface{} // Should the alerts in this Metric Alert be auto resolved? Defaults to `false`. AutoMitigate interface{} // One or more `criteria` blocks as defined below. Criterias interface{} // The description of this Metric Alert. Description interface{} // Should this Metric Alert be enabled? Defaults to `true`. Enabled interface{} // The evaluation frequency of this Metric Alert, represented in ISO 8601 duration format. Possible values are `PT1M`, `PT5M`, `PT15M`, `PT30M` and `PT1H`. Defaults to `PT1M`. Frequency interface{} // The name of the Metric Alert. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the Metric Alert instance. ResourceGroupName interface{} // The resource ID at which the metric criteria should be applied. Scopes interface{} // The severity of this Metric Alert. Possible values are `0`, `1`, `2`, `3` and `4`. Defaults to `3`. Severity interface{} // A mapping of tags to assign to the resource. Tags interface{} // The period of time that is used to monitor alert activity, represented in ISO 8601 duration format. This value must be greater than `frequency`. Possible values are `PT1M`, `PT5M`, `PT15M`, `PT30M`, `PT1H`, `PT6H`, `PT12H` and `P1D`. Defaults to `PT5M`. WindowSize interface{} }
Input properties used for looking up and filtering MetricAlert resources.