Compartir a través de


MetricAlertResource.RemoveTag(String, CancellationToken) Método

Definición

Quita una etiqueta por clave del recurso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/metricAlerts/{ruleName}
  • IdMetricAlerts_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.Monitor.MetricAlertResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MetricAlertResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MetricAlertResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MetricAlertResource)

Parámetros

key
String

Clave de la etiqueta.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

key es null.

Se aplica a