import * as pulumi from "@pulumi/pulumi";
/**
 * This resource provides the Awr Hub Source resource in Oracle Cloud Infrastructure Opsi service.
 * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/operations-insights/latest/AwrHubSource
 *
 * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/osi
 *
 * Register Awr Hub source
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testAwrHubSource = new oci.opsi.AwrHubSource("test_awr_hub_source", {
 *     awrHubId: testAwrHub.id,
 *     compartmentId: compartmentId,
 *     name: awrHubSourceName,
 *     type: awrHubSourceType,
 *     associatedOpsiId: testAssociatedOpsi.id,
 *     associatedResourceId: testResource.id,
 *     definedTags: {
 *         "foo-namespace.bar-key": "value",
 *     },
 *     freeformTags: {
 *         "bar-key": "value",
 *     },
 * });
 * ```
 *
 * ## Import
 *
 * AwrHubSources can be imported using the `id`, e.g.
 *
 * ```sh
 * $ pulumi import oci:Opsi/awrHubSource:AwrHubSource test_awr_hub_source "id"
 * ```
 */
export declare class AwrHubSource extends pulumi.CustomResource {
    /**
     * Get an existing AwrHubSource resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AwrHubSourceState, opts?: pulumi.CustomResourceOptions): AwrHubSource;
    /**
     * Returns true if the given object is an instance of AwrHubSource.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is AwrHubSource;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
     */
    readonly associatedOpsiId: pulumi.Output<string>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
     */
    readonly associatedResourceId: pulumi.Output<string>;
    /**
     * AWR Hub OCID
     */
    readonly awrHubId: pulumi.Output<string>;
    /**
     * The shorted string of the Awr Hub source database identifier.
     */
    readonly awrHubOpsiSourceId: pulumi.Output<string>;
    /**
     * DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
     */
    readonly awrSourceDatabaseId: pulumi.Output<string>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    readonly compartmentId: pulumi.Output<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    readonly definedTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * (Updatable) 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: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * Number of hours since last AWR snapshots import happened from the Source database.
     */
    readonly hoursSinceLastImport: pulumi.Output<number>;
    /**
     * This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
     */
    readonly isRegisteredWithAwrHub: pulumi.Output<boolean>;
    /**
     * The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
     */
    readonly maxSnapshotIdentifier: pulumi.Output<number>;
    /**
     * The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
     */
    readonly minSnapshotIdentifier: pulumi.Output<number>;
    /**
     * The name of the Awr Hub source database.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
     */
    readonly sourceMailBoxUrl: pulumi.Output<string>;
    /**
     * the current state of the source database
     */
    readonly state: pulumi.Output<string>;
    /**
     * Indicates the status of a source database in Operations Insights
     */
    readonly status: pulumi.Output<string>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    readonly systemTags: pulumi.Output<{
        [key: string]: string;
    }>;
    /**
     * The time at which the resource was first created. An RFC3339 formatted datetime string
     */
    readonly timeCreated: pulumi.Output<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: pulumi.Output<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: pulumi.Output<string>;
    /**
     * The time at which the resource was last updated. An RFC3339 formatted datetime string
     */
    readonly timeUpdated: pulumi.Output<string>;
    /**
     * (Updatable) source type of the database
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    readonly type: pulumi.Output<string>;
    /**
     * Create a AwrHubSource resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: AwrHubSourceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering AwrHubSource resources.
 */
export interface AwrHubSourceState {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
     */
    associatedOpsiId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
     */
    associatedResourceId?: pulumi.Input<string | undefined>;
    /**
     * AWR Hub OCID
     */
    awrHubId?: pulumi.Input<string | undefined>;
    /**
     * The shorted string of the Awr Hub source database identifier.
     */
    awrHubOpsiSourceId?: pulumi.Input<string | undefined>;
    /**
     * DatabaseId of the Source database for which AWR Data will be uploaded to AWR Hub.
     */
    awrSourceDatabaseId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * Number of hours since last AWR snapshots import happened from the Source database.
     */
    hoursSinceLastImport?: pulumi.Input<number | undefined>;
    /**
     * This is `true` if the source databse is registered with a Awr Hub, otherwise `false`
     */
    isRegisteredWithAwrHub?: pulumi.Input<boolean | undefined>;
    /**
     * The maximum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
     */
    maxSnapshotIdentifier?: pulumi.Input<number | undefined>;
    /**
     * The minimum snapshot identifier of the source database for which AWR data is uploaded to AWR Hub.
     */
    minSnapshotIdentifier?: pulumi.Input<number | undefined>;
    /**
     * The name of the Awr Hub source database.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * Opsi Mailbox URL based on the Awr Hub and Awr Hub source.
     */
    sourceMailBoxUrl?: pulumi.Input<string | undefined>;
    /**
     * the current state of the source database
     */
    state?: pulumi.Input<string | undefined>;
    /**
     * Indicates the status of a source database in Operations Insights
     */
    status?: pulumi.Input<string | undefined>;
    /**
     * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}`
     */
    systemTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The time at which the resource was first created. An RFC3339 formatted datetime string
     */
    timeCreated?: pulumi.Input<string | undefined>;
    /**
     * 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
     */
    timeFirstSnapshotGenerated?: pulumi.Input<string | undefined>;
    /**
     * 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
     */
    timeLastSnapshotGenerated?: pulumi.Input<string | undefined>;
    /**
     * The time at which the resource was last updated. An RFC3339 formatted datetime string
     */
    timeUpdated?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) source type of the database
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    type?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a AwrHubSource resource.
 */
export interface AwrHubSourceArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
     */
    associatedOpsiId?: pulumi.Input<string | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database id.
     */
    associatedResourceId?: pulumi.Input<string | undefined>;
    /**
     * AWR Hub OCID
     */
    awrHubId: pulumi.Input<string>;
    /**
     * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
     */
    compartmentId: pulumi.Input<string>;
    /**
     * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`
     */
    definedTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
     */
    freeformTags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    } | undefined>;
    /**
     * The name of the Awr Hub source database.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * (Updatable) source type of the database
     *
     *
     * ** IMPORTANT **
     * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
     */
    type: pulumi.Input<string>;
}
//# sourceMappingURL=awrHubSource.d.ts.map