UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
43 lines 2.24 kB
import { type DirectoryObject } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the assignedTo property of the microsoft.graph.cloudLicensing.assignmentError entity. */ export interface AssignedToRequestBuilder extends BaseRequestBuilder<AssignedToRequestBuilder> { /** * Get a user or group object for a given assignmentError to which licenses are assigned. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<DirectoryObject>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/cloudlicensing-assignmenterror-get-assignedto?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<AssignedToRequestBuilderGetQueryParameters> | undefined): Promise<DirectoryObject | undefined>; /** * Get a user or group object for a given assignmentError to which licenses are assigned. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AssignedToRequestBuilderGetQueryParameters> | undefined): RequestInformation; } /** * Get a user or group object for a given assignmentError to which licenses are assigned. */ export interface AssignedToRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AssignedToRequestBuilderUriTemplate = "{+baseurl}/admin/cloudLicensing/assignmentErrors/{assignmentError%2Did}/assignedTo{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const AssignedToRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map