Partilhar via


DevCenterExtensions.GetDevCenterNetworkConnectionAsync Método

Definição

Obtém um recurso de conexão de rede

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevCenter/networkConnections/{networkConnectionName}
  • IdNetworkConnections_Get de operação
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterNetworkConnectionResource>> GetDevCenterNetworkConnectionAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetDevCenterNetworkConnectionAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DevCenter.DevCenterNetworkConnectionResource>>
<Extension()>
Public Function GetDevCenterNetworkConnectionAsync (resourceGroupResource As ResourceGroupResource, networkConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DevCenterNetworkConnectionResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

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

networkConnectionName
String

Nome da Conexão de Rede que pode ser aplicada a um pool.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

networkConnectionName é nulo.

Aplica-se a