Compartir a través de


CosmosDBSqlContainerResource.RemoveTagAsync(String, CancellationToken) Método

Definición

Quita una etiqueta por clave del recurso.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/sqlDatabases/{databaseName}/containers/{containerName}
  • IdSqlResources_GetSqlContainer de operación
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlContainerResource>> RemoveTagAsync (string key, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlContainerResource>>
override this.RemoveTagAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.CosmosDB.CosmosDBSqlContainerResource>>
Public Overridable Function RemoveTagAsync (key As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CosmosDBSqlContainerResource))

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