UNPKG

@microsoft/msgraph-beta-sdk-security

Version:
83 lines 4.78 kB
import { type PartnerSecurity } from '@microsoft/msgraph-beta-sdk/models/partner/security/index.js'; import { type SecurityAlertsRequestBuilder } from './securityAlerts/index.js'; import { type SecurityScoreRequestBuilder } from './securityScore/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the partner property of the microsoft.graph.security entity. */ export interface PartnerRequestBuilder extends BaseRequestBuilder<PartnerRequestBuilder> { /** * Provides operations to manage the securityAlerts property of the microsoft.graph.partner.security.partnerSecurity entity. */ get securityAlerts(): SecurityAlertsRequestBuilder; /** * Provides operations to manage the securityScore property of the microsoft.graph.partner.security.partnerSecurity entity. */ get securityScore(): SecurityScoreRequestBuilder; /** * Delete navigation property partner 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>; /** * A container that safeguards the Microsoft Azure resources of Microsoft Cloud Solution Provider (CSP) partners’ customers, including alerts, scores, and all aspects of security. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PartnerSecurity>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<PartnerRequestBuilderGetQueryParameters> | undefined): Promise<PartnerSecurity | undefined>; /** * Update the navigation property partner in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<PartnerSecurity>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: PartnerSecurity, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<PartnerSecurity | undefined>; /** * Delete navigation property partner for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * A container that safeguards the Microsoft Azure resources of Microsoft Cloud Solution Provider (CSP) partners’ customers, including alerts, scores, and all aspects of security. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<PartnerRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property partner 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: PartnerSecurity, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * A container that safeguards the Microsoft Azure resources of Microsoft Cloud Solution Provider (CSP) partners’ customers, including alerts, scores, and all aspects of security. */ export interface PartnerRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const PartnerRequestBuilderUriTemplate = "{+baseurl}/security/partner{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const PartnerRequestBuilderNavigationMetadata: Record<Exclude<keyof PartnerRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const PartnerRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map