UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
78 lines 4.07 kB
import { type AdminWindows } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type UpdatesRequestBuilder } from './updates/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the windows property of the microsoft.graph.admin entity. */ export interface WindowsRequestBuilder extends BaseRequestBuilder<WindowsRequestBuilder> { /** * Provides operations to manage the updates property of the microsoft.graph.adminWindows entity. */ get updates(): UpdatesRequestBuilder; /** * Delete navigation property windows 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>; /** * A container for all Windows administrator functionalities. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdminWindows>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<WindowsRequestBuilderGetQueryParameters> | undefined): Promise<AdminWindows | undefined>; /** * Update the navigation property windows in admin * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AdminWindows>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: AdminWindows, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AdminWindows | undefined>; /** * Delete navigation property windows for admin * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A container for all Windows administrator functionalities. Read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WindowsRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property windows 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: AdminWindows, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A container for all Windows administrator functionalities. Read-only. */ export interface WindowsRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const WindowsRequestBuilderUriTemplate = "{+baseurl}/admin/windows{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const WindowsRequestBuilderNavigationMetadata: Record<Exclude<keyof WindowsRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const WindowsRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map