Module monitoring

@pulumi/azure > monitoring

Index

monitoring/actionGroup.ts monitoring/activityLogAlert.ts monitoring/alertRule.ts monitoring/diagnosticSetting.ts monitoring/getDiagnosticCategories.ts monitoring/getLogProfile.ts monitoring/logProfile.ts monitoring/metricAlert.ts

class ActionGroup

Manages an Action Group within Azure Monitor.

constructor

new ActionGroup(name: string, args: ActionGroupArgs, opts?: pulumi.CustomResourceOptions)

Create a ActionGroup resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActionGroupState): ActionGroup

Get an existing ActionGroup resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property emailReceivers

public emailReceivers: pulumi.Output<{ ... }[] | undefined>;

One or more email_receiver blocks as defined below.

property enabled

public enabled: pulumi.Output<boolean | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

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

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property shortName

public shortName: pulumi.Output<string>;

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

property smsReceivers

public smsReceivers: pulumi.Output<{ ... }[] | undefined>;

One or more sms_receiver blocks as defined below.

property tags

public tags: pulumi.Output<{ ... }>;

A mapping of tags to assign to the resource.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property webhookReceivers

public webhookReceivers: pulumi.Output<{ ... }[] | undefined>;

One or more webhook_receiver blocks as defined below.

class ActivityLogAlert

constructor

new ActivityLogAlert(name: string, args: ActivityLogAlertArgs, opts?: pulumi.CustomResourceOptions)

Create a ActivityLogAlert resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ActivityLogAlertState): ActivityLogAlert

Get an existing ActivityLogAlert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property actions

public actions: pulumi.Output<{ ... }[] | undefined>;

property criteria

public criteria: pulumi.Output<{ ... }>;

property description

public description: pulumi.Output<string | undefined>;

property enabled

public enabled: pulumi.Output<boolean | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

property scopes

public scopes: pulumi.Output<string[]>;

property tags

public tags: pulumi.Output<{ ... }>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class AlertRule

Manages a metric-based alert rule in Azure Monitor.

constructor

new AlertRule(name: string, args: AlertRuleArgs, opts?: pulumi.CustomResourceOptions)

Create a AlertRule resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AlertRuleState): AlertRule

Get an existing AlertRule resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property aggregation

public aggregation: pulumi.Output<string>;

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

property description

public description: pulumi.Output<string>;

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

property emailAction

public emailAction: pulumi.Output<{ ... }>;

A email_action block as defined below.

property enabled

public enabled: pulumi.Output<boolean | undefined>;

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

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property location

public location: pulumi.Output<string>;

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

property metricName

public metricName: pulumi.Output<string>;

The metric that defines what the rule monitors.

property name

public name: pulumi.Output<string>;

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

property operator

public operator: pulumi.Output<string>;

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

property period

public period: pulumi.Output<string>;

The period of time formatted in ISO 8601 duration format that is used to monitor the alert activity based on the threshold. The period must be between 5 minutes and 1 day.

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

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

property resourceId

public resourceId: pulumi.Output<string>;

The ID of the resource monitored by the alert rule.

property tags

public tags: pulumi.Output<{ ... }>;

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

property threshold

public threshold: pulumi.Output<number>;

The threshold value that activates the alert.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property webhookAction

public webhookAction: pulumi.Output<{ ... }>;

A webhook_action block as defined below.

class DiagnosticSetting

Manages a Diagnostic Setting for an existing Resource.

constructor

new DiagnosticSetting(name: string, args: DiagnosticSettingArgs, opts?: pulumi.CustomResourceOptions)

Create a DiagnosticSetting resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DiagnosticSettingState): DiagnosticSetting

Get an existing DiagnosticSetting resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property eventhubAuthorizationRuleId

public eventhubAuthorizationRuleId: pulumi.Output<string | undefined>;

property eventhubName

public eventhubName: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property logAnalyticsWorkspaceId

public logAnalyticsWorkspaceId: pulumi.Output<string | undefined>;

Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent. Changing this forces a new resource to be created.

property logs

public logs: pulumi.Output<{ ... }[] | undefined>;

One or more log blocks as defined below.

property metrics

public metrics: pulumi.Output<{ ... }[] | undefined>;

One or more metric blocks as defined below.

property name

public name: pulumi.Output<string>;

Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created.

property storageAccountId

public storageAccountId: pulumi.Output<string | undefined>;

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.

property targetResourceId

public targetResourceId: pulumi.Output<string>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class LogProfile

Manages 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.

constructor

new LogProfile(name: string, args: LogProfileArgs, opts?: pulumi.CustomResourceOptions)

Create a LogProfile resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: LogProfileState): LogProfile

Get an existing LogProfile resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property categories

public categories: pulumi.Output<string[]>;

List of categories of the logs.

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property locations

public locations: pulumi.Output<string[]>;

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

property name

public name: pulumi.Output<string>;

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

property retentionPolicy

public retentionPolicy: pulumi.Output<{ ... }>;

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

property servicebusRuleId

public servicebusRuleId: pulumi.Output<string | undefined>;

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.

property storageAccountId

public storageAccountId: pulumi.Output<string | undefined>;

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.

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

class MetricAlert

constructor

new MetricAlert(name: string, args: MetricAlertArgs, opts?: pulumi.CustomResourceOptions)

Create a MetricAlert resource with the given unique name, arguments, and options.

  • name The unique name of the resource.
  • args The arguments to use to populate this resource's properties.
  • opts A bag of options that control this resource's behavior.

method get

public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MetricAlertState): MetricAlert

Get an existing MetricAlert resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

method getProvider

getProvider(moduleMember: string): ProviderResource | undefined

method isInstance

static isInstance(obj: any): boolean

Returns true if the given object is an instance of CustomResource. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.

property actions

public actions: pulumi.Output<{ ... }[] | undefined>;

property autoMitigate

public autoMitigate: pulumi.Output<boolean | undefined>;

property criterias

public criterias: pulumi.Output<{ ... }[]>;

property description

public description: pulumi.Output<string | undefined>;

property enabled

public enabled: pulumi.Output<boolean | undefined>;

property frequency

public frequency: pulumi.Output<string | undefined>;

property id

id: Output<ID>;

id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.

property name

public name: pulumi.Output<string>;

property resourceGroupName

public resourceGroupName: pulumi.Output<string>;

property scopes

public scopes: pulumi.Output<string>;

property severity

public severity: pulumi.Output<number | undefined>;

property tags

public tags: pulumi.Output<{ ... }>;

property urn

urn: Output<URN>;

urn is the stable logical URN used to distinctly address a resource, both before and after deployments.

property windowSize

public windowSize: pulumi.Output<string | undefined>;

function getDiagnosticCategories

getDiagnosticCategories(args: GetDiagnosticCategoriesArgs, opts?: pulumi.InvokeOptions): Promise<GetDiagnosticCategoriesResult>

Use this data source to access information about the Monitor Diagnostics Categories supported by an existing Resource.

function getLogProfile

getLogProfile(args: GetLogProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetLogProfileResult>

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

interface ActionGroupArgs

The set of arguments for constructing a ActionGroup resource.

property emailReceivers

emailReceivers?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more email_receiver blocks as defined below.

property enabled

enabled?: pulumi.Input<boolean>;

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

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property shortName

shortName: pulumi.Input<string>;

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

property smsReceivers

smsReceivers?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more sms_receiver blocks as defined below.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property webhookReceivers

webhookReceivers?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more webhook_receiver blocks as defined below.

interface ActionGroupState

Input properties used for looking up and filtering ActionGroup resources.

property emailReceivers

emailReceivers?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more email_receiver blocks as defined below.

property enabled

enabled?: pulumi.Input<boolean>;

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

property name

name?: pulumi.Input<string>;

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

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property shortName

shortName?: pulumi.Input<string>;

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

property smsReceivers

smsReceivers?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more sms_receiver blocks as defined below.

property tags

tags?: pulumi.Input<{ ... }>;

A mapping of tags to assign to the resource.

property webhookReceivers

webhookReceivers?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more webhook_receiver blocks as defined below.

interface ActivityLogAlertArgs

The set of arguments for constructing a ActivityLogAlert resource.

property actions

actions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property criteria

criteria: pulumi.Input<{ ... }>;

property description

description?: pulumi.Input<string>;

property enabled

enabled?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

property scopes

scopes: pulumi.Input<pulumi.Input<string>[]>;

property tags

tags?: pulumi.Input<{ ... }>;

interface ActivityLogAlertState

Input properties used for looking up and filtering ActivityLogAlert resources.

property actions

actions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property criteria

criteria?: pulumi.Input<{ ... }>;

property description

description?: pulumi.Input<string>;

property enabled

enabled?: pulumi.Input<boolean>;

property name

name?: pulumi.Input<string>;

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

property scopes

scopes?: pulumi.Input<pulumi.Input<string>[]>;

property tags

tags?: pulumi.Input<{ ... }>;

interface AlertRuleArgs

The set of arguments for constructing a AlertRule resource.

property aggregation

aggregation: pulumi.Input<string>;

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

property description

description?: pulumi.Input<string>;

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

property emailAction

emailAction?: pulumi.Input<{ ... }>;

A email_action block as defined below.

property enabled

enabled?: pulumi.Input<boolean>;

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

property location

location: pulumi.Input<string>;

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

property metricName

metricName: pulumi.Input<string>;

The metric that defines what the rule monitors.

property name

name?: pulumi.Input<string>;

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

property operator

operator: pulumi.Input<string>;

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

property period

period: pulumi.Input<string>;

The period of time formatted in ISO 8601 duration format that is used to monitor the alert activity based on the threshold. The period must be between 5 minutes and 1 day.

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

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

property resourceId

resourceId: pulumi.Input<string>;

The ID of the resource monitored by the alert rule.

property tags

tags?: pulumi.Input<{ ... }>;

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

property threshold

threshold: pulumi.Input<number>;

The threshold value that activates the alert.

property webhookAction

webhookAction?: pulumi.Input<{ ... }>;

A webhook_action block as defined below.

interface AlertRuleState

Input properties used for looking up and filtering AlertRule resources.

property aggregation

aggregation?: pulumi.Input<string>;

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

property description

description?: pulumi.Input<string>;

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

property emailAction

emailAction?: pulumi.Input<{ ... }>;

A email_action block as defined below.

property enabled

enabled?: pulumi.Input<boolean>;

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

property location

location?: pulumi.Input<string>;

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

property metricName

metricName?: pulumi.Input<string>;

The metric that defines what the rule monitors.

property name

name?: pulumi.Input<string>;

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

property operator

operator?: pulumi.Input<string>;

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

property period

period?: pulumi.Input<string>;

The period of time formatted in ISO 8601 duration format that is used to monitor the alert activity based on the threshold. The period must be between 5 minutes and 1 day.

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

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

property resourceId

resourceId?: pulumi.Input<string>;

The ID of the resource monitored by the alert rule.

property tags

tags?: pulumi.Input<{ ... }>;

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

property threshold

threshold?: pulumi.Input<number>;

The threshold value that activates the alert.

property webhookAction

webhookAction?: pulumi.Input<{ ... }>;

A webhook_action block as defined below.

interface DiagnosticSettingArgs

The set of arguments for constructing a DiagnosticSetting resource.

property eventhubAuthorizationRuleId

eventhubAuthorizationRuleId?: pulumi.Input<string>;

property eventhubName

eventhubName?: pulumi.Input<string>;

property logAnalyticsWorkspaceId

logAnalyticsWorkspaceId?: pulumi.Input<string>;

Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent. Changing this forces a new resource to be created.

property logs

logs?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more log blocks as defined below.

property metrics

metrics?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more metric blocks as defined below.

property name

name?: pulumi.Input<string>;

Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created.

property storageAccountId

storageAccountId?: pulumi.Input<string>;

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.

property targetResourceId

targetResourceId: pulumi.Input<string>;

interface DiagnosticSettingState

Input properties used for looking up and filtering DiagnosticSetting resources.

property eventhubAuthorizationRuleId

eventhubAuthorizationRuleId?: pulumi.Input<string>;

property eventhubName

eventhubName?: pulumi.Input<string>;

property logAnalyticsWorkspaceId

logAnalyticsWorkspaceId?: pulumi.Input<string>;

Specifies the ID of a Log Analytics Workspace where Diagnostics Data should be sent. Changing this forces a new resource to be created.

property logs

logs?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more log blocks as defined below.

property metrics

metrics?: pulumi.Input<pulumi.Input<{ ... }>[]>;

One or more metric blocks as defined below.

property name

name?: pulumi.Input<string>;

Specifies the name of the Diagnostic Setting. Changing this forces a new resource to be created.

property storageAccountId

storageAccountId?: pulumi.Input<string>;

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.

property targetResourceId

targetResourceId?: pulumi.Input<string>;

interface GetDiagnosticCategoriesArgs

A collection of arguments for invoking getDiagnosticCategories.

property resourceId

resourceId: string;

The ID of an existing Resource which Monitor Diagnostics Categories should be retrieved for.

interface GetDiagnosticCategoriesResult

A collection of values returned by getDiagnosticCategories.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property logs

logs: string[];

A list of the Log Categories supported for this Resource.

property metrics

metrics: string[];

A list of the Metric Categories supported for this Resource.

interface GetLogProfileArgs

A collection of arguments for invoking getLogProfile.

property name

name: string;

Specifies the Name of the Log Profile.

interface GetLogProfileResult

A collection of values returned by getLogProfile.

property categories

categories: string[];

List of categories of the logs.

property id

id: string;

id is the provider-assigned unique ID for this managed resource.

property locations

locations: string[];

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

property retentionPolicy

retentionPolicy: { ... };

property servicebusRuleId

servicebusRuleId: string;

The service bus (or event hub) rule ID of the service bus (or event hub) namespace in which the Activity Log is streamed to.

property storageAccountId

storageAccountId: string;

The resource id of the storage account in which the Activity Log is stored.

interface LogProfileArgs

The set of arguments for constructing a LogProfile resource.

property categories

categories: pulumi.Input<pulumi.Input<string>[]>;

List of categories of the logs.

property locations

locations: pulumi.Input<pulumi.Input<string>[]>;

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

property name

name?: pulumi.Input<string>;

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

property retentionPolicy

retentionPolicy: pulumi.Input<{ ... }>;

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

property servicebusRuleId

servicebusRuleId?: pulumi.Input<string>;

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.

property storageAccountId

storageAccountId?: pulumi.Input<string>;

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.

interface LogProfileState

Input properties used for looking up and filtering LogProfile resources.

property categories

categories?: pulumi.Input<pulumi.Input<string>[]>;

List of categories of the logs.

property locations

locations?: pulumi.Input<pulumi.Input<string>[]>;

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

property name

name?: pulumi.Input<string>;

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

property retentionPolicy

retentionPolicy?: pulumi.Input<{ ... }>;

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

property servicebusRuleId

servicebusRuleId?: pulumi.Input<string>;

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.

property storageAccountId

storageAccountId?: pulumi.Input<string>;

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.

interface MetricAlertArgs

The set of arguments for constructing a MetricAlert resource.

property actions

actions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property autoMitigate

autoMitigate?: pulumi.Input<boolean>;

property criterias

criterias: pulumi.Input<pulumi.Input<{ ... }>[]>;

property description

description?: pulumi.Input<string>;

property enabled

enabled?: pulumi.Input<boolean>;

property frequency

frequency?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property resourceGroupName

resourceGroupName: pulumi.Input<string>;

property scopes

scopes: pulumi.Input<string>;

property severity

severity?: pulumi.Input<number>;

property tags

tags?: pulumi.Input<{ ... }>;

property windowSize

windowSize?: pulumi.Input<string>;

interface MetricAlertState

Input properties used for looking up and filtering MetricAlert resources.

property actions

actions?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property autoMitigate

autoMitigate?: pulumi.Input<boolean>;

property criterias

criterias?: pulumi.Input<pulumi.Input<{ ... }>[]>;

property description

description?: pulumi.Input<string>;

property enabled

enabled?: pulumi.Input<boolean>;

property frequency

frequency?: pulumi.Input<string>;

property name

name?: pulumi.Input<string>;

property resourceGroupName

resourceGroupName?: pulumi.Input<string>;

property scopes

scopes?: pulumi.Input<string>;

property severity

severity?: pulumi.Input<number>;

property tags

tags?: pulumi.Input<{ ... }>;

property windowSize

windowSize?: pulumi.Input<string>;