你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

CollectorPolicyResource.Update(TagsObject, CancellationToken) 方法

定义

汇报指定的收集器策略标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetworkFunction/azureTrafficCollectors/{azureTrafficCollectorName}/collectorPolicies/{collectorPolicyName}
  • 操作IdCollectorPolicies_UpdateTags
public virtual Azure.Response<Azure.ResourceManager.NetworkFunction.CollectorPolicyResource> Update (Azure.ResourceManager.NetworkFunction.Models.TagsObject tagsObject, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.NetworkFunction.Models.TagsObject * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkFunction.CollectorPolicyResource>
override this.Update : Azure.ResourceManager.NetworkFunction.Models.TagsObject * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.NetworkFunction.CollectorPolicyResource>
Public Overridable Function Update (tagsObject As TagsObject, Optional cancellationToken As CancellationToken = Nothing) As Response(Of CollectorPolicyResource)

参数

tagsObject
TagsObject

提供用于更新收集器策略标记的参数。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

tagsObject 为 null。

适用于