다음을 통해 공유


RegistriesOperationsExtensions.GetPrivateLinkResourceAsync Method

Definition

Gets a private link resource by a specified group name for a container registry.

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

Parameters

operations
IRegistriesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group to which the container registry belongs.

registryName
String

The name of the container registry.

groupName
String

The name of the private link resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to