UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
83 lines 4.54 kB
import { type IncidentTask } from '@microsoft/msgraph-beta-sdk/models/security/index.js'; import { type IncidentRequestBuilder } from './incident/index.js'; import { type MicrosoftGraphSecurityExecuteResponseActionRequestBuilder } from './microsoftGraphSecurityExecuteResponseAction/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the incidentTasks property of the microsoft.graph.security entity. */ export interface IncidentTaskItemRequestBuilder extends BaseRequestBuilder<IncidentTaskItemRequestBuilder> { /** * Provides operations to manage the incident property of the microsoft.graph.security.incidentTask entity. */ get incident(): IncidentRequestBuilder; /** * Provides operations to call the executeResponseAction method. */ get microsoftGraphSecurityExecuteResponseAction(): MicrosoftGraphSecurityExecuteResponseActionRequestBuilder; /** * Delete navigation property incidentTasks 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>; /** * A collection of tasks associated with security incidents. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<IncidentTask>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<IncidentTaskItemRequestBuilderGetQueryParameters> | undefined): Promise<IncidentTask | undefined>; /** * Update the navigation property incidentTasks in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<IncidentTask>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: IncidentTask, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<IncidentTask | undefined>; /** * Delete navigation property incidentTasks for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A collection of tasks associated with security incidents. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<IncidentTaskItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property incidentTasks 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: IncidentTask, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A collection of tasks associated with security incidents. */ export interface IncidentTaskItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const IncidentTaskItemRequestBuilderUriTemplate = "{+baseurl}/security/incidentTasks/{incidentTask%2Did}{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const IncidentTaskItemRequestBuilderNavigationMetadata: Record<Exclude<keyof IncidentTaskItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const IncidentTaskItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map