Condividi tramite


IPrivateEndpointConnectionOperations.GetWithHttpMessagesAsync Metodo

Definizione

Ottiene informazioni sulla connessione dell'endpoint privato specificato.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection>> GetWithHttpMessagesAsync(string resourceGroupName, string accountName, string privateEndpointConnectionName, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Batch.Models.PrivateEndpointConnection>>
Public Function GetWithHttpMessagesAsync (resourceGroupName As String, accountName As String, privateEndpointConnectionName As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of PrivateEndpointConnection))

Parametri

resourceGroupName
String

Nome del gruppo di risorse contenente l'account Batch.

accountName
String

Nome dell'account Batch.

privateEndpointConnectionName
String

Nome di connessione dell'endpoint privato. Questo deve essere univoco all'interno dell'account.

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

Generato quando l'operazione ha restituito un codice di stato non valido

Generato quando non è possibile deserializzare la risposta

Generato quando un parametro obbligatorio è Null

Si applica a