Udostępnij za pośrednictwem


MetricAlertsOperationsExtensions.Get Method

Definition

Retrieve an alert rule definition.

public static Microsoft.Azure.Management.Monitor.Models.MetricAlertResource Get (this Microsoft.Azure.Management.Monitor.IMetricAlertsOperations operations, string resourceGroupName, string ruleName);
static member Get : Microsoft.Azure.Management.Monitor.IMetricAlertsOperations * string * string -> Microsoft.Azure.Management.Monitor.Models.MetricAlertResource
<Extension()>
Public Function Get (operations As IMetricAlertsOperations, resourceGroupName As String, ruleName As String) As MetricAlertResource

Parameters

operations
IMetricAlertsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

ruleName
String

The name of the rule.

Returns

Applies to