@microsoft/msgraph-beta-sdk-admin
Version:
Admin fluent API for Microsoft Graph
87 lines • 5.74 kB
TypeScript
import { type ExchangeMessageTrace } from '@microsoft/msgraph-beta-sdk/models/index.js';
import { type GetDetailsByRecipientWithRecipientAddressRequestBuilder } from './getDetailsByRecipientWithRecipientAddress/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 ExchangeMessageTraceItemRequestBuilder extends BaseRequestBuilder<ExchangeMessageTraceItemRequestBuilder> {
/**
* Delete navigation property messageTraces 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 the trace information of messages that pass-through Exchange Online organizations.
* @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
*/
get(requestConfiguration?: RequestConfiguration<ExchangeMessageTraceItemRequestBuilderGetQueryParameters> | undefined): Promise<ExchangeMessageTrace | undefined>;
/**
* Provides operations to call the getDetailsByRecipient method.
* @param recipientAddress Usage: recipientAddress='{recipientAddress}'
* @returns {GetDetailsByRecipientWithRecipientAddressRequestBuilder}
* @deprecated Private preview for Import Export APIs as of 2021-08/PrivatePreview:importExport on 2021-08-19 and will be removed 2021-11-15
*/
getDetailsByRecipientWithRecipientAddress(recipientAddress: string | undefined): GetDetailsByRecipientWithRecipientAddressRequestBuilder;
/**
* Update the navigation property messageTraces in 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
*/
patch(body: ExchangeMessageTrace, requestConfiguration?: RequestConfiguration<object> | undefined): Promise<ExchangeMessageTrace | undefined>;
/**
* Delete navigation property messageTraces 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 the trace information of messages that pass-through Exchange Online organizations.
* @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<ExchangeMessageTraceItemRequestBuilderGetQueryParameters> | undefined): RequestInformation;
/**
* Update the navigation property messageTraces 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: ExchangeMessageTrace, requestConfiguration?: RequestConfiguration<object> | undefined): RequestInformation;
}
/**
* Represents the trace information of messages that pass-through Exchange Online organizations.
*/
export interface ExchangeMessageTraceItemRequestBuilderGetQueryParameters {
/**
* Expand related entities
*/
expand?: string[];
/**
* Select properties to be returned
*/
select?: string[];
}
/**
* Uri template for the request builder.
*/
export declare const ExchangeMessageTraceItemRequestBuilderUriTemplate = "{+baseurl}/admin/exchange/tracing/messageTraces/{exchangeMessageTrace%2Did}{?%24expand,%24select}";
/**
* Metadata for all the navigation properties in the request builder.
*/
export declare const ExchangeMessageTraceItemRequestBuilderNavigationMetadata: Record<Exclude<keyof ExchangeMessageTraceItemRequestBuilder, KeysToExcludeForNavigationMetadata>, NavigationMetadata>;
/**
* Metadata for all the requests in the request builder.
*/
export declare const ExchangeMessageTraceItemRequestBuilderRequestsMetadata: RequestsMetadata;
//# sourceMappingURL=index.d.ts.map