Freigeben über


P2SVpnGatewayResource.RemoveTag(String, CancellationToken) Methode

Definition

Entfernt ein Tag nach Schlüssel aus der Ressource.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}
  • Vorgang IdP2sVpnGateways_Get
public virtual Azure.Response<Azure.ResourceManager.Network.P2SVpnGatewayResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.P2SVpnGatewayResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.P2SVpnGatewayResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of P2SVpnGatewayResource)

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: