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