Freigeben über


CommitmentPlanResource.RemoveTag(String, CancellationToken) Methode

Definition

Entfernt ein Tag nach Schlüssel aus der Ressource.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/commitmentPlans/{commitmentPlanName}
  • Vorgang IdCommitmentPlans_Get
public virtual Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.CognitiveServices.CommitmentPlanResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CommitmentPlanResource)

Parameter

key
String

Der Schlüssel für das Tag.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

key ist NULL.

Gilt für: