import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Database Insight resource in Oracle Cloud Infrastructure Opsi service. * * Gets details of a database insight. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseInsight = oci.opsi.getDatabaseInsight({ * databaseInsightId: testDatabaseInsightOciOpsiDatabaseInsight.id, * }); * ``` */ export declare function getDatabaseInsight(args: GetDatabaseInsightArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDatabaseInsight. */ export interface GetDatabaseInsightArgs { /** * Unique database insight identifier */ databaseInsightId: string; } /** * A collection of values returned by getDatabaseInsight. */ export interface GetDatabaseInsightResult { /** * Compartment identifier of the database */ readonly compartmentId: string; /** * User credential details to connect to the database. */ readonly connectionCredentialDetails: outputs.Opsi.GetDatabaseInsightConnectionCredentialDetail[]; /** * Connection details to connect to the database. HostName, protocol, and port should be specified. */ readonly connectionDetails: outputs.Opsi.GetDatabaseInsightConnectionDetail[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of External Database Connector */ readonly connectorId: string; /** * User credential details to connect to the database. */ readonly credentialDetails: outputs.Opsi.GetDatabaseInsightCredentialDetail[]; /** * A message describing the status of the database connection of this resource. For example, it can be used to provide actionable information about the permission and content validity of the database connection. */ readonly databaseConnectionStatusDetails: string; /** * (Required when entity_source=EXTERNAL_MYSQL_DATABASE_SYSTEM) (Updatable) The DBM owned database connector [OCID](https://www.terraform.io/iaas/database-management/doc/view-connector-details.html) mapping to the database credentials and connection details. */ readonly databaseConnectorId: string; /** * Display name of database */ readonly databaseDisplayName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. */ readonly databaseId: string; readonly databaseInsightId: string; /** * Name of database */ readonly databaseName: string; /** * Oracle Cloud Infrastructure database resource type */ readonly databaseResourceType: string; /** * Ops Insights internal representation of the database type. */ readonly databaseType: string; /** * The version of the database. */ readonly databaseVersion: string; readonly dbmPrivateEndpointId: 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; }; readonly deploymentType: string; /** * OPSI Enterprise Manager Bridge OCID */ readonly enterpriseManagerBridgeId: string; /** * Enterprise Manager Entity Display Name */ readonly enterpriseManagerEntityDisplayName: string; /** * Enterprise Manager Entity Unique Identifier */ readonly enterpriseManagerEntityIdentifier: string; /** * Enterprise Manager Entity Name */ readonly enterpriseManagerEntityName: string; /** * Enterprise Manager Entity Type */ readonly enterpriseManagerEntityType: string; /** * Enterprise Manager Unqiue Identifier */ readonly enterpriseManagerIdentifier: string; /** * Source of the database entity. */ readonly entitySource: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata insight. */ readonly exadataInsightId: 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; }; /** * Database insight identifier */ readonly id: string; /** * Flag is to identify if advanced features for autonomous database is enabled or not */ readonly isAdvancedFeaturesEnabled: boolean; /** * Specifies if MYSQL DB System has heatwave cluster attached. */ readonly isHeatWaveClusterAttached: boolean; /** * Specifies if MYSQL DB System is highly available. */ readonly isHighlyAvailable: boolean; /** * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. */ readonly lifecycleDetails: string; readonly managementAgentId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint */ readonly opsiPrivateEndpointId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster or DB System ID, depending on which configuration the resource belongs to. */ readonly parentId: string; /** * Processor count. This is the OCPU count for Autonomous Database and CPU core count for other database types. */ readonly processorCount: number; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata Infrastructure. */ readonly rootId: string; /** * Database service name used for connection requests. */ readonly serviceName: string; /** * The current state of the database. */ readonly state: string; /** * Indicates the status of a database insight 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 the the database insight was first enabled. An RFC3339 formatted datetime string */ readonly timeCreated: string; /** * The time the database insight was updated. An RFC3339 formatted datetime string */ readonly timeUpdated: string; } /** * This data source provides details about a specific Database Insight resource in Oracle Cloud Infrastructure Opsi service. * * Gets details of a database insight. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDatabaseInsight = oci.opsi.getDatabaseInsight({ * databaseInsightId: testDatabaseInsightOciOpsiDatabaseInsight.id, * }); * ``` */ export declare function getDatabaseInsightOutput(args: GetDatabaseInsightOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDatabaseInsight. */ export interface GetDatabaseInsightOutputArgs { /** * Unique database insight identifier */ databaseInsightId: pulumi.Input; } //# sourceMappingURL=getDatabaseInsight.d.ts.map