Partilhar via


VirtualMachineResource.RemoveTagAsync(String, CancellationToken) Método

Definição

Remove uma marca por chave do recurso.

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

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