PrivateLinkServicesOperations.GetPrivateEndpointConnectionAsync(String, String, String, String, CancellationToken) Method

Definition

Get the specific private end point connection by specific private link service in the resource group.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.PrivateEndpointConnection>> GetPrivateEndpointConnectionAsync (string resourceGroupName, string serviceName, string peConnectionName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPrivateEndpointConnectionAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.PrivateEndpointConnection>>
override this.GetPrivateEndpointConnectionAsync : string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.Models.PrivateEndpointConnection>>
Public Overridable Function GetPrivateEndpointConnectionAsync (resourceGroupName As String, serviceName As String, peConnectionName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of PrivateEndpointConnection))

Parameters

resourceGroupName
System.String

The name of the resource group.

serviceName
System.String

The name of the private link service.

peConnectionName
System.String

The name of the private end point connection.

expand
System.String

Expands referenced resources.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<PrivateEndpointConnection>>

Applies to