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

MonitorPrivateLinkScopeResource.Update 方法

定义

汇报现有 PrivateLinkScope 的标记。 若要更新其他字段,请使用 CreateOrUpdate 方法。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • 操作IdPrivateLinkScopes_UpdateTags
public virtual Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource> Update (Azure.ResourceManager.Monitor.Models.MonitorPrivateLinkScopePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.Monitor.Models.MonitorPrivateLinkScopePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
override this.Update : Azure.ResourceManager.Monitor.Models.MonitorPrivateLinkScopePatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>
Public Overridable Function Update (patch As MonitorPrivateLinkScopePatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MonitorPrivateLinkScopeResource)

参数

patch
MonitorPrivateLinkScopePatch

更新了要设置为 PrivateLinkScope 实例的标记信息。

cancellationToken
CancellationToken

要使用的取消标记。

返回

例外

patch 为 null。

适用于