Partager via


VirtualMachineTemplateResource.RemoveTag(String, CancellationToken) Méthode

Définition

Supprime une balise par clé de la ressource.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • IdVirtualMachineTemplates_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualMachineTemplateResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualMachineTemplateResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ConnectedVMwarevSphere.VirtualMachineTemplateResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of VirtualMachineTemplateResource)

Paramètres

key
String

Clé de la balise.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

key a la valeur null.

S’applique à