UNPKG

@microsoft/msgraph-sdk-security

Version:
88 lines 4.99 kB
import { type TenantDataSecurityAndGovernance } from '@microsoft/msgraph-sdk/models/index.js'; import { type ProcessContentAsyncRequestBuilder } from './processContentAsync/index.js'; import { type ProtectionScopesRequestBuilder } from './protectionScopes/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 dataSecurityAndGovernance property of the microsoft.graph.security entity. */ export interface DataSecurityAndGovernanceRequestBuilder extends BaseRequestBuilder<DataSecurityAndGovernanceRequestBuilder> { /** * Provides operations to call the processContentAsync method. */ get processContentAsync(): ProcessContentAsyncRequestBuilder; /** * Provides operations to manage the protectionScopes property of the microsoft.graph.tenantDataSecurityAndGovernance entity. */ get protectionScopes(): ProtectionScopesRequestBuilder; /** * Provides operations to manage the sensitivityLabels property of the microsoft.graph.dataSecurityAndGovernance entity. */ get sensitivityLabels(): SensitivityLabelsRequestBuilder; /** * Delete navigation property dataSecurityAndGovernance 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>; /** * Get dataSecurityAndGovernance from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<TenantDataSecurityAndGovernance>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ get(requestConfiguration?: RequestConfiguration<DataSecurityAndGovernanceRequestBuilderGetQueryParameters> | undefined): Promise<TenantDataSecurityAndGovernance | undefined>; /** * Update the navigation property dataSecurityAndGovernance in security * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<TenantDataSecurityAndGovernance>} * @throws {ODataError} error when the service returns a 4XX or 5XX status code */ patch(body: TenantDataSecurityAndGovernance, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<TenantDataSecurityAndGovernance | undefined>; /** * Delete navigation property dataSecurityAndGovernance for security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; /** * Get dataSecurityAndGovernance from security * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration<DataSecurityAndGovernanceRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Update the navigation property dataSecurityAndGovernance 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: TenantDataSecurityAndGovernance, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get dataSecurityAndGovernance from security */ export interface DataSecurityAndGovernanceRequestBuilderGetQueryParameters { /** * Expand related entities */ expand?: string[]; /** * Select properties to be returned */ select?: string[]; } /** * Uri template for the request builder. */ export declare const DataSecurityAndGovernanceRequestBuilderUriTemplate = "{+baseurl}/security/dataSecurityAndGovernance{?%24expand,%24select}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const DataSecurityAndGovernanceRequestBuilderNavigationMetadata: Record<Exclude<keyof DataSecurityAndGovernanceRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const DataSecurityAndGovernanceRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map