@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
83 lines • 4.47 kB
TypeScript
import { type Allotment } from '@microsoft/msgraph-beta-sdk/models/cloudLicensing/index.js';
import { type AssignmentsRequestBuilder } from './assignments/index.js';
import { type WaitingMembersRequestBuilder } from './waitingMembers/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity.
*/
export interface AllotmentItemRequestBuilder extends BaseRequestBuilder<AllotmentItemRequestBuilder> {
/**
* Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.allotment entity.
*/
get assignments(): AssignmentsRequestBuilder;
/**
* Provides operations to manage the waitingMembers property of the microsoft.graph.cloudLicensing.allotment entity.
*/
get waitingMembers(): WaitingMembersRequestBuilder;
/**
* Delete navigation property allotments for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* The set of all allotments within the organization. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Allotment>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
get(requestConfiguration?: RequestConfiguration<AllotmentItemRequestBuilderGetQueryParameters> | undefined): Promise<Allotment | undefined>;
/**
* Update the navigation property allotments in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Allotment>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: Allotment, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Allotment | undefined>;
/**
* Delete navigation property allotments for admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* The set of all allotments within the organization. Read-only.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AllotmentItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property allotments in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toPatchRequestInformation(body: Allotment, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* The set of all allotments within the organization. Read-only.
*/
export interface AllotmentItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const AllotmentItemRequestBuilderUriTemplate = "{+baseurl}/admin/cloudLicensing/allotments/{allotment%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const AllotmentItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AllotmentItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const AllotmentItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map