Compartilhar via


GenericResource.RemoveTagAsync(String, CancellationToken) Método

Definição

Remove uma marca por chave do recurso.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.GenericResource>> RemoveTagAsync (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.GenericResource>>
override this.RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Resources.GenericResource>>
Public Overridable Function RemoveTagAsync (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GenericResource))

Parâmetros

key
String

A chave da marca a ser removida.

cancellationToken
CancellationToken

Um token para permitir que o chamador cancele a chamada para o serviço. O valor padrão é None.

Retornos

O recurso atualizado com a marca removida.

Aplica-se a