@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
85 lines • 5.18 kB
TypeScript
import { type MessageTracingRoot } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type MessageTracesRequestBuilder } from './messageTraces/index.js';
import { type BaseRequestBuilder, type KeysToExcludeForNavigationMetadata, type NavigationMetadata, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions';
/**
* Provides operations to manage the tracing property of the microsoft.graph.exchangeAdmin entity.
*/
export interface TracingRequestBuilder extends BaseRequestBuilder<TracingRequestBuilder> {
/**
* Provides operations to manage the messageTraces property of the microsoft.graph.messageTracingRoot entity.
* @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 messageTraces(): MessageTracesRequestBuilder;
/**
* Delete navigation property tracing for admin
* @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 Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
delete(requestConfiguration?: RequestConfiguration<object> | undefined): Promise<void>;
/**
* Represents a container for administrative resources to trace messages.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MessageTracingRoot>}
* @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<TracingRequestBuilderGetQueryParameters> | undefined): Promise<MessageTracingRoot | undefined>;
/**
* Update the navigation property tracing in admin
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @returns {Promise<MessageTracingRoot>}
* @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
*/
patch(body: MessageTracingRoot, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<MessageTracingRoot | undefined>;
/**
* Delete navigation property tracing for 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
*/
toDeleteRequestInformation(requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
/**
* Represents a container for administrative resources to trace messages.
* @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<TracingRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property tracing in 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
*/
toPatchRequestInformation(body: MessageTracingRoot, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Represents a container for administrative resources to trace messages.
*/
export interface TracingRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const TracingRequestBuilderUriTemplate = "{+baseurl}/admin/exchange/tracing{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const TracingRequestBuilderNavigationMetadata: Record<Exclude<keyof TracingRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const TracingRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map