import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Trace Snapshot Data resource in Oracle Cloud Infrastructure Apm Traces service. * * Gets the trace snapshots data identified by trace ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTraceSnapshotData = oci.apmtraces.getTraceSnapshotData({ * apmDomainId: testApmDomain.id, * traceKey: traceSnapshotDataTraceKey, * isSummarized: traceSnapshotDataIsSummarized === "true", * snapshotTime: traceSnapshotDataSnapshotTime, * threadId: testThread.id, * }); * ``` */ export declare function getTraceSnapshotData(args: GetTraceSnapshotDataArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTraceSnapshotData. */ export interface GetTraceSnapshotDataArgs { /** * The APM Domain ID for the intended request. */ apmDomainId: string; /** * If enabled, only span level details are sent. */ isSummarized?: boolean; /** * Epoch time of snapshot. */ snapshotTime?: string; /** * Thread ID for which snapshots need to be retrieved. This identifier of a thread is a long positive number generated when a thread is created. */ threadId?: string; /** * Unique Application Performance Monitoring trace identifier (traceId). */ traceKey: string; } /** * A collection of values returned by getTraceSnapshotData. */ export interface GetTraceSnapshotDataResult { readonly apmDomainId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isSummarized?: boolean; /** * Name of the property. */ readonly key: string; readonly snapshotTime?: string; readonly threadId?: string; /** * End time of the trace. */ readonly timeEnded: string; /** * Start time of the trace. */ readonly timeStarted: string; readonly traceKey: string; /** * Trace snapshots properties. */ readonly traceSnapshotDetails: outputs.ApmTraces.GetTraceSnapshotDataTraceSnapshotDetail[]; } /** * This data source provides details about a specific Trace Snapshot Data resource in Oracle Cloud Infrastructure Apm Traces service. * * Gets the trace snapshots data identified by trace ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTraceSnapshotData = oci.apmtraces.getTraceSnapshotData({ * apmDomainId: testApmDomain.id, * traceKey: traceSnapshotDataTraceKey, * isSummarized: traceSnapshotDataIsSummarized === "true", * snapshotTime: traceSnapshotDataSnapshotTime, * threadId: testThread.id, * }); * ``` */ export declare function getTraceSnapshotDataOutput(args: GetTraceSnapshotDataOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTraceSnapshotData. */ export interface GetTraceSnapshotDataOutputArgs { /** * The APM Domain ID for the intended request. */ apmDomainId: pulumi.Input; /** * If enabled, only span level details are sent. */ isSummarized?: pulumi.Input; /** * Epoch time of snapshot. */ snapshotTime?: pulumi.Input; /** * Thread ID for which snapshots need to be retrieved. This identifier of a thread is a long positive number generated when a thread is created. */ threadId?: pulumi.Input; /** * Unique Application Performance Monitoring trace identifier (traceId). */ traceKey: pulumi.Input; } //# sourceMappingURL=getTraceSnapshotData.d.ts.map