UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
78 lines 4.5 kB
import { type WindowsProtectionState } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type DetectedMalwareStateRequestBuilder } from './detectedMalwareState/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the windowsProtectionState property of the microsoft.graph.managedDevice entity. */ export interface WindowsProtectionStateRequestBuilder extends BaseRequestBuilder<WindowsProtectionStateRequestBuilder> { /** * Provides operations to manage the detectedMalwareState property of the microsoft.graph.windowsProtectionState entity. */ get detectedMalwareState(): DetectedMalwareStateRequestBuilder; /** * Delete navigation property windowsProtectionState for deviceManagement * @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 device protection status. This property is read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<WindowsProtectionState>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<WindowsProtectionStateRequestBuilderGetQueryParameters> | undefined): Promise<WindowsProtectionState | undefined>; /** * Update the navigation property windowsProtectionState in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<WindowsProtectionState>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: WindowsProtectionState, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WindowsProtectionState | undefined>; /** * Delete navigation property windowsProtectionState for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * The device protection status. This property is read-only. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WindowsProtectionStateRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property windowsProtectionState in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: WindowsProtectionState, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The device protection status. This property is read-only. */ export interface WindowsProtectionStateRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const WindowsProtectionStateRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/comanagedDevices/{managedDevice%2Did}/windowsProtectionState{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const WindowsProtectionStateRequestBuilderNavigationMetadata: Record<Exclude<keyof WindowsProtectionStateRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const WindowsProtectionStateRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map