Sdílet prostřednictvím


ApplicationsOperationsExtensions.ListKeyCredentialsAsync Method

Definition

Get the keyCredentials associated with an application.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential>> ListKeyCredentialsAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations operations, string applicationObjectId, System.Threading.CancellationToken cancellationToken = default);
static member ListKeyCredentialsAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Graph.RBAC.Fluent.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