Freigeben über


AlertRuleResource.Get(CancellationToken) Methode

Definition

Ruft eine klassische Metrikwarnungsregel ab.

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

Parameter

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: