import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Awr Hub Awr Snapshot resource in Oracle Cloud Infrastructure Opsi service. * * Lists AWR snapshots for the specified source database in the AWR hub. The difference between the timeGreaterThanOrEqualTo and timeLessThanOrEqualTo should not exceed an elapsed range of 1 day. * The timeGreaterThanOrEqualTo & timeLessThanOrEqualTo params are optional. If these params are not provided, by default last 1 day snapshots will be returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAwrHubAwrSnapshot = oci.opsi.getAwrHubAwrSnapshot({ * awrHubId: testAwrHub.id, * awrSourceDatabaseIdentifier: awrHubAwrSnapshotAwrSourceDatabaseIdentifier, * timeGreaterThanOrEqualTo: awrHubAwrSnapshotTimeGreaterThanOrEqualTo, * timeLessThanOrEqualTo: awrHubAwrSnapshotTimeLessThanOrEqualTo, * }); * ``` */ export declare function getAwrHubAwrSnapshot(args: GetAwrHubAwrSnapshotArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAwrHubAwrSnapshot. */ export interface GetAwrHubAwrSnapshotArgs { /** * Unique Awr Hub identifier */ awrHubId: string; /** * AWR source database identifier. */ awrSourceDatabaseIdentifier: string; /** * The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z */ timeGreaterThanOrEqualTo?: string; /** * The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z */ timeLessThanOrEqualTo?: string; } /** * A collection of values returned by getAwrHubAwrSnapshot. */ export interface GetAwrHubAwrSnapshotResult { readonly awrHubId: string; readonly awrSourceDatabaseIdentifier: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * A list of AWR snapshot summary data. */ readonly items: outputs.Opsi.GetAwrHubAwrSnapshotItem[]; readonly timeGreaterThanOrEqualTo?: string; readonly timeLessThanOrEqualTo?: string; } /** * This data source provides details about a specific Awr Hub Awr Snapshot resource in Oracle Cloud Infrastructure Opsi service. * * Lists AWR snapshots for the specified source database in the AWR hub. The difference between the timeGreaterThanOrEqualTo and timeLessThanOrEqualTo should not exceed an elapsed range of 1 day. * The timeGreaterThanOrEqualTo & timeLessThanOrEqualTo params are optional. If these params are not provided, by default last 1 day snapshots will be returned. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAwrHubAwrSnapshot = oci.opsi.getAwrHubAwrSnapshot({ * awrHubId: testAwrHub.id, * awrSourceDatabaseIdentifier: awrHubAwrSnapshotAwrSourceDatabaseIdentifier, * timeGreaterThanOrEqualTo: awrHubAwrSnapshotTimeGreaterThanOrEqualTo, * timeLessThanOrEqualTo: awrHubAwrSnapshotTimeLessThanOrEqualTo, * }); * ``` */ export declare function getAwrHubAwrSnapshotOutput(args: GetAwrHubAwrSnapshotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAwrHubAwrSnapshot. */ export interface GetAwrHubAwrSnapshotOutputArgs { /** * Unique Awr Hub identifier */ awrHubId: pulumi.Input; /** * AWR source database identifier. */ awrSourceDatabaseIdentifier: pulumi.Input; /** * The optional greater than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z */ timeGreaterThanOrEqualTo?: pulumi.Input; /** * The optional less than or equal to query parameter to filter the timestamp. The timestamp format to be followed is: YYYY-MM-DDTHH:MM:SSZ, example 2020-12-03T19:00:53Z */ timeLessThanOrEqualTo?: pulumi.Input; } //# sourceMappingURL=getAwrHubAwrSnapshot.d.ts.map