Partilhar via


MonitorPrivateLinkScopeResource.UpdateAsync Método

Definição

Atualizações as marcas de um PrivateLinkScope existente. Para atualizar outros campos, use o método CreateOrUpdate.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/privateLinkScopes/{scopeName}
  • IdPrivateLinkScopes_UpdateTags de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>> UpdateAsync (Azure.ResourceManager.Monitor.Models.MonitorPrivateLinkScopePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Monitor.Models.MonitorPrivateLinkScopePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>>
override this.UpdateAsync : Azure.ResourceManager.Monitor.Models.MonitorPrivateLinkScopePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Monitor.MonitorPrivateLinkScopeResource>>
Public Overridable Function UpdateAsync (patch As MonitorPrivateLinkScopePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MonitorPrivateLinkScopeResource))

Parâmetros

patch
MonitorPrivateLinkScopePatch

Informações de marca atualizadas para definir na instância PrivateLinkScope.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a