Udostępnij za pośrednictwem


ApplicationsOperationsExtensions.ListKeyCredentialsAsync Method

Definition

Get the keyCredentials associated with an application.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Graph.RBAC.Models.KeyCredential>> ListKeyCredentialsAsync (this Microsoft.Azure.Graph.RBAC.IApplicationsOperations operations, string applicationObjectId, System.Threading.CancellationToken cancellationToken = default);
static member ListKeyCredentialsAsync : Microsoft.Azure.Graph.RBAC.IApplicationsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Graph.RBAC.Models.KeyCredential>>
<Extension()>
Public Function ListKeyCredentialsAsync (operations As IApplicationsOperations, applicationObjectId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of KeyCredential))

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

applicationObjectId
String

Application object ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to