@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
43 lines • 2.18 kB
TypeScript
import { type Allotment } from '@microsoft/msgraph-beta-sdk/models/cloudLicensing/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the allotment property of the microsoft.graph.cloudLicensing.assignment entity.
*/
export interface AllotmentRequestBuilder extends BaseRequestBuilder<AllotmentRequestBuilder> {
/**
* Get the allotment that is the source of the licenses used in the assignment.
* @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
* @see {@link https://learn.microsoft.com/graph/api/cloudlicensing-assignment-get-allotment?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<AllotmentRequestBuilderGetQueryParameters> | undefined): Promise<Allotment | undefined>;
/**
* Get the allotment that is the source of the licenses used in the assignment.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<AllotmentRequestBuilderGetQueryParameters> | undefined): RequestInformation;
}
/**
* Get the allotment that is the source of the licenses used in the assignment.
*/
export interface AllotmentRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const AllotmentRequestBuilderUriTemplate = "{+baseurl}/admin/cloudLicensing/assignments/{assignment%2Did}/allotment{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const AllotmentRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map