Share via


ManagementGroupAssignmentsExtentions.GetInManagementGroupAsync Method

Definition

Gets a Blueprint assignment in a management group.

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

Parameters

operations
IAssignmentsOperations

The operations group for this extension method.

managementGroupName
String

The name of the management group where the assignment is saved.

assignmentName
String

The name of the assignment.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to