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