@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
104 lines • 5.43 kB
TypeScript
import { type ExchangeMessageTrace, type ExchangeMessageTraceCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type ExchangeMessageTraceItemRequestBuilder } from './item/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity.
*/
export interface MessageTracesRequestBuilder extends BaseRequestBuilder<MessageTracesRequestBuilder> {
/**
* Provides operations to count the resources in the collection.
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
get count(): CountRequestBuilder;
/**
* Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity.
* @param exchangeMessageTraceId The unique identifier of exchangeMessageTrace
* @returns {ExchangeMessageTraceItemRequestBuilder}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
byExchangeMessageTraceId(exchangeMessageTraceId: string): ExchangeMessageTraceItemRequestBuilder;
/**
* Get a list of exchangeMessageTrace objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ExchangeMessageTraceCollectionResponse>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
* @see {@link https://learn.microsoft.com/graph/api/messagetracingroot-list-messagetraces?view=graph-rest-beta|Find more info here}
*/
get(requestConfiguration?: RequestConfiguration<MessageTracesRequestBuilderGetQueryParameters> | undefined): Promise<ExchangeMessageTraceCollectionResponse | undefined>;
/**
* Create new navigation property to messageTraces for admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<ExchangeMessageTrace>}
* @throws {ODataError} error when the service returns a 4XX or 5XX status code
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
post(body: ExchangeMessageTrace, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExchangeMessageTrace | undefined>;
/**
* Get a list of exchangeMessageTrace objects.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toGetRequestInformation(requestConfiguration?: RequestConfiguration<MessageTracesRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Create new navigation property to messageTraces for admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {RequestInformation}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
toPostRequestInformation(body: ExchangeMessageTrace, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get a list of exchangeMessageTrace objects.
*/
export interface MessageTracesRequestBuilderGetQueryParameters {
/**
* 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 MessageTracesRequestBuilderUriTemplate = "{+baseurl}/admin/exchange/tracing/messageTraces{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const MessageTracesRequestBuilderNavigationMetadata: Record<Exclude<keyof MessageTracesRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const MessageTracesRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map