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

PeeringServiceResource.Update(PeeringServicePatch, CancellationToken) 方法

定义

汇报给定订阅和资源组下具有指定名称的对等互连服务的标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Peering/peeringServices/{peeringServiceName}
  • 操作IdPeeringServices_Update
public virtual Azure.Response<Azure.ResourceManager.Peering.PeeringServiceResource> Update (Azure.ResourceManager.Peering.Models.PeeringServicePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Peering.Models.PeeringServicePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.PeeringServiceResource>
override this.Update : Azure.ResourceManager.Peering.Models.PeeringServicePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Peering.PeeringServiceResource>
Public Overridable Function Update (patch As PeeringServicePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PeeringServiceResource)

参数

patch
PeeringServicePatch

资源标记。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

patch 为 null。

适用于