Partilhar via


HybridComputePrivateLinkScopeResource.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.HybridCompute/privateLinkScopes/{scopeName}
  • IdPrivateLinkScopes_UpdateTags de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>> UpdateAsync (Azure.ResourceManager.HybridCompute.Models.HybridComputePrivateLinkScopePatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.HybridCompute.Models.HybridComputePrivateLinkScopePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>>
override this.UpdateAsync : Azure.ResourceManager.HybridCompute.Models.HybridComputePrivateLinkScopePatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.HybridCompute.HybridComputePrivateLinkScopeResource>>
Public Overridable Function UpdateAsync (patch As HybridComputePrivateLinkScopePatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HybridComputePrivateLinkScopeResource))

Parâmetros

patch
HybridComputePrivateLinkScopePatch

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