UNPKG

@microsoft/msgraph-sdk-security

Version:
78 lines 4.02 kB
import { type TriggersRoot } from '@microsoft/msgraph-sdk/models/security/index.js'; import { type RetentionEventsRequestBuilder } from './retentionEvents/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the triggers property of the microsoft.graph.security entity. */ export interface TriggersRequestBuilder extends BaseRequestBuilder<TriggersRequestBuilder> { /** * Provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity. */ get retentionEvents(): RetentionEventsRequestBuilder; /** * Delete navigation property triggers for security * @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>; /** * Get triggers from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<TriggersRoot>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<TriggersRequestBuilderGetQueryParameters> | undefined): Promise<TriggersRoot | undefined>; /** * Update the navigation property triggers in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<TriggersRoot>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: TriggersRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TriggersRoot | undefined>; /** * Delete navigation property triggers for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get triggers from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<TriggersRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property triggers in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: TriggersRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get triggers from security */ export interface TriggersRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const TriggersRequestBuilderUriTemplate = "{+baseurl}/security/triggers{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const TriggersRequestBuilderNavigationMetadata: Record<Exclude<keyof TriggersRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const TriggersRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map