1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. ManagedDatabase
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

oci.DatabaseManagement.ManagedDatabase

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi

    This resource provides the Managed Database resource in Oracle Cloud Infrastructure Database Management service.

    Updates the Managed Database specified by managedDatabaseId.

    Create ManagedDatabase Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ManagedDatabase(name: string, args: ManagedDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def ManagedDatabase(resource_name: str,
                        args: ManagedDatabaseArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagedDatabase(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        managed_database_id: Optional[str] = None,
                        defined_tags: Optional[Mapping[str, Any]] = None,
                        freeform_tags: Optional[Mapping[str, Any]] = None)
    func NewManagedDatabase(ctx *Context, name string, args ManagedDatabaseArgs, opts ...ResourceOption) (*ManagedDatabase, error)
    public ManagedDatabase(string name, ManagedDatabaseArgs args, CustomResourceOptions? opts = null)
    public ManagedDatabase(String name, ManagedDatabaseArgs args)
    public ManagedDatabase(String name, ManagedDatabaseArgs args, CustomResourceOptions options)
    
    type: oci:DatabaseManagement:ManagedDatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ManagedDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ManagedDatabaseArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ManagedDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagedDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagedDatabaseArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var managedDatabaseResource = new Oci.DatabaseManagement.ManagedDatabase("managedDatabaseResource", new()
    {
        ManagedDatabaseId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        FreeformTags = 
        {
            { "string", "any" },
        },
    });
    
    example, err := DatabaseManagement.NewManagedDatabase(ctx, "managedDatabaseResource", &DatabaseManagement.ManagedDatabaseArgs{
    	ManagedDatabaseId: pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    })
    
    var managedDatabaseResource = new ManagedDatabase("managedDatabaseResource", ManagedDatabaseArgs.builder()        
        .managedDatabaseId("string")
        .definedTags(Map.of("string", "any"))
        .freeformTags(Map.of("string", "any"))
        .build());
    
    managed_database_resource = oci.database_management.ManagedDatabase("managedDatabaseResource",
        managed_database_id="string",
        defined_tags={
            "string": "any",
        },
        freeform_tags={
            "string": "any",
        })
    
    const managedDatabaseResource = new oci.databasemanagement.ManagedDatabase("managedDatabaseResource", {
        managedDatabaseId: "string",
        definedTags: {
            string: "any",
        },
        freeformTags: {
            string: "any",
        },
    });
    
    type: oci:DatabaseManagement:ManagedDatabase
    properties:
        definedTags:
            string: any
        freeformTags:
            string: any
        managedDatabaseId: string
    

    ManagedDatabase Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The ManagedDatabase resource accepts the following input properties:

    ManagedDatabaseId string

    The OCID 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

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags Dictionary<string, object>
    (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. Example: {"Department": "Finance"}
    ManagedDatabaseId string

    The OCID 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

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    FreeformTags map[string]interface{}
    (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. Example: {"Department": "Finance"}
    managedDatabaseId String

    The OCID 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

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<String,Object>
    (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. Example: {"Department": "Finance"}
    managedDatabaseId string

    The OCID 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

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags {[key: string]: any}
    (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. Example: {"Department": "Finance"}
    managed_database_id str

    The OCID 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

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeform_tags Mapping[str, Any]
    (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. Example: {"Department": "Finance"}
    managedDatabaseId String

    The OCID 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

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    freeformTags Map<Any>
    (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. Example: {"Department": "Finance"}

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagedDatabase resource produces the following output properties:

    AdditionalDetails Dictionary<string, object>
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CompartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    DatabaseStatus string
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    DatabaseSubType 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.
    DatabaseType string
    The type of Oracle Database installation.
    DatabaseVersion string
    The Oracle Database version.
    DbSystemId string
    The OCID of the external DB system that this Managed Database is part of.
    DeploymentType string
    The infrastructure used to deploy the Oracle Database.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCluster bool
    Indicates whether the Oracle Database is part of a cluster.
    ManagedDatabaseGroups List<ManagedDatabaseManagedDatabaseGroup>
    A list of Managed Database Groups that the Managed Database belongs to.
    ManagementOption string
    The management option used when enabling Database Management.
    Name string
    The name of the Managed Database.
    ParentContainerId string
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    StorageSystemId string
    The OCID of the storage DB system.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Managed Database was created.
    WorkloadType string
    The workload type of the Autonomous Database.
    AdditionalDetails map[string]interface{}
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CompartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    DatabaseStatus string
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    DatabaseSubType 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.
    DatabaseType string
    The type of Oracle Database installation.
    DatabaseVersion string
    The Oracle Database version.
    DbSystemId string
    The OCID of the external DB system that this Managed Database is part of.
    DeploymentType string
    The infrastructure used to deploy the Oracle Database.
    Id string
    The provider-assigned unique ID for this managed resource.
    IsCluster bool
    Indicates whether the Oracle Database is part of a cluster.
    ManagedDatabaseGroups []ManagedDatabaseManagedDatabaseGroup
    A list of Managed Database Groups that the Managed Database belongs to.
    ManagementOption string
    The management option used when enabling Database Management.
    Name string
    The name of the Managed Database.
    ParentContainerId string
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    StorageSystemId string
    The OCID of the storage DB system.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Managed Database was created.
    WorkloadType string
    The workload type of the Autonomous Database.
    additionalDetails Map<String,Object>
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartmentId String
    The OCID of the compartment in which the Managed Database Group resides.
    databaseStatus String
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    databaseSubType 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.
    databaseType String
    The type of Oracle Database installation.
    databaseVersion String
    The Oracle Database version.
    dbSystemId String
    The OCID of the external DB system that this Managed Database is part of.
    deploymentType String
    The infrastructure used to deploy the Oracle Database.
    id String
    The provider-assigned unique ID for this managed resource.
    isCluster Boolean
    Indicates whether the Oracle Database is part of a cluster.
    managedDatabaseGroups List<ManagedDatabaseManagedDatabaseGroup>
    A list of Managed Database Groups that the Managed Database belongs to.
    managementOption String
    The management option used when enabling Database Management.
    name String
    The name of the Managed Database.
    parentContainerId String
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storageSystemId String
    The OCID of the storage DB system.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Managed Database was created.
    workloadType String
    The workload type of the Autonomous Database.
    additionalDetails {[key: string]: any}
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    databaseStatus string
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    databaseSubType 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.
    databaseType string
    The type of Oracle Database installation.
    databaseVersion string
    The Oracle Database version.
    dbSystemId string
    The OCID of the external DB system that this Managed Database is part of.
    deploymentType string
    The infrastructure used to deploy the Oracle Database.
    id string
    The provider-assigned unique ID for this managed resource.
    isCluster boolean
    Indicates whether the Oracle Database is part of a cluster.
    managedDatabaseGroups ManagedDatabaseManagedDatabaseGroup[]
    A list of Managed Database Groups that the Managed Database belongs to.
    managementOption string
    The management option used when enabling Database Management.
    name string
    The name of the Managed Database.
    parentContainerId string
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storageSystemId string
    The OCID of the storage DB system.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Managed Database was created.
    workloadType string
    The workload type of the Autonomous Database.
    additional_details Mapping[str, Any]
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartment_id str
    The OCID of the compartment in which the Managed Database Group resides.
    database_status str
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    database_sub_type str
    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.
    database_type str
    The type of Oracle Database installation.
    database_version str
    The Oracle Database version.
    db_system_id str
    The OCID of the external DB system that this Managed Database is part of.
    deployment_type str
    The infrastructure used to deploy the Oracle Database.
    id str
    The provider-assigned unique ID for this managed resource.
    is_cluster bool
    Indicates whether the Oracle Database is part of a cluster.
    managed_database_groups Sequence[databasemanagement.ManagedDatabaseManagedDatabaseGroup]
    A list of Managed Database Groups that the Managed Database belongs to.
    management_option str
    The management option used when enabling Database Management.
    name str
    The name of the Managed Database.
    parent_container_id str
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storage_system_id str
    The OCID of the storage DB system.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Managed Database was created.
    workload_type str
    The workload type of the Autonomous Database.
    additionalDetails Map<Any>
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartmentId String
    The OCID of the compartment in which the Managed Database Group resides.
    databaseStatus String
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    databaseSubType 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.
    databaseType String
    The type of Oracle Database installation.
    databaseVersion String
    The Oracle Database version.
    dbSystemId String
    The OCID of the external DB system that this Managed Database is part of.
    deploymentType String
    The infrastructure used to deploy the Oracle Database.
    id String
    The provider-assigned unique ID for this managed resource.
    isCluster Boolean
    Indicates whether the Oracle Database is part of a cluster.
    managedDatabaseGroups List<Property Map>
    A list of Managed Database Groups that the Managed Database belongs to.
    managementOption String
    The management option used when enabling Database Management.
    name String
    The name of the Managed Database.
    parentContainerId String
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storageSystemId String
    The OCID of the storage DB system.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Managed Database was created.
    workloadType String
    The workload type of the Autonomous Database.

    Look up Existing ManagedDatabase Resource

    Get an existing ManagedDatabase resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ManagedDatabaseState, opts?: CustomResourceOptions): ManagedDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_details: Optional[Mapping[str, Any]] = None,
            compartment_id: Optional[str] = None,
            database_status: Optional[str] = None,
            database_sub_type: Optional[str] = None,
            database_type: Optional[str] = None,
            database_version: Optional[str] = None,
            db_system_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            deployment_type: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            is_cluster: Optional[bool] = None,
            managed_database_groups: Optional[Sequence[_databasemanagement.ManagedDatabaseManagedDatabaseGroupArgs]] = None,
            managed_database_id: Optional[str] = None,
            management_option: Optional[str] = None,
            name: Optional[str] = None,
            parent_container_id: Optional[str] = None,
            storage_system_id: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            time_created: Optional[str] = None,
            workload_type: Optional[str] = None) -> ManagedDatabase
    func GetManagedDatabase(ctx *Context, name string, id IDInput, state *ManagedDatabaseState, opts ...ResourceOption) (*ManagedDatabase, error)
    public static ManagedDatabase Get(string name, Input<string> id, ManagedDatabaseState? state, CustomResourceOptions? opts = null)
    public static ManagedDatabase get(String name, Output<String> id, ManagedDatabaseState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AdditionalDetails Dictionary<string, object>
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CompartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    DatabaseStatus string
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    DatabaseSubType 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.
    DatabaseType string
    The type of Oracle Database installation.
    DatabaseVersion string
    The Oracle Database version.
    DbSystemId string
    The OCID of the external DB system that this Managed Database is part of.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeploymentType string
    The infrastructure used to deploy the Oracle Database.
    FreeformTags Dictionary<string, object>
    (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. Example: {"Department": "Finance"}
    IsCluster bool
    Indicates whether the Oracle Database is part of a cluster.
    ManagedDatabaseGroups List<ManagedDatabaseManagedDatabaseGroup>
    A list of Managed Database Groups that the Managed Database belongs to.
    ManagedDatabaseId string

    The OCID 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

    ManagementOption string
    The management option used when enabling Database Management.
    Name string
    The name of the Managed Database.
    ParentContainerId string
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    StorageSystemId string
    The OCID of the storage DB system.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Managed Database was created.
    WorkloadType string
    The workload type of the Autonomous Database.
    AdditionalDetails map[string]interface{}
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    CompartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    DatabaseStatus string
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    DatabaseSubType 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.
    DatabaseType string
    The type of Oracle Database installation.
    DatabaseVersion string
    The Oracle Database version.
    DbSystemId string
    The OCID of the external DB system that this Managed Database is part of.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    DeploymentType string
    The infrastructure used to deploy the Oracle Database.
    FreeformTags map[string]interface{}
    (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. Example: {"Department": "Finance"}
    IsCluster bool
    Indicates whether the Oracle Database is part of a cluster.
    ManagedDatabaseGroups []ManagedDatabaseManagedDatabaseGroupArgs
    A list of Managed Database Groups that the Managed Database belongs to.
    ManagedDatabaseId string

    The OCID 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

    ManagementOption string
    The management option used when enabling Database Management.
    Name string
    The name of the Managed Database.
    ParentContainerId string
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    StorageSystemId string
    The OCID of the storage DB system.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time the Managed Database was created.
    WorkloadType string
    The workload type of the Autonomous Database.
    additionalDetails Map<String,Object>
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartmentId String
    The OCID of the compartment in which the Managed Database Group resides.
    databaseStatus String
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    databaseSubType 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.
    databaseType String
    The type of Oracle Database installation.
    databaseVersion String
    The Oracle Database version.
    dbSystemId String
    The OCID of the external DB system that this Managed Database is part of.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deploymentType String
    The infrastructure used to deploy the Oracle Database.
    freeformTags Map<String,Object>
    (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. Example: {"Department": "Finance"}
    isCluster Boolean
    Indicates whether the Oracle Database is part of a cluster.
    managedDatabaseGroups List<ManagedDatabaseManagedDatabaseGroup>
    A list of Managed Database Groups that the Managed Database belongs to.
    managedDatabaseId String

    The OCID 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

    managementOption String
    The management option used when enabling Database Management.
    name String
    The name of the Managed Database.
    parentContainerId String
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storageSystemId String
    The OCID of the storage DB system.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Managed Database was created.
    workloadType String
    The workload type of the Autonomous Database.
    additionalDetails {[key: string]: any}
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    databaseStatus string
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    databaseSubType 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.
    databaseType string
    The type of Oracle Database installation.
    databaseVersion string
    The Oracle Database version.
    dbSystemId string
    The OCID of the external DB system that this Managed Database is part of.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deploymentType string
    The infrastructure used to deploy the Oracle Database.
    freeformTags {[key: string]: any}
    (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. Example: {"Department": "Finance"}
    isCluster boolean
    Indicates whether the Oracle Database is part of a cluster.
    managedDatabaseGroups ManagedDatabaseManagedDatabaseGroup[]
    A list of Managed Database Groups that the Managed Database belongs to.
    managedDatabaseId string

    The OCID 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

    managementOption string
    The management option used when enabling Database Management.
    name string
    The name of the Managed Database.
    parentContainerId string
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storageSystemId string
    The OCID of the storage DB system.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time the Managed Database was created.
    workloadType string
    The workload type of the Autonomous Database.
    additional_details Mapping[str, Any]
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartment_id str
    The OCID of the compartment in which the Managed Database Group resides.
    database_status str
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    database_sub_type str
    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.
    database_type str
    The type of Oracle Database installation.
    database_version str
    The Oracle Database version.
    db_system_id str
    The OCID of the external DB system that this Managed Database is part of.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deployment_type str
    The infrastructure used to deploy the Oracle Database.
    freeform_tags Mapping[str, Any]
    (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. Example: {"Department": "Finance"}
    is_cluster bool
    Indicates whether the Oracle Database is part of a cluster.
    managed_database_groups Sequence[databasemanagement.ManagedDatabaseManagedDatabaseGroupArgs]
    A list of Managed Database Groups that the Managed Database belongs to.
    managed_database_id str

    The OCID 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

    management_option str
    The management option used when enabling Database Management.
    name str
    The name of the Managed Database.
    parent_container_id str
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storage_system_id str
    The OCID of the storage DB system.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time the Managed Database was created.
    workload_type str
    The workload type of the Autonomous Database.
    additionalDetails Map<Any>
    The additional details specific to a type of database defined in {"key": "value"} format. Example: {"bar-key": "value"}
    compartmentId String
    The OCID of the compartment in which the Managed Database Group resides.
    databaseStatus String
    The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
    databaseSubType 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.
    databaseType String
    The type of Oracle Database installation.
    databaseVersion String
    The Oracle Database version.
    dbSystemId String
    The OCID of the external DB system that this Managed Database is part of.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    deploymentType String
    The infrastructure used to deploy the Oracle Database.
    freeformTags Map<Any>
    (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. Example: {"Department": "Finance"}
    isCluster Boolean
    Indicates whether the Oracle Database is part of a cluster.
    managedDatabaseGroups List<Property Map>
    A list of Managed Database Groups that the Managed Database belongs to.
    managedDatabaseId String

    The OCID 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

    managementOption String
    The management option used when enabling Database Management.
    name String
    The name of the Managed Database.
    parentContainerId String
    The OCID of the parent Container Database if Managed Database is a Pluggable Database.
    storageSystemId String
    The OCID of the storage DB system.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time the Managed Database was created.
    workloadType String
    The workload type of the Autonomous Database.

    Supporting Types

    ManagedDatabaseManagedDatabaseGroup, ManagedDatabaseManagedDatabaseGroupArgs

    CompartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    Id string
    The OCID of the Managed Database Group.
    Name string
    The name of the Managed Database.
    CompartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    Id string
    The OCID of the Managed Database Group.
    Name string
    The name of the Managed Database.
    compartmentId String
    The OCID of the compartment in which the Managed Database Group resides.
    id String
    The OCID of the Managed Database Group.
    name String
    The name of the Managed Database.
    compartmentId string
    The OCID of the compartment in which the Managed Database Group resides.
    id string
    The OCID of the Managed Database Group.
    name string
    The name of the Managed Database.
    compartment_id str
    The OCID of the compartment in which the Managed Database Group resides.
    id str
    The OCID of the Managed Database Group.
    name str
    The name of the Managed Database.
    compartmentId String
    The OCID of the compartment in which the Managed Database Group resides.
    id String
    The OCID of the Managed Database Group.
    name String
    The name of the Managed Database.

    Import

    ManagedDatabases can be imported using the id, e.g.

    $ pulumi import oci:DatabaseManagement/managedDatabase:ManagedDatabase test_managed_database "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.34.0 published on Friday, May 3, 2024 by Pulumi