Dela via


PrivateLinkResourceOperationsExtensions.GetAsync Metod

Definition

Hämtar information om den angivna private link-resursen.

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)

Parametrar

operations
IPrivateLinkResourceOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på resursgruppen som innehåller Batch-kontot.

accountName
String

Namnet på Batch-kontot.

privateLinkResourceName
String

Resursnamnet för den privata länken. Detta måste vara unikt i kontot.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för