Compartilhar via


ScVmmVirtualNetworkCollection.GetAsync(String, CancellationToken) Método

Definição

Implementa o método VIRTUALNetwork GET.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ScVmm/virtualNetworks/{virtualNetworkName}
  • Operação IdVirtualNetworks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ArcScVmm.ScVmmVirtualNetworkResource>> GetAsync (string virtualNetworkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ArcScVmm.ScVmmVirtualNetworkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ArcScVmm.ScVmmVirtualNetworkResource>>
Public Overridable Function GetAsync (virtualNetworkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ScVmmVirtualNetworkResource))

Parâmetros

virtualNetworkName
String

Nome da VirtualNetwork.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

virtualNetworkName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

virtualNetworkName é nulo.

Aplica-se a