@microsoft/msgraph-sdk-security
Version:
Security fluent API for Microsoft Graph
71 lines • 4.04 kB
TypeScript
import { type RetentionEventType } from '@microsoft/msgraph-sdk/models/security/index.js';
import { type BaseRequestBuilder, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity.
*/
export interface RetentionEventTypeItemRequestBuilder extends BaseRequestBuilder<RetentionEventTypeItemRequestBuilder> {
/**
* Delete a retentionEventType object.
* @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/security-retentioneventtype-delete?view=graph-rest-1.0|Find more info here}
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Read the properties and relationships of a retentionEventType object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RetentionEventType>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @see {@link https://learn.microsoft.com/graph/api/security-retentioneventtype-get?view=graph-rest-1.0|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<RetentionEventTypeItemRequestBuilderGetQueryParameters> | undefined): Promise<RetentionEventType | undefined>;
/**
* Update the navigation property retentionEventTypes in security
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<RetentionEventType>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
*/
patch(body: RetentionEventType, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<RetentionEventType | undefined>;
/**
* Delete a retentionEventType object.
* @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 a retentionEventType object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<RetentionEventTypeItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property retentionEventTypes 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: RetentionEventType, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Read the properties and relationships of a retentionEventType object.
*/
export interface RetentionEventTypeItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const RetentionEventTypeItemRequestBuilderUriTemplate = "{+baseurl}/security/triggerTypes/retentionEventTypes/{retentionEventType%2Did}{?%24expand,%24select}";
/**
* Metadata for all the requests in the request builder.
*/
export declare const RetentionEventTypeItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map