Share via


PrivateEndpointConnectionOperationsExtensions.GetPrivateLinkResourceAsync Method

Definition

Description for Gets the private link resources

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

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.

privateLinkSubResourceName
String

Name of the private link resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to