@microsoft/msgraph-beta-sdk-compliance
Version:
Compliance fluent API for Microsoft Graph
85 lines • 5.84 kB
TypeScript
import { type Ediscoveryroot } from '@microsoft/msgraph-beta-sdk/models/ediscovery/index.js';
import { type CasesRequestBuilder } from './cases/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the ediscovery property of the microsoft.graph.compliance entity.
*/
export interface EdiscoveryRequestBuilder extends BaseRequestBuilder<EdiscoveryRequestBuilder> {
/**
* Provides operations to manage the cases property of the microsoft.graph.ediscovery.ediscoveryroot entity.
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get cases(): CasesRequestBuilder;
/**
* Delete navigation property ediscovery for compliance
* @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
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Get ediscovery from compliance
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Ediscoveryroot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
get(requestConfiguration?: RequestConfiguration<EdiscoveryRequestBuilderGetQueryParameters> | undefined): Promise<Ediscoveryroot | undefined>;
/**
* Update the navigation property ediscovery in compliance
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<Ediscoveryroot>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
patch(body: Ediscoveryroot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<Ediscoveryroot | undefined>;
/**
* Delete navigation property ediscovery for compliance
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Get ediscovery from compliance
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<EdiscoveryRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property ediscovery in compliance
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated The ediscovery Apis are deprecated under /compliance and will stop returning data from February 01, 2023. Please use the new ediscovery Apis under /security. as of 2022-12/ediscoveryNamespace on 2022-12-05 and will be removed 2023-02-01
*/
toPatchRequestInformation(body: Ediscoveryroot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get ediscovery from compliance
*/
export interface EdiscoveryRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const EdiscoveryRequestBuilderUriTemplate = "{+baseurl}/compliance/ediscovery{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const EdiscoveryRequestBuilderNavigationMetadata: Record<Exclude<keyof EdiscoveryRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const EdiscoveryRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map