import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Managed Database resource in Oracle Cloud Infrastructure Database Management service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-management/latest/ManagedDatabase * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemanagement * * Updates the Managed Database specified by managedDatabaseId. * * ## Import * * ManagedDatabases can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DatabaseManagement/managedDatabase:ManagedDatabase test_managed_database "id" * ``` */ export declare class ManagedDatabase extends pulumi.CustomResource { /** * Get an existing ManagedDatabase 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, state?: ManagedDatabaseState, opts?: pulumi.CustomResourceOptions): ManagedDatabase; /** * Returns true if the given object is an instance of ManagedDatabase. 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 ManagedDatabase; /** * The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ readonly additionalDetails: pulumi.Output<{ [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: pulumi.Output; /** * The operating system of database. */ readonly databasePlatformName: pulumi.Output; /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. */ readonly databaseStatus: pulumi.Output; /** * 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: pulumi.Output; /** * The type of Oracle Database installation. */ readonly databaseType: pulumi.Output; /** * The Oracle Database version. */ readonly databaseVersion: pulumi.Output; /** * 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: pulumi.Output; /** * The list of feature configurations */ readonly dbmgmtFeatureConfigs: pulumi.Output; /** * (Updatable) 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: pulumi.Output<{ [key: string]: string; }>; /** * The infrastructure used to deploy the Oracle Database. */ readonly deploymentType: pulumi.Output; /** * (Updatable) 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: pulumi.Output<{ [key: string]: string; }>; /** * Indicates whether the Oracle Database is part of a cluster. */ readonly isCluster: pulumi.Output; /** * A list of Managed Database Groups that the Managed Database belongs to. */ readonly managedDatabaseGroups: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed 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 managedDatabaseId: pulumi.Output; /** * The management option used when enabling Database Management. */ readonly managementOption: pulumi.Output; /** * The name of the Managed Database. */ readonly name: pulumi.Output; /** * 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: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. */ readonly storageSystemId: pulumi.Output; /** * 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: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the Managed Database was created. */ readonly timeCreated: pulumi.Output; /** * The workload type of the Autonomous Database. */ readonly workloadType: pulumi.Output; /** * Create a ManagedDatabase 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: ManagedDatabaseArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagedDatabase resources. */ export interface ManagedDatabaseState { /** * The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` */ additionalDetails?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. */ compartmentId?: pulumi.Input; /** * The operating system of database. */ databasePlatformName?: pulumi.Input; /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. */ databaseStatus?: pulumi.Input; /** * 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. */ databaseSubType?: pulumi.Input; /** * The type of Oracle Database installation. */ databaseType?: pulumi.Input; /** * The Oracle Database version. */ databaseVersion?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system that this Managed Database is part of. */ dbSystemId?: pulumi.Input; /** * The list of feature configurations */ dbmgmtFeatureConfigs?: pulumi.Input[] | undefined>; /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The infrastructure used to deploy the Oracle Database. */ deploymentType?: pulumi.Input; /** * (Updatable) 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Indicates whether the Oracle Database is part of a cluster. */ isCluster?: pulumi.Input; /** * A list of Managed Database Groups that the Managed Database belongs to. */ managedDatabaseGroups?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed 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 */ managedDatabaseId?: pulumi.Input; /** * The management option used when enabling Database Management. */ managementOption?: pulumi.Input; /** * The name of the Managed Database. */ name?: pulumi.Input; /** * 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. */ parentContainerId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. */ storageSystemId?: pulumi.Input; /** * 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"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the Managed Database was created. */ timeCreated?: pulumi.Input; /** * The workload type of the Autonomous Database. */ workloadType?: pulumi.Input; } /** * The set of arguments for constructing a ManagedDatabase resource. */ export interface ManagedDatabaseArgs { /** * (Updatable) 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"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) 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"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed 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 */ managedDatabaseId: pulumi.Input; } //# sourceMappingURL=managedDatabase.d.ts.map