Compartir a través de


CustomLocationResource.RemoveTag(String, CancellationToken) Método

Definición

Quita una etiqueta por clave del recurso. Ruta de acceso de solicitud: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName} Identificador de operación: CustomLocations_Get

public virtual Azure.Response<Azure.ResourceManager.ExtendedLocation.CustomLocationResource> RemoveTag (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ExtendedLocation.CustomLocationResource>
override this.RemoveTag : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ExtendedLocation.CustomLocationResource>
Public Overridable Function RemoveTag (key As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CustomLocationResource)

Parámetros

key
String

Clave de la etiqueta.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

key es null.

Se aplica a