UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
88 lines 4.85 kB
import { type AdminCloudLicensing } from '@microsoft/msgraph-beta-sdk/models/cloudLicensing/index.js'; import { type AllotmentsRequestBuilder } from './allotments/index.js'; import { type AssignmentErrorsRequestBuilder } from './assignmentErrors/index.js'; import { type AssignmentsRequestBuilder } from './assignments/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the cloudLicensing property of the microsoft.graph.admin entity. */ export interface CloudLicensingRequestBuilder extends BaseRequestBuilder<CloudLicensingRequestBuilder> { /** * Provides operations to manage the allotments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. */ get allotments(): AllotmentsRequestBuilder; /** * Provides operations to manage the assignmentErrors property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. */ get assignmentErrors(): AssignmentErrorsRequestBuilder; /** * Provides operations to manage the assignments property of the microsoft.graph.cloudLicensing.adminCloudLicensing entity. */ get assignments(): AssignmentsRequestBuilder; /** * Delete navigation property cloudLicensing 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 root of the cloud licensing API for the entire organization. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdminCloudLicensing>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<CloudLicensingRequestBuilderGetQueryParameters> | undefined): Promise<AdminCloudLicensing | undefined>; /** * Update the navigation property cloudLicensing in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdminCloudLicensing>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: AdminCloudLicensing, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AdminCloudLicensing | undefined>; /** * Delete navigation property cloudLicensing 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 root of the cloud licensing API for the entire organization. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<CloudLicensingRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property cloudLicensing 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: AdminCloudLicensing, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The root of the cloud licensing API for the entire organization. Read-only. */ export interface CloudLicensingRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const CloudLicensingRequestBuilderUriTemplate = "{+baseurl}/admin/cloudLicensing{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const CloudLicensingRequestBuilderNavigationMetadata: Record<Exclude<keyof CloudLicensingRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const CloudLicensingRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map