Partilhar via


VirtualMachineExtensionResource.RemoveTagAsync Método

Definição

Remove uma marca por chave do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}
  • IdVirtualMachineExtensions_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.VirtualMachineExtensionResource>> RemoveTagAsync (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.VirtualMachineExtensionResource>>
override this.RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Compute.VirtualMachineExtensionResource>>
Public Overridable Function RemoveTagAsync (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualMachineExtensionResource))

Parâmetros

key
String

A chave da marca.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

key é nulo.

Aplica-se a