Compartilhar via


VirtualHubResource.UpdateAsync(NetworkTagsObject, CancellationToken) Método

Definição

Atualizações marcas do VirtualHub.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}
  • IdVirtualHubs_UpdateTags de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualHubResource>> UpdateAsync (Azure.ResourceManager.Network.Models.NetworkTagsObject virtualHubParameters, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualHubResource>>
override this.UpdateAsync : Azure.ResourceManager.Network.Models.NetworkTagsObject * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.VirtualHubResource>>
Public Overridable Function UpdateAsync (virtualHubParameters As NetworkTagsObject, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of VirtualHubResource))

Parâmetros

virtualHubParameters
NetworkTagsObject

Parâmetros fornecidos para atualizar marcas do VirtualHub.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

virtualHubParameters é nulo.

Aplica-se a