UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
83 lines 4.65 kB
import { type InformationProtection } from '@microsoft/msgraph-beta-sdk/models/security/index.js'; import { type LabelPolicySettingsRequestBuilder } from './labelPolicySettings/index.js'; import { type SensitivityLabelsRequestBuilder } from './sensitivityLabels/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the informationProtection property of the microsoft.graph.security.security entity. */ export interface InformationProtectionRequestBuilder extends BaseRequestBuilder<InformationProtectionRequestBuilder> { /** * Provides operations to manage the labelPolicySettings property of the microsoft.graph.security.informationProtection entity. */ get labelPolicySettings(): LabelPolicySettingsRequestBuilder; /** * Provides operations to manage the sensitivityLabels property of the microsoft.graph.security.informationProtection entity. */ get sensitivityLabels(): SensitivityLabelsRequestBuilder; /** * Delete navigation property informationProtection for users * @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>; /** * Get informationProtection from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<InformationProtection>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<InformationProtectionRequestBuilderGetQueryParameters> | undefined): Promise<InformationProtection | undefined>; /** * Update the navigation property informationProtection in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<InformationProtection>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: InformationProtection, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<InformationProtection | undefined>; /** * Delete navigation property informationProtection for users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get informationProtection from users * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<InformationProtectionRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property informationProtection in users * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPatchRequestInformation(body: InformationProtection, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get informationProtection from users */ export interface InformationProtectionRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const InformationProtectionRequestBuilderUriTemplate = "{+baseurl}/users/{user%2Did}/security/informationProtection{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const InformationProtectionRequestBuilderNavigationMetadata: Record<Exclude<keyof InformationProtectionRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const InformationProtectionRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map