Udostępnij za pośrednictwem


AssignmentsOperationsExtensions.ListAsync Metoda

Definicja

Wyświetlanie listy przypisań strategii w ramach subskrypcji lub grupy zarządzania.

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))

Parametry

operations
IAssignmentsOperations

Grupa operacji dla tej metody rozszerzenia.

resourceScope
String

Zakres zasobu. Prawidłowe zakresy to: grupa zarządzania (format: "/providers/Microsoft.Management/managementGroups/{managementGroup}"), subskrypcja (format: "/subscriptions/{subscriptionId}").

cancellationToken
CancellationToken

Token anulowania.

Zwraca

Dotyczy