Partilhar via


ManagedDiskResource.RemoveTag(String, CancellationToken) Método

Definição

Remove uma marca por chave do recurso.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
  • Operação IdDisks_Get
public virtual Azure.Response<Azure.ResourceManager.Compute.ManagedDiskResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.ManagedDiskResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.ManagedDiskResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ManagedDiskResource)

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