@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
103 lines • 5.11 kB
TypeScript
import { type MessageTrace, type MessageTraceCollectionResponse } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type CountRequestBuilder } from './count/index.js';
import { type MessageTraceItemRequestBuilder } 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.exchangeAdmin 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.exchangeAdmin entity.
* @param messageTraceId The unique identifier of messageTrace
* @returns {MessageTraceItemRequestBuilder}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
byMessageTraceId(messageTraceId: string): MessageTraceItemRequestBuilder;
/**
* Get messageTraces from admin
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MessageTraceCollectionResponse>}
* @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
*/
get(requestConfiguration?: RequestConfiguration<MessageTracesRequestBuilderGetQueryParameters> | undefined): Promise<MessageTraceCollectionResponse | 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<MessageTrace>}
* @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: MessageTrace, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageTrace | undefined>;
/**
* Get messageTraces from admin
* @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: MessageTrace, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Get messageTraces from admin
*/
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/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