Share via


AssignmentsOperationsExtensions.GetAsync Method

Definition

Get a blueprint assignment.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment> GetAsync (this Microsoft.Azure.Management.Blueprint.IAssignmentsOperations operations, string resourceScope, string assignmentName, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Blueprint.IAssignmentsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Blueprint.Models.Assignment>
<Extension()>
Public Function GetAsync (operations As IAssignmentsOperations, resourceScope As String, assignmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(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}').

assignmentName
String

Name of the blueprint assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to