Dela via


ManagementGroupAssignmentsExtentions.GetInManagementGroupAsync Metod

Definition

Hämtar en skisstilldelning i en hanteringsgrupp.

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)

Parametrar

operations
IAssignmentsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

managementGroupName
String

Namnet på hanteringsgruppen där tilldelningen sparas.

assignmentName
String

Namnet på tilldelningen.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för