Partager via


SnapshotResource.RemoveTag(String, CancellationToken) Méthode

Définition

Supprime une balise par clé de la ressource.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
  • IdSnapshots_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.Compute.SnapshotResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.SnapshotResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Compute.SnapshotResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SnapshotResource)

Paramètres

key
String

Clé de la balise.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

key a la valeur null.

S’applique à