Partilhar via


ContainerAppResource.SetTagsAsync Método

Definição

Substitua as marcas no recurso pelo conjunto fornecido.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}
  • IdContainerApps_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppResource>> SetTagsAsync (System.Collections.Generic.IDictionary<string,string> tags, System.Threading.CancellationToken cancellationToken = default);
abstract member SetTagsAsync : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppResource>>
override this.SetTagsAsync : System.Collections.Generic.IDictionary<string, string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppResource>>
Public Overridable Function SetTagsAsync (tags As IDictionary(Of String, String), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppResource))

Parâmetros

tags
IDictionary<String,String>

O conjunto de marcas a serem usadas como substituição.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

tags é nulo.

Aplica-se a