UNPKG

@microsoft/msgraph-beta-sdk-users

Version:
123 lines 6.58 kB
import { type InformationProtection } from '@microsoft/msgraph-beta-sdk/models/index.js'; import { type BitlockerRequestBuilder } from './bitlocker/index.js'; import { type DataLossPreventionPoliciesRequestBuilder } from './dataLossPreventionPolicies/index.js'; import { type DecryptBufferRequestBuilder } from './decryptBuffer/index.js'; import { type EncryptBufferRequestBuilder } from './encryptBuffer/index.js'; import { type PolicyRequestBuilder } from './policy/index.js'; import { type SensitivityLabelsRequestBuilder } from './sensitivityLabels/index.js'; import { type SensitivityPolicySettingsRequestBuilder } from './sensitivityPolicySettings/index.js'; import { type SignDigestRequestBuilder } from './signDigest/index.js'; import { type ThreatAssessmentRequestsRequestBuilder } from './threatAssessmentRequests/index.js'; import { type VerifySignatureRequestBuilder } from './verifySignature/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.user entity. */ export interface InformationProtectionRequestBuilder extends BaseRequestBuilder<InformationProtectionRequestBuilder> { /** * Provides operations to manage the bitlocker property of the microsoft.graph.informationProtection entity. */ get bitlocker(): BitlockerRequestBuilder; /** * Provides operations to manage the dataLossPreventionPolicies property of the microsoft.graph.informationProtection entity. */ get dataLossPreventionPolicies(): DataLossPreventionPoliciesRequestBuilder; /** * Provides operations to call the decryptBuffer method. */ get decryptBuffer(): DecryptBufferRequestBuilder; /** * Provides operations to call the encryptBuffer method. */ get encryptBuffer(): EncryptBufferRequestBuilder; /** * Provides operations to manage the policy property of the microsoft.graph.informationProtection entity. */ get policy(): PolicyRequestBuilder; /** * Provides operations to manage the sensitivityLabels property of the microsoft.graph.informationProtection entity. */ get sensitivityLabels(): SensitivityLabelsRequestBuilder; /** * Provides operations to manage the sensitivityPolicySettings property of the microsoft.graph.informationProtection entity. */ get sensitivityPolicySettings(): SensitivityPolicySettingsRequestBuilder; /** * Provides operations to call the signDigest method. */ get signDigest(): SignDigestRequestBuilder; /** * Provides operations to manage the threatAssessmentRequests property of the microsoft.graph.informationProtection entity. */ get threatAssessmentRequests(): ThreatAssessmentRequestsRequestBuilder; /** * Provides operations to call the verifySignature method. */ get verifySignature(): VerifySignatureRequestBuilder; /** * 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}/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