UNPKG

@microsoft/msgraph-beta-sdk-admin

Version:
81 lines 5.16 kB
import { type ConfigurationMonitor } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BaselineRequestBuilder } from './baseline/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the configurationMonitors property of the microsoft.graph.configurationManagement entity. */ export interface ConfigurationMonitorItemRequestBuilder extends BaseRequestBuilder<ConfigurationMonitorItemRequestBuilder> { /** * Provides operations to manage the baseline property of the microsoft.graph.configurationMonitor entity. */ get baseline(): BaselineRequestBuilder; /** * Delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. * @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 * @see {@link https://learn.microsoft.com/graph/api/configurationmonitor-delete?view=graph-rest-beta|Find more info here} */ delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>; /** * Get the properties and relationships of a configurationMonitor object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ConfigurationMonitor>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/configurationmonitor-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<ConfigurationMonitorItemRequestBuilderGetQueryParameters> | undefined): Promise<ConfigurationMonitor | undefined>; /** * Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<ConfigurationMonitor>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/configurationmonitor-update?view=graph-rest-beta|Find more info here} */ patch(body: ConfigurationMonitor, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ConfigurationMonitor | undefined>; /** * Delete a configurationMonitor object permanently. When deleted, the configurationMonitor data can't be restored. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get the properties and relationships of a configurationMonitor object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<ConfigurationMonitorItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the properties of a configurationMonitor object, including the monitor name, description, and baseline. You must provide the full monitor body when you call this API. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: ConfigurationMonitor, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get the properties and relationships of a configurationMonitor object. */ export interface ConfigurationMonitorItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const ConfigurationMonitorItemRequestBuilderUriTemplate = "{+baseurl}/admin/configurationManagement/configurationMonitors/{configurationMonitor%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const ConfigurationMonitorItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ConfigurationMonitorItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const ConfigurationMonitorItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map