UNPKG

@microsoft/msgraph-beta-sdk-security

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