Partager via


CognitiveServicesCommitmentPlanResource.RemoveTagAsync Méthode

Définition

Supprime une balise par clé de la ressource.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/commitmentPlans/{commitmentPlanName}
  • IdCommitmentPlans_GetPlan d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesCommitmentPlanResource>> RemoveTagAsync (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesCommitmentPlanResource>>
override this.RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CognitiveServices.CognitiveServicesCommitmentPlanResource>>
Public Overridable Function RemoveTagAsync (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CognitiveServicesCommitmentPlanResource))

Paramètres

key
String

Clé de la balise.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

key a la valeur null.

S’applique à