Share via


ServicePrincipalsOperationsExtensions.GetAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6.Models.ServicePrincipal> GetAsync (this Microsoft.Azure.Graph.RBAC.Version1_6.IServicePrincipalsOperations operations, string objectId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Graph.RBAC.Version1_6.IServicePrincipalsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6.Models.ServicePrincipal>
<Extension()>
Public Function GetAsync (operations As IServicePrincipalsOperations, objectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipal)

Parameters

objectId
String
cancellationToken
CancellationToken

Returns

Applies to