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

PartnerTopicResource.Update(PartnerTopicPatch, CancellationToken) 方法

定义

使用指定的参数异步更新合作伙伴主题。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerTopics/{partnerTopicName}
  • 操作IdPartnerTopics_Update
public virtual Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource> Update (Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>
override this.Update : Azure.ResourceManager.EventGrid.Models.PartnerTopicPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.EventGrid.PartnerTopicResource>
Public Overridable Function Update (patch As PartnerTopicPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PartnerTopicResource)

参数

patch
PartnerTopicPatch

PartnerTopic 更新信息。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

patch 为 null。

适用于