Compartilhar via


HybridContainerServiceExtensions.GetHybridContainerServiceVirtualNetwork Método

Definição

Obtém a rede virtual Híbrida do AKS

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridContainerService/virtualNetworks/{virtualNetworksName}
  • IdvirtualNetworks_Retrieve de operação
public static Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource> GetHybridContainerServiceVirtualNetwork (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string virtualNetworksName, System.Threading.CancellationToken cancellationToken = default);
static member GetHybridContainerServiceVirtualNetwork : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.HybridContainerService.HybridContainerServiceVirtualNetworkResource>
<Extension()>
Public Function GetHybridContainerServiceVirtualNetwork (resourceGroupResource As ResourceGroupResource, virtualNetworksName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of HybridContainerServiceVirtualNetworkResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

virtualNetworksName
String

Parâmetro para o nome da rede virtual.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

virtualNetworksName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

virtualNetworksName é nulo.

Aplica-se a