import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific External Db System resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external DB system specified by `externalDbSystemId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDbSystem = oci.databasemanagement.getExternalDbSystem({ * externalDbSystemId: testExternalDbSystemOciDatabaseManagementExternalDbSystem.id, * }); * ``` */ export declare function getExternalDbSystem(args: GetExternalDbSystemArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getExternalDbSystem. */ export interface GetExternalDbSystemArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId: string; } /** * A collection of values returned by getExternalDbSystem. */ export interface GetExternalDbSystemResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ readonly compartmentId: string; /** * The details required to enable Database Management for an external DB system. */ readonly databaseManagementConfigs: outputs.DatabaseManagement.GetExternalDbSystemDatabaseManagementConfig[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system discovery. */ readonly dbSystemDiscoveryId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used during the discovery of the DB system. */ readonly discoveryAgentId: string; /** * The user-friendly name for the DB system. The name does not have to be unique. */ readonly displayName: string; readonly externalDbSystemId: string; /** * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The Oracle Grid home directory in case of cluster-based DB system and Oracle home directory in case of single instance-based DB system. */ readonly homeDirectory: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ readonly id: string; /** * Indicates whether the DB system is a cluster DB system or not. */ readonly isCluster: boolean; /** * Additional information about the current lifecycle state. */ readonly lifecycleDetails: string; /** * The configuration details of Stack Monitoring for an external DB system. */ readonly stackMonitoringConfigs: outputs.DatabaseManagement.GetExternalDbSystemStackMonitoringConfig[]; /** * The current lifecycle state of the external DB system resource. */ readonly state: string; /** * System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * The date and time the external DB system was created. */ readonly timeCreated: string; /** * The date and time the external DB system was last updated. */ readonly timeUpdated: string; } /** * This data source provides details about a specific External Db System resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details for the external DB system specified by `externalDbSystemId`. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testExternalDbSystem = oci.databasemanagement.getExternalDbSystem({ * externalDbSystemId: testExternalDbSystemOciDatabaseManagementExternalDbSystem.id, * }); * ``` */ export declare function getExternalDbSystemOutput(args: GetExternalDbSystemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getExternalDbSystem. */ export interface GetExternalDbSystemOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. */ externalDbSystemId: pulumi.Input; } //# sourceMappingURL=getExternalDbSystem.d.ts.map