UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
78 lines 4.56 kB
import { type WindowsMalwareInformation } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type DeviceMalwareStatesRequestBuilder } from './deviceMalwareStates/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the windowsMalwareInformation property of the microsoft.graph.deviceManagement entity. */ export interface WindowsMalwareInformationItemRequestBuilder extends BaseRequestBuilder<WindowsMalwareInformationItemRequestBuilder> { /** * Provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity. */ get deviceMalwareStates(): DeviceMalwareStatesRequestBuilder; /** * Delete navigation property windowsMalwareInformation 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 list of affected malware in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<WindowsMalwareInformation>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<WindowsMalwareInformationItemRequestBuilderGetQueryParameters> | undefined): Promise<WindowsMalwareInformation | undefined>; /** * Update the navigation property windowsMalwareInformation in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<WindowsMalwareInformation>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: WindowsMalwareInformation, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<WindowsMalwareInformation | undefined>; /** * Delete navigation property windowsMalwareInformation 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 list of affected malware in the tenant. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<WindowsMalwareInformationItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property windowsMalwareInformation 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: WindowsMalwareInformation, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * The list of affected malware in the tenant. */ export interface WindowsMalwareInformationItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const WindowsMalwareInformationItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/windowsMalwareInformation/{windowsMalwareInformation%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const WindowsMalwareInformationItemRequestBuilderNavigationMetadata: Record<Exclude<keyof WindowsMalwareInformationItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const WindowsMalwareInformationItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map