Freigeben über


MetricAlertResource.Get(CancellationToken) Methode

Definition

Rufen Sie eine Warnungsregeldefinition ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}
  • Vorgang IdMetricAlerts_Get
public virtual Azure.Response<Azure.ResourceManager.Monitor.MetricAlertResource> Get (System.Threading.CancellationToken cancellationToken = default);
abstract member Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MetricAlertResource>
override this.Get : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MetricAlertResource>
Public Overridable Function Get (Optional cancellationToken As CancellationToken = Nothing) As Response(Of MetricAlertResource)

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: