RegistriesOperationsExtensions.GetPrivateLinkResourceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET