Share via


ObjectsOperationsExtensions.GetObjectsByObjectIdsAsync Method

Definition

Gets the directory objects specified in a list of object IDs. You can also specify which resource collections (users, groups, etc.) should be searched by specifying the optional types parameter.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DirectoryObject>> GetObjectsByObjectIdsAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IObjectsOperations operations, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GetObjectsParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member GetObjectsByObjectIdsAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IObjectsOperations * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.GetObjectsParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.DirectoryObject>>
<Extension()>
Public Function GetObjectsByObjectIdsAsync (operations As IObjectsOperations, parameters As GetObjectsParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DirectoryObject))

Parameters

operations
IObjectsOperations

The operations group for this extension method.

parameters
GetObjectsParameters

Objects filtering parameters.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to