Freigeben über


OperationalInsightsWorkspaceResource.RemoveTag Methode

Definition

Entfernt ein Tag nach Schlüssel aus der Ressource.

  • Anforderungspfad/abonnements/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}
  • Vorgangs-IdWorkspaces_Get
public virtual Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.OperationalInsights.OperationalInsightsWorkspaceResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of OperationalInsightsWorkspaceResource)

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: