ServicePrincipalsImpl.GetByIdAsync(String, CancellationToken) Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal> GetByIdAsync (string id, System.Threading.CancellationToken cancellationToken = default);
abstract member GetByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>
override this.GetByIdAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>
Public Function GetByIdAsync (id As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IServicePrincipal)

Parameters

id
System.String
cancellationToken
System.Threading.CancellationToken

Returns

System.Threading.Tasks.Task<IServicePrincipal>

Implements

Applies to