共用方式為


AssignmentsOperationsExtensions.ListAsync 方法

定義

列出訂用帳戶或管理群組內的藍圖指派。

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Blueprint.Models.Assignment>> ListAsync (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string resourceScope, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Blueprint.IAssignmentsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Blueprint.Models.Assignment>>
<Extension()>
Public Function ListAsync (operations As IAssignmentsOperations, resourceScope As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of Assignment))

參數

operations
IAssignmentsOperations

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

resourceScope
String

資源的範圍。 有效範圍包括:管理群組 (格式:'/providers/Microsoft.Management/managementGroups/{managementGroup}') 、訂用帳戶 (格式:'/subscriptions/{subscriptionId}') 。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於