Compartir a través de


AzureMonitor@0 - Query Classic Azure Monitor alerts v0 task

Observe the configured Azure monitor rules for active alerts.

Inputs

connectedServiceNameARM - Azure subscription
string. Required.

Selects an Azure Resource Manager subscription to monitor.


ResourceGroupName - Resource group
string. Required.

Provides the name of a resource group to monitor.


ResourceType - Resource type
string. Required. Allowed values: Microsoft.Insights/components (Application Insights), Microsoft.Web/sites (App Services), Microsoft.Storage/storageAccounts (Storage Account), Microsoft.Compute/virtualMachines (Virtual Machines). Default value: Microsoft.Insights/components.

Selects the Azure resource type to monitor.


resourceName - Resource name
string. Required.

Selects the name of the Azure resource to monitor.


alertRules - Alert rules
string. Required.

A list of Azure alert rules to monitor.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Server, ServerGate
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version All supported agent versions.
Task category Utility