oci.DatabaseManagement.ManagedDatabase
Explore with Pulumi AI
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.
Constructor 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:
- Managed
Database stringId 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
- 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"}
- 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"}
- Managed
Database stringId 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
- 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"}
- 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"}
- managed
Database StringId 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
- 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"}
- 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"}
- managed
Database stringId 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
- {[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"}
- {[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_ strid 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
- 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"}
- 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"}
- managed
Database StringId 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
- 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"}
- 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:
- Additional
Details Dictionary<string, object> - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string - The OCID of the compartment in which the Managed Database Group resides.
- Database
Status string - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- Database
Sub stringType - 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 string - The type of Oracle Database installation.
- Database
Version string - The Oracle Database version.
- Db
System stringId - The OCID of the external DB system that this Managed Database is part of.
- Deployment
Type string - The infrastructure used to deploy the Oracle Database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Cluster bool - Indicates whether the Oracle Database is part of a cluster.
- Managed
Database List<ManagedGroups Database Managed Database Group> - A list of Managed Database Groups that the Managed Database belongs to.
- Management
Option string - The management option used when enabling Database Management.
- Name string
- The name of the Managed Database.
- Parent
Container stringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- Storage
System stringId - The OCID of the storage DB system.
- 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"}
- Time
Created string - The date and time the Managed Database was created.
- Workload
Type string - The workload type of the Autonomous Database.
- Additional
Details map[string]interface{} - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string - The OCID of the compartment in which the Managed Database Group resides.
- Database
Status string - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- Database
Sub stringType - 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 string - The type of Oracle Database installation.
- Database
Version string - The Oracle Database version.
- Db
System stringId - The OCID of the external DB system that this Managed Database is part of.
- Deployment
Type string - The infrastructure used to deploy the Oracle Database.
- Id string
- The provider-assigned unique ID for this managed resource.
- Is
Cluster bool - Indicates whether the Oracle Database is part of a cluster.
- Managed
Database []ManagedGroups Database Managed Database Group - A list of Managed Database Groups that the Managed Database belongs to.
- Management
Option string - The management option used when enabling Database Management.
- Name string
- The name of the Managed Database.
- Parent
Container stringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- Storage
System stringId - The OCID of the storage DB system.
- 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"}
- Time
Created string - The date and time the Managed Database was created.
- Workload
Type string - The workload type of the Autonomous Database.
- additional
Details Map<String,Object> - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String - The OCID of the compartment in which the Managed Database Group resides.
- database
Status String - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- database
Sub StringType - 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 String - The type of Oracle Database installation.
- database
Version String - The Oracle Database version.
- db
System StringId - The OCID of the external DB system that this Managed Database is part of.
- deployment
Type String - The infrastructure used to deploy the Oracle Database.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Cluster Boolean - Indicates whether the Oracle Database is part of a cluster.
- managed
Database List<ManagedGroups Database Managed Database Group> - A list of Managed Database Groups that the Managed Database belongs to.
- management
Option String - The management option used when enabling Database Management.
- name String
- The name of the Managed Database.
- parent
Container StringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage
System StringId - The OCID of the storage DB system.
- 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"}
- time
Created String - The date and time the Managed Database was created.
- workload
Type String - The workload type of the Autonomous Database.
- additional
Details {[key: string]: any} - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id string - The OCID of the compartment in which the Managed Database Group resides.
- database
Status string - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- database
Sub stringType - 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 string - The type of Oracle Database installation.
- database
Version string - The Oracle Database version.
- db
System stringId - The OCID of the external DB system that this Managed Database is part of.
- deployment
Type string - The infrastructure used to deploy the Oracle Database.
- id string
- The provider-assigned unique ID for this managed resource.
- is
Cluster boolean - Indicates whether the Oracle Database is part of a cluster.
- managed
Database ManagedGroups Database Managed Database Group[] - A list of Managed Database Groups that the Managed Database belongs to.
- management
Option string - The management option used when enabling Database Management.
- name string
- The name of the Managed Database.
- parent
Container stringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage
System stringId - The OCID of the storage DB system.
- {[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"}
- time
Created string - The date and time the Managed Database was created.
- workload
Type 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_ strtype - 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_ strid - 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_ Sequence[databasemanagement.groups Managed Database Managed Database Group] - 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_ strid - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage_
system_ strid - The OCID of the storage DB system.
- 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.
- additional
Details Map<Any> - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String - The OCID of the compartment in which the Managed Database Group resides.
- database
Status String - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- database
Sub StringType - 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 String - The type of Oracle Database installation.
- database
Version String - The Oracle Database version.
- db
System StringId - The OCID of the external DB system that this Managed Database is part of.
- deployment
Type String - The infrastructure used to deploy the Oracle Database.
- id String
- The provider-assigned unique ID for this managed resource.
- is
Cluster Boolean - Indicates whether the Oracle Database is part of a cluster.
- managed
Database List<Property Map>Groups - A list of Managed Database Groups that the Managed Database belongs to.
- management
Option String - The management option used when enabling Database Management.
- name String
- The name of the Managed Database.
- parent
Container StringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage
System StringId - The OCID of the storage DB system.
- 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"}
- time
Created String - The date and time the Managed Database was created.
- workload
Type 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.
- Additional
Details Dictionary<string, object> - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string - The OCID of the compartment in which the Managed Database Group resides.
- Database
Status string - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- Database
Sub stringType - 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 string - The type of Oracle Database installation.
- Database
Version string - The Oracle Database version.
- Db
System stringId - The OCID of the external DB system that this Managed Database is part of.
- 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"}
- Deployment
Type string - The infrastructure used to deploy the Oracle Database.
- 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"}
- Is
Cluster bool - Indicates whether the Oracle Database is part of a cluster.
- Managed
Database List<ManagedGroups Database Managed Database Group> - A list of Managed Database Groups that the Managed Database belongs to.
- Managed
Database stringId 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 string - The management option used when enabling Database Management.
- Name string
- The name of the Managed Database.
- Parent
Container stringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- Storage
System stringId - The OCID of the storage DB system.
- 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"}
- Time
Created string - The date and time the Managed Database was created.
- Workload
Type string - The workload type of the Autonomous Database.
- Additional
Details map[string]interface{} - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- Compartment
Id string - The OCID of the compartment in which the Managed Database Group resides.
- Database
Status string - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- Database
Sub stringType - 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 string - The type of Oracle Database installation.
- Database
Version string - The Oracle Database version.
- Db
System stringId - The OCID of the external DB system that this Managed Database is part of.
- 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"}
- Deployment
Type string - The infrastructure used to deploy the Oracle Database.
- 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"}
- Is
Cluster bool - Indicates whether the Oracle Database is part of a cluster.
- Managed
Database []ManagedGroups Database Managed Database Group Args - A list of Managed Database Groups that the Managed Database belongs to.
- Managed
Database stringId 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 string - The management option used when enabling Database Management.
- Name string
- The name of the Managed Database.
- Parent
Container stringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- Storage
System stringId - The OCID of the storage DB system.
- 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"}
- Time
Created string - The date and time the Managed Database was created.
- Workload
Type string - The workload type of the Autonomous Database.
- additional
Details Map<String,Object> - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String - The OCID of the compartment in which the Managed Database Group resides.
- database
Status String - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- database
Sub StringType - 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 String - The type of Oracle Database installation.
- database
Version String - The Oracle Database version.
- db
System StringId - The OCID of the external DB system that this Managed Database is part of.
- 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"}
- deployment
Type String - The infrastructure used to deploy the Oracle Database.
- 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"}
- is
Cluster Boolean - Indicates whether the Oracle Database is part of a cluster.
- managed
Database List<ManagedGroups Database Managed Database Group> - A list of Managed Database Groups that the Managed Database belongs to.
- managed
Database StringId 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 String - The management option used when enabling Database Management.
- name String
- The name of the Managed Database.
- parent
Container StringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage
System StringId - The OCID of the storage DB system.
- 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"}
- time
Created String - The date and time the Managed Database was created.
- workload
Type String - The workload type of the Autonomous Database.
- additional
Details {[key: string]: any} - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id string - The OCID of the compartment in which the Managed Database Group resides.
- database
Status string - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- database
Sub stringType - 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 string - The type of Oracle Database installation.
- database
Version string - The Oracle Database version.
- db
System stringId - The OCID of the external DB system that this Managed Database is part of.
- {[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"}
- deployment
Type string - The infrastructure used to deploy the Oracle Database.
- {[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"}
- is
Cluster boolean - Indicates whether the Oracle Database is part of a cluster.
- managed
Database ManagedGroups Database Managed Database Group[] - A list of Managed Database Groups that the Managed Database belongs to.
- managed
Database stringId 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 string - The management option used when enabling Database Management.
- name string
- The name of the Managed Database.
- parent
Container stringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage
System stringId - The OCID of the storage DB system.
- {[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"}
- time
Created string - The date and time the Managed Database was created.
- workload
Type 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_ strtype - 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_ strid - The OCID of the external DB system that this Managed Database is part of.
- 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.
- 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_ Sequence[databasemanagement.groups Managed Database Managed Database Group Args] - A list of Managed Database Groups that the Managed Database belongs to.
- managed_
database_ strid 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_ strid - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage_
system_ strid - The OCID of the storage DB system.
- 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.
- additional
Details Map<Any> - The additional details specific to a type of database defined in
{"key": "value"}
format. Example:{"bar-key": "value"}
- compartment
Id String - The OCID of the compartment in which the Managed Database Group resides.
- database
Status String - The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
- database
Sub StringType - 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 String - The type of Oracle Database installation.
- database
Version String - The Oracle Database version.
- db
System StringId - The OCID of the external DB system that this Managed Database is part of.
- 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"}
- deployment
Type String - The infrastructure used to deploy the Oracle Database.
- 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"}
- is
Cluster Boolean - Indicates whether the Oracle Database is part of a cluster.
- managed
Database List<Property Map>Groups - A list of Managed Database Groups that the Managed Database belongs to.
- managed
Database StringId 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 String - The management option used when enabling Database Management.
- name String
- The name of the Managed Database.
- parent
Container StringId - The OCID of the parent Container Database if Managed Database is a Pluggable Database.
- storage
System StringId - The OCID of the storage DB system.
- 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"}
- time
Created String - The date and time the Managed Database was created.
- workload
Type String - The workload type of the Autonomous Database.
Supporting Types
ManagedDatabaseManagedDatabaseGroup, ManagedDatabaseManagedDatabaseGroupArgs
- Compartment
Id 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 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 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 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.
- compartment
Id 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.