Compartilhar via


CollectorPolicyResource.UpdateAsync(TagsObject, CancellationToken) Método

Definição

Atualizações as marcas de Política de Coletor especificadas.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}
  • Operação IdCollectorPolicies_UpdateTags
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkFunction.CollectorPolicyResource>> UpdateAsync (Azure.ResourceManager.NetworkFunction.Models.TagsObject tagsObject, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.NetworkFunction.Models.TagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkFunction.CollectorPolicyResource>>
override this.UpdateAsync : Azure.ResourceManager.NetworkFunction.Models.TagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.NetworkFunction.CollectorPolicyResource>>
Public Overridable Function UpdateAsync (tagsObject As TagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CollectorPolicyResource))

Parâmetros

tagsObject
TagsObject

Parâmetros fornecidos para atualizar marcas de Política de Coletor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

tagsObject é nulo.

Aplica-se a