共用方式為


PrivateLinkResourceOperationsExtensions.ListByBatchAccountAsync 方法

定義

列出指定帳戶中的所有私人連結資源。

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

參數

operations
IPrivateLinkResourceOperations

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

resourceGroupName
String

包含 Batch 帳戶的資源組名。

accountName
String

Batch 帳戶的名稱。

maxresults
Nullable<Int32>

回應中要傳回的專案數目上限。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於