UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
70 lines 3.94 kB
import { type UrlThreatSubmission } 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 urlThreats property of the microsoft.graph.security.threatSubmissionRoot entity. */ export interface UrlThreatSubmissionItemRequestBuilder extends BaseRequestBuilder<UrlThreatSubmissionItemRequestBuilder> { /** * Delete navigation property urlThreats 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 urlThreatSubmission object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UrlThreatSubmission>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/security-urlthreatsubmission-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<UrlThreatSubmissionItemRequestBuilderGetQueryParameters> | undefined): Promise<UrlThreatSubmission | undefined>; /** * Update the navigation property urlThreats in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<UrlThreatSubmission>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: UrlThreatSubmission, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<UrlThreatSubmission | undefined>; /** * Delete navigation property urlThreats 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 urlThreatSubmission object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<UrlThreatSubmissionItemRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property urlThreats 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: UrlThreatSubmission, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of an urlThreatSubmission object. */ export interface UrlThreatSubmissionItemRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const UrlThreatSubmissionItemRequestBuilderUriTemplate = "{+baseurl}/security/threatSubmission/urlThreats/{urlThreatSubmission%2Did}{?%24expand,%24select}"; /** * Metadata for all the requests in the request builder. */ export declare const UrlThreatSubmissionItemRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map