UNPKG

@microsoft/msgraph-beta-sdk-devicemanagement

Version:
79 lines 4.57 kB
import { type AlertRecord } from '@microsoft/msgraph-beta-sdk/models/deviceManagement/index.js'; import { type MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder } from './microsoftGraphDeviceManagementSetPortalNotificationAsSent/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the alertRecords property of the microsoft.graph.deviceManagement.monitoring entity. */ export interface AlertRecordItemRequestBuilder extends BaseRequestBuilder<AlertRecordItemRequestBuilder> { /** * Provides operations to call the setPortalNotificationAsSent method. */ get microsoftGraphDeviceManagementSetPortalNotificationAsSent(): MicrosoftGraphDeviceManagementSetPortalNotificationAsSentRequestBuilder; /** * Delete navigation property alertRecords 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>; /** * Read the properties and relationships of an alertRecord object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AlertRecord>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/devicemanagement-alertrecord-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<AlertRecordItemRequestBuilderGetQueryParameters> | undefined): Promise<AlertRecord | undefined>; /** * Update the navigation property alertRecords in deviceManagement * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<AlertRecord>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: AlertRecord, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<AlertRecord | undefined>; /** * Delete navigation property alertRecords for deviceManagement * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Read the properties and relationships of an alertRecord object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<AlertRecordItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property alertRecords 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: AlertRecord, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of an alertRecord object. */ export interface AlertRecordItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const AlertRecordItemRequestBuilderUriTemplate = "{+baseurl}/deviceManagement/monitoring/alertRecords/{alertRecord%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const AlertRecordItemRequestBuilderNavigationMetadata: Record<Exclude<keyof AlertRecordItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const AlertRecordItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map