Compartir a través de


AlertRuleResource.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/alertrules/{ruleName}
  • IdAlertRules_Get de operaciones
public virtual Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of AlertRuleResource)

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