Dela via


PrivateEndpointConnectionOperationsExtensions.GetByNameAsync Method

Definition

Gets the details of the Private Endpoint Connection specified by its identifier.

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

Parameters

operations
IPrivateEndpointConnectionOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceName
String

The name of the API Management service.

privateEndpointConnectionName
String

Name of the private endpoint connection.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to