UNPKG

@microsoft/msgraph-beta-sdk-compliance

Version:
117 lines 7.54 kB
import { type NoncustodialDataSource, type NoncustodialDataSourceCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/ediscovery/index.js'; import { type CountRequestBuilder } from './count/index.js'; import { type NoncustodialDataSourceItemRequestBuilder } from './item/index.js'; import { type MicrosoftGraphEdiscoveryApplyHoldRequestBuilder } from './microsoftGraphEdiscoveryApplyHold/index.js'; import { type MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder } from './microsoftGraphEdiscoveryRemoveHold/index.js'; import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Provides operations to manage the noncustodialDataSources property of the microsoft.graph.ediscovery.case entity. */ export interface NoncustodialDataSourcesRequestBuilder extends BaseRequestBuilder<NoncustodialDataSourcesRequestBuilder> { /** * Provides operations to count the resources in the collection. * @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 count(): CountRequestBuilder; /** * Provides operations to call the applyHold method. * @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 microsoftGraphEdiscoveryApplyHold(): MicrosoftGraphEdiscoveryApplyHoldRequestBuilder; /** * Provides operations to call the removeHold method. * @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 microsoftGraphEdiscoveryRemoveHold(): MicrosoftGraphEdiscoveryRemoveHoldRequestBuilder; /** * Provides operations to manage the noncustodialDataSources property of the microsoft.graph.ediscovery.case entity. * @param noncustodialDataSourceId The unique identifier of noncustodialDataSource * @returns {NoncustodialDataSourceItemRequestBuilder} * @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 */ byNoncustodialDataSourceId(noncustodialDataSourceId: string): NoncustodialDataSourceItemRequestBuilder; /** * Get a list of the noncustodialDataSource objects and their properties. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<NoncustodialDataSourceCollectionResponse>} * @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 * @see {@link https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-list?view=graph-rest-beta|Find more info here} */ get(requestConfiguration?: RequestConfiguration<NoncustodialDataSourcesRequestBuilderGetQueryParameters> | undefined): Promise<NoncustodialDataSourceCollectionResponse | undefined>; /** * Create a new noncustodialDataSource object. * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise<NoncustodialDataSource>} * @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 * @see {@link https://learn.microsoft.com/graph/api/ediscovery-noncustodialdatasource-post?view=graph-rest-beta|Find more info here} */ post(body: NoncustodialDataSource, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<NoncustodialDataSource | undefined>; /** * Get a list of the noncustodialDataSource objects and their properties. * @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<NoncustodialDataSourcesRequestBuilderGetQueryParameters> | undefined): RequestInformation; /** * Create a new noncustodialDataSource object. * @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 */ toPostRequestInformation(body: NoncustodialDataSource, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation; } /** * Get a list of the noncustodialDataSource objects and their properties. */ export interface NoncustodialDataSourcesRequestBuilderGetQueryParameters { /** * Include count of items */ count?: boolean; /** * Expand related entities */ expand?: string[]; /** * Filter items by property values */ filter?: string; /** * Order items by property values */ orderby?: string[]; /** * Search items by search phrases */ search?: string; /** * Select properties to be returned */ select?: string[]; /** * Skip the first n items */ skip?: number; /** * Show only the first n items */ top?: number; } /** * Uri template for the request builder. */ export declare const NoncustodialDataSourcesRequestBuilderUriTemplate = "{+baseurl}/compliance/ediscovery/cases/{case%2Did}/noncustodialDataSources{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}"; /** * Metadata for all the navigation properties in the request builder. */ export declare const NoncustodialDataSourcesRequestBuilderNavigationMetadata: Record<Exclude<keyof NoncustodialDataSourcesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>; /** * Metadata for all the requests in the request builder. */ export declare const NoncustodialDataSourcesRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map