PrivateLinkResourceOperationsExtensions.GetAsync Method

Definition

Gets information about the specified private link resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PrivateLinkResource> GetAsync (this Microsoft.Azure.Management.Batch.IPrivateLinkResourceOperations operations, string resourceGroupName, string accountName, string privateLinkResourceName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Batch.IPrivateLinkResourceOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Batch.Models.PrivateLinkResource>
<Extension()>
Public Function GetAsync (operations As IPrivateLinkResourceOperations, resourceGroupName As String, accountName As String, privateLinkResourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PrivateLinkResource)

Parameters

operations
IPrivateLinkResourceOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the Batch account.

accountName
String

The name of the Batch account.

privateLinkResourceName
String

The private link resource name. This must be unique within the account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to