Partilhar via


DevTestLabVirtualNetworkResource.Update Método

Definição

Permite modificar marcas de redes virtuais. Todas as outras propriedades serão ignoradas.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
  • Operação IdVirtualNetworks_Update
public virtual Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVirtualNetworkResource> Update (Azure.ResourceManager.DevTestLabs.Models.DevTestLabVirtualNetworkPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabVirtualNetworkPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVirtualNetworkResource>
override this.Update : Azure.ResourceManager.DevTestLabs.Models.DevTestLabVirtualNetworkPatch * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.DevTestLabs.DevTestLabVirtualNetworkResource>
Public Overridable Function Update (patch As DevTestLabVirtualNetworkPatch, Optional cancellationToken As CancellationToken = Nothing) As Response(Of DevTestLabVirtualNetworkResource)

Parâmetros

patch
DevTestLabVirtualNetworkPatch

Uma rede virtual.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a