Compartilhar via


AlertRuleResource.RemoveTagAsync(String, CancellationToken) Método

Definição

Remove uma marca por chave do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Insights/alertrules/{ruleName}
  • Operação IdAlertRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource>> RemoveTagAsync (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource>>
override this.RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.AlertRuleResource>>
Public Overridable Function RemoveTagAsync (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AlertRuleResource))

Parâmetros

key
String

A chave para a marca.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

key é nulo.

Aplica-se a