UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
89 lines 5.02 kB
import { type PartnerSecurityScore } from '@microsoft/msgraph-beta-sdk/models/partner/security/index.js'; import { type CustomerInsightsRequestBuilder } from './customerInsights/index.js'; import { type HistoryRequestBuilder } from './history/index.js'; import { type RequirementsRequestBuilder } from './requirements/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the securityScore property of the microsoft.graph.partner.security.partnerSecurity entity. */ export interface SecurityScoreRequestBuilder extends BaseRequestBuilder<SecurityScoreRequestBuilder> { /** * Provides operations to manage the customerInsights property of the microsoft.graph.partner.security.partnerSecurityScore entity. */ get customerInsights(): CustomerInsightsRequestBuilder; /** * Provides operations to manage the history property of the microsoft.graph.partner.security.partnerSecurityScore entity. */ get history(): HistoryRequestBuilder; /** * Provides operations to manage the requirements property of the microsoft.graph.partner.security.partnerSecurityScore entity. */ get requirements(): RequirementsRequestBuilder; /** * Delete navigation property securityScore 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 partnerSecurityScore object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PartnerSecurityScore>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code * @see {@link https://learn.microsoft.com/graph/api/partner-security-partnersecurityscore-get?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<SecurityScoreRequestBuilderGetQueryParameters> | undefined): Promise<PartnerSecurityScore | undefined>; /** * Update the navigation property securityScore in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PartnerSecurityScore>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: PartnerSecurityScore, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PartnerSecurityScore | undefined>; /** * Delete navigation property securityScore 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 partnerSecurityScore object. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<SecurityScoreRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property securityScore 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: PartnerSecurityScore, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Read the properties and relationships of a partnerSecurityScore object. */ export interface SecurityScoreRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const SecurityScoreRequestBuilderUriTemplate = "{+baseurl}/security/partner/securityScore{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const SecurityScoreRequestBuilderNavigationMetadata: Record<Exclude<keyof SecurityScoreRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const SecurityScoreRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map