Compartir a través de


AlertRuleResource.Get(CancellationToken) Método

Definición

Obtiene una regla de alertas de métrica clásica.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}
  • IdAlertRules_Get de operaciones
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)

Parámetros

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a