Partager via


ArmDeploymentResource.RemoveTag(String, CancellationToken) Méthode

Définition

Supprime une balise par clé de la ressource.

  • Chemin de la demande/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
  • IdDeployments_GetAtScope d’opération
public virtual Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Resources.ArmDeploymentResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of ArmDeploymentResource)

Paramètres

key
String

Clé de la balise.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

key a la valeur null.

S’applique à