Share via


PrivateEndpointConnectionsOperationsExtensions.GetAsync Method

Definition

Gets a description for the specified Private Endpoint Connection name. https://msdn.microsoft.com/en-us/library/azure/mt639379.aspx

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection> GetAsync (this Microsoft.Azure.Management.EventHub.IPrivateEndpointConnectionsOperations operations, string resourceGroupName, string namespaceName, string privateEndpointConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.EventHub.IPrivateEndpointConnectionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventHub.Models.PrivateEndpointConnection>
<Extension()>
Public Function GetAsync (operations As IPrivateEndpointConnectionsOperations, resourceGroupName As String, namespaceName As String, privateEndpointConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateEndpointConnection)

Parameters

operations
IPrivateEndpointConnectionsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group within the azure subscription.

namespaceName
String

The Namespace name

privateEndpointConnectionName
String

The PrivateEndpointConnection name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to