共用方式為


PrivateLinkResourceOperationsExtensions.GetAsync 方法

定義

取得指定之私人連結資源的相關資訊。

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)

參數

operations
IPrivateLinkResourceOperations

這個擴充方法的作業群組。

resourceGroupName
String

包含 Batch 帳戶的資源組名。

accountName
String

Batch 帳戶的名稱。

privateLinkResourceName
String

私人連結資源名稱。 這在帳戶內必須是唯一的。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於