@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
83 lines • 4.47 kB
TypeScript
import { type WaitingMemberCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/cloudLicensing/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type WaitingMemberItemRequestBuilder } from './item/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity.
*/
export interface WaitingMembersRequestBuilder extends BaseRequestBuilder<WaitingMembersRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity.
* @param waitingMemberId The unique identifier of waitingMember
* @returns {WaitingMemberItemRequestBuilder}
*/
byWaitingMemberId(waitingMemberId: string): WaitingMemberItemRequestBuilder;
/**
* Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<WaitingMemberCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/cloudlicensing-allotment-list-waitingmembers?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<WaitingMembersRequestBuilderGetQueryParameters> | undefined): Promise<WaitingMemberCollectionResponse | undefined>;
/**
* Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<WaitingMembersRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Get a list of over-assigned users who are in the waiting room due to license capacity limits. Use /admin/cloudLicensing/allotments/{allotmentId}/waitingMembers to retrieve all waitingMember objects for a specific allotment. Use /users/{userId}/cloudLicensing/waitingMembers to retrieve all allotments that a specific user is waiting for.
*/
export interface WaitingMembersRequestBuilderGetQueryParameters {
/**
* Include count of items
*/
count?: boolean;
/**
* Expand related entities
*/
expand?: string[];
/**
* Filter items by property values
*/
filter?: string;
/**
* Order items by property values
*/
orderby?: string[];
/**
* Search items by search phrases
*/
search?: string;
/**
* Select properties to be returned
*/
select?: string[];
/**
* Skip the first n items
*/
skip?: number;
/**
* Show only the first n items
*/
top?: number;
}
/**
* Uri template for the request builder.
*/
export declare const WaitingMembersRequestBuilderUriTemplate = "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}/waitingMembers{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const WaitingMembersRequestBuilderNavigationMetadata: Record<Exclude<keyof WaitingMembersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const WaitingMembersRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map