Partilhar via


VirtualNetworkResource.Update(ResourcePatch, CancellationToken) Método

Definição

API para atualizar determinadas propriedades do recurso de rede virtual.

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

Parâmetros

patch
ResourcePatch

Propriedades de recurso a serem atualizadas.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a