AssignmentsOperationsExtensions.ListAsync Method

Definition

List blueprint assignments within a subscription or a management group.

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

Parameters

operations
IAssignmentsOperations

The operations group for this extension method.

resourceScope
String

The scope of the resource. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}').

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to