import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service. * * Gets the Awr Hub source object. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAwrHubSource = oci.opsi.getAwrHubSource({ * awrHubSourceId: testAwrHubSourceOciOpsiAwrHubSource.id, * }); * ``` */ export declare function getAwrHubSource(args: GetAwrHubSourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAwrHubSource. */ export interface GetAwrHubSourceArgs { /** * Unique Awr Hub Source identifier */ awrHubSourceId: string; } /** * A collection of values returned by getAwrHubSource. */ export interface GetAwrHubSourceResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id. */ readonly associatedOpsiId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id. */ readonly associatedResourceId: string; /** * AWR Hub OCID */ readonly awrHubId: string; /** * The shorted string of the Awr Hub source database identifier. */ readonly awrHubOpsiSourceId: string; readonly awrHubSourceId: string; /** * DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub. */ readonly awrSourceDatabaseId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: { [key: string]: string; }; /** * Number of hours since last AWR snapshots import happened from the Source database. */ readonly hoursSinceLastImport: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Awr Hub source database. */ readonly id: string; /** * This is `true` if the source databse is registered with a Awr Hub, otherwise `false` */ readonly isRegisteredWithAwrHub: boolean; /** * The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. */ readonly maxSnapshotIdentifier: number; /** * The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub. */ readonly minSnapshotIdentifier: number; /** * The name of the Awr Hub source database. */ readonly name: string; /** * Opsi Mailbox URL based on the Awr Hub and Awr Hub source. */ readonly sourceMailBoxUrl: string; /** * the current state of the source database */ readonly state: string; /** * Indicates the status of a source database in Operations Insights */ readonly status: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The time at which the resource was first created. An RFC3339 formatted datetime string */ readonly timeCreated: string; /** * The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string */ readonly timeFirstSnapshotGenerated: string; /** * The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string */ readonly timeLastSnapshotGenerated: string; /** * The time at which the resource was last updated. An RFC3339 formatted datetime string */ readonly timeUpdated: string; /** * source type of the database */ readonly type: string; } /** * This data source provides details about a specific Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service. * * Gets the Awr Hub source object. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testAwrHubSource = oci.opsi.getAwrHubSource({ * awrHubSourceId: testAwrHubSourceOciOpsiAwrHubSource.id, * }); * ``` */ export declare function getAwrHubSourceOutput(args: GetAwrHubSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAwrHubSource. */ export interface GetAwrHubSourceOutputArgs { /** * Unique Awr Hub Source identifier */ awrHubSourceId: pulumi.Input; } //# sourceMappingURL=getAwrHubSource.d.ts.map