import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Managed Database resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details of the Managed Database specified by managedDatabaseId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabase = oci.databasemanagement.getManagedDatabase({ * managedDatabaseId: testManagedDatabaseOciDatabaseManagementManagedDatabase.id, * }); * ``` */ export declare function getManagedDatabase(args: GetManagedDatabaseArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedDatabase. */ export interface GetManagedDatabaseArgs { /** * The operating system of database. */ databasePlatformName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: string; } /** * A collection of values returned by getManagedDatabase. */ export interface GetManagedDatabaseResult { /** * The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ readonly additionalDetails: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. */ readonly compartmentId: string; /** * The operating system of database. */ readonly databasePlatformName?: string; /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. */ readonly databaseStatus: string; /** * The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. */ readonly databaseSubType: string; /** * The type of Oracle Database installation. */ readonly databaseType: string; /** * The Oracle Database version. */ readonly databaseVersion: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system that this Managed Database is part of. */ readonly dbSystemId: string; /** * The list of feature configurations */ readonly dbmgmtFeatureConfigs: outputs.DatabaseManagement.GetManagedDatabaseDbmgmtFeatureConfig[]; /** * 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 infrastructure used to deploy the Oracle Database. */ readonly deploymentType: 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 provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates whether the Oracle Database is part of a cluster. */ readonly isCluster: boolean; /** * A list of Managed Database Groups that the Managed Database belongs to. */ readonly managedDatabaseGroups: outputs.DatabaseManagement.GetManagedDatabaseManagedDatabaseGroup[]; readonly managedDatabaseId: string; /** * The management option used when enabling Database Management. */ readonly managementOption: string; /** * The name of the Managed Database. */ readonly name: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database if Managed Database is a Pluggable Database. */ readonly parentContainerId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. */ readonly storageSystemId: 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 Managed Database was created. */ readonly timeCreated: string; /** * The workload type of the Autonomous Database. */ readonly workloadType: string; } /** * This data source provides details about a specific Managed Database resource in Oracle Cloud Infrastructure Database Management service. * * Gets the details of the Managed Database specified by managedDatabaseId. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedDatabase = oci.databasemanagement.getManagedDatabase({ * managedDatabaseId: testManagedDatabaseOciDatabaseManagementManagedDatabase.id, * }); * ``` */ export declare function getManagedDatabaseOutput(args: GetManagedDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedDatabase. */ export interface GetManagedDatabaseOutputArgs { /** * The operating system of database. */ databasePlatformName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ managedDatabaseId: pulumi.Input; } //# sourceMappingURL=getManagedDatabase.d.ts.map