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, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = 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", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
});
example, err := DatabaseManagement.NewManagedDatabase(ctx, "managedDatabaseResource", &DatabaseManagement.ManagedDatabaseArgs{
ManagedDatabaseId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var managedDatabaseResource = new ManagedDatabase("managedDatabaseResource", ManagedDatabaseArgs.builder()
.managedDatabaseId("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.build());
managed_database_resource = oci.database_management.ManagedDatabase("managedDatabaseResource",
managed_database_id="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
})
const managedDatabaseResource = new oci.databasemanagement.ManagedDatabase("managedDatabaseResource", {
managedDatabaseId: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
});
type: oci:DatabaseManagement:ManagedDatabase
properties:
definedTags:
string: string
freeformTags:
string: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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, string>
- (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, string>
- (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]string
- (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]string
- (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,String>
- (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,String>
- (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]: string}
- (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]: string}
- (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, str]
- (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, str]
- (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>
- (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>
- (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, string> - 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
Platform stringName - The operating system of database.
- 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.
- Dbmgmt
Feature List<ManagedConfigs Database Dbmgmt Feature Config> - The list of feature configurations
- 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, string>
- 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]string - 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
Platform stringName - The operating system of database.
- 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.
- Dbmgmt
Feature []ManagedConfigs Database Dbmgmt Feature Config - The list of feature configurations
- 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]string
- 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,String> - 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
Platform StringName - The operating system of database.
- 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.
- dbmgmt
Feature List<ManagedConfigs Database Dbmgmt Feature Config> - The list of feature configurations
- 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,String>
- 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]: string} - 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
Platform stringName - The operating system of database.
- 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.
- dbmgmt
Feature ManagedConfigs Database Dbmgmt Feature Config[] - The list of feature configurations
- 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]: string}
- 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, str] - 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_
platform_ strname - The operating system of database.
- 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.
- dbmgmt_
feature_ Sequence[databasemanagement.configs Managed Database Dbmgmt Feature Config] - The list of feature configurations
- 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, str]
- 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<String> - 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
Platform StringName - The operating system of database.
- 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.
- dbmgmt
Feature List<Property Map>Configs - The list of feature configurations
- 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<String>
- 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, str]] = None,
compartment_id: Optional[str] = None,
database_platform_name: 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,
dbmgmt_feature_configs: Optional[Sequence[_databasemanagement.ManagedDatabaseDbmgmtFeatureConfigArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
deployment_type: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = 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, str]] = 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, string> - 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
Platform stringName - The operating system of database.
- 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.
- Dbmgmt
Feature List<ManagedConfigs Database Dbmgmt Feature Config> - The list of feature configurations
- Dictionary<string, string>
- (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, string>
- (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, string>
- 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]string - 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
Platform stringName - The operating system of database.
- 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.
- Dbmgmt
Feature []ManagedConfigs Database Dbmgmt Feature Config Args - The list of feature configurations
- map[string]string
- (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]string
- (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]string
- 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,String> - 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
Platform StringName - The operating system of database.
- 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.
- dbmgmt
Feature List<ManagedConfigs Database Dbmgmt Feature Config> - The list of feature configurations
- Map<String,String>
- (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,String>
- (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,String>
- 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]: string} - 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
Platform stringName - The operating system of database.
- 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.
- dbmgmt
Feature ManagedConfigs Database Dbmgmt Feature Config[] - The list of feature configurations
- {[key: string]: string}
- (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]: string}
- (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]: string}
- 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, str] - 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_
platform_ strname - The operating system of database.
- 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.
- dbmgmt_
feature_ Sequence[databasemanagement.configs Managed Database Dbmgmt Feature Config Args] - The list of feature configurations
- Mapping[str, str]
- (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, str]
- (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, str]
- 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<String> - 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
Platform StringName - The operating system of database.
- 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.
- dbmgmt
Feature List<Property Map>Configs - The list of feature configurations
- Map<String>
- (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>
- (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<String>
- 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
ManagedDatabaseDbmgmtFeatureConfig, ManagedDatabaseDbmgmtFeatureConfigArgs
- Connector
Details List<ManagedDatabase Dbmgmt Feature Config Connector Detail> - The connector details required to connect to an Oracle cloud database.
- Database
Connection List<ManagedDetails Database Dbmgmt Feature Config Database Connection Detail> - The connection details required to connect to the database.
- Feature string
- The name of the Database Management feature.
- Feature
Status string - The list of statuses for Database Management features.
- License
Model string - The Oracle license model that applies to the external database.
- Connector
Details []ManagedDatabase Dbmgmt Feature Config Connector Detail - The connector details required to connect to an Oracle cloud database.
- Database
Connection []ManagedDetails Database Dbmgmt Feature Config Database Connection Detail - The connection details required to connect to the database.
- Feature string
- The name of the Database Management feature.
- Feature
Status string - The list of statuses for Database Management features.
- License
Model string - The Oracle license model that applies to the external database.
- connector
Details List<ManagedDatabase Dbmgmt Feature Config Connector Detail> - The connector details required to connect to an Oracle cloud database.
- database
Connection List<ManagedDetails Database Dbmgmt Feature Config Database Connection Detail> - The connection details required to connect to the database.
- feature String
- The name of the Database Management feature.
- feature
Status String - The list of statuses for Database Management features.
- license
Model String - The Oracle license model that applies to the external database.
- connector
Details ManagedDatabase Dbmgmt Feature Config Connector Detail[] - The connector details required to connect to an Oracle cloud database.
- database
Connection ManagedDetails Database Dbmgmt Feature Config Database Connection Detail[] - The connection details required to connect to the database.
- feature string
- The name of the Database Management feature.
- feature
Status string - The list of statuses for Database Management features.
- license
Model string - The Oracle license model that applies to the external database.
- connector_
details Sequence[databasemanagement.Managed Database Dbmgmt Feature Config Connector Detail] - The connector details required to connect to an Oracle cloud database.
- database_
connection_ Sequence[databasemanagement.details Managed Database Dbmgmt Feature Config Database Connection Detail] - The connection details required to connect to the database.
- feature str
- The name of the Database Management feature.
- feature_
status str - The list of statuses for Database Management features.
- license_
model str - The Oracle license model that applies to the external database.
- connector
Details List<Property Map> - The connector details required to connect to an Oracle cloud database.
- database
Connection List<Property Map>Details - The connection details required to connect to the database.
- feature String
- The name of the Database Management feature.
- feature
Status String - The list of statuses for Database Management features.
- license
Model String - The Oracle license model that applies to the external database.
ManagedDatabaseDbmgmtFeatureConfigConnectorDetail, ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs
- Connector
Type string - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- Database
Connector stringId - The OCID of the external database connector.
- Management
Agent stringId - The OCID of the management agent.
- Private
End stringPoint Id - The OCID of the private endpoint.
- Connector
Type string - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- Database
Connector stringId - The OCID of the external database connector.
- Management
Agent stringId - The OCID of the management agent.
- Private
End stringPoint Id - The OCID of the private endpoint.
- connector
Type String - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- database
Connector StringId - The OCID of the external database connector.
- management
Agent StringId - The OCID of the management agent.
- private
End StringPoint Id - The OCID of the private endpoint.
- connector
Type string - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- database
Connector stringId - The OCID of the external database connector.
- management
Agent stringId - The OCID of the management agent.
- private
End stringPoint Id - The OCID of the private endpoint.
- connector_
type str - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- database_
connector_ strid - The OCID of the external database connector.
- management_
agent_ strid - The OCID of the management agent.
- private_
end_ strpoint_ id - The OCID of the private endpoint.
- connector
Type String - The list of supported connection types:
- PE: Private endpoint
- MACS: Management agent
- EXTERNAL: External database connector
- database
Connector StringId - The OCID of the external database connector.
- management
Agent StringId - The OCID of the management agent.
- private
End StringPoint Id - The OCID of the private endpoint.
ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail, ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs
- Connection
Credentials List<ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection Credential> - The credentials used to connect to the database. Currently only the
DETAILS
type is supported for creating MACS connector credentials. - Connection
Strings List<ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection String> - The details of the Oracle Database connection string.
- Connection
Credentials []ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection Credential - The credentials used to connect to the database. Currently only the
DETAILS
type is supported for creating MACS connector credentials. - Connection
Strings []ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection String - The details of the Oracle Database connection string.
- connection
Credentials List<ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection Credential> - The credentials used to connect to the database. Currently only the
DETAILS
type is supported for creating MACS connector credentials. - connection
Strings List<ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection String> - The details of the Oracle Database connection string.
- connection
Credentials ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection Credential[] - The credentials used to connect to the database. Currently only the
DETAILS
type is supported for creating MACS connector credentials. - connection
Strings ManagedDatabase Dbmgmt Feature Config Database Connection Detail Connection String[] - The details of the Oracle Database connection string.
- connection_
credentials Sequence[databasemanagement.Managed Database Dbmgmt Feature Config Database Connection Detail Connection Credential] - The credentials used to connect to the database. Currently only the
DETAILS
type is supported for creating MACS connector credentials. - connection_
strings Sequence[databasemanagement.Managed Database Dbmgmt Feature Config Database Connection Detail Connection String] - The details of the Oracle Database connection string.
- connection
Credentials List<Property Map> - The credentials used to connect to the database. Currently only the
DETAILS
type is supported for creating MACS connector credentials. - connection
Strings List<Property Map> - The details of the Oracle Database connection string.
ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential, ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs
- Credential
Name string - The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. IMPORTANT - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.
- Credential
Type string - The type of credential used to connect to the database.
- Named
Credential stringId - The OCID of the Named Credential where the database password metadata is stored.
- Password
Secret stringId - The OCID of the secret containing the user password.
- Role string
- The role of the user connecting to the database.
- Ssl
Secret stringId - The OCID of the secret containing the SSL keystore and truststore details.
- User
Name string - The user name used to connect to the database.
- Credential
Name string - The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. IMPORTANT - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.
- Credential
Type string - The type of credential used to connect to the database.
- Named
Credential stringId - The OCID of the Named Credential where the database password metadata is stored.
- Password
Secret stringId - The OCID of the secret containing the user password.
- Role string
- The role of the user connecting to the database.
- Ssl
Secret stringId - The OCID of the secret containing the SSL keystore and truststore details.
- User
Name string - The user name used to connect to the database.
- credential
Name String - The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. IMPORTANT - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.
- credential
Type String - The type of credential used to connect to the database.
- named
Credential StringId - The OCID of the Named Credential where the database password metadata is stored.
- password
Secret StringId - The OCID of the secret containing the user password.
- role String
- The role of the user connecting to the database.
- ssl
Secret StringId - The OCID of the secret containing the SSL keystore and truststore details.
- user
Name String - The user name used to connect to the database.
- credential
Name string - The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. IMPORTANT - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.
- credential
Type string - The type of credential used to connect to the database.
- named
Credential stringId - The OCID of the Named Credential where the database password metadata is stored.
- password
Secret stringId - The OCID of the secret containing the user password.
- role string
- The role of the user connecting to the database.
- ssl
Secret stringId - The OCID of the secret containing the SSL keystore and truststore details.
- user
Name string - The user name used to connect to the database.
- credential_
name str - The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. IMPORTANT - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.
- credential_
type str - The type of credential used to connect to the database.
- named_
credential_ strid - The OCID of the Named Credential where the database password metadata is stored.
- password_
secret_ strid - The OCID of the secret containing the user password.
- role str
- The role of the user connecting to the database.
- ssl_
secret_ strid - The OCID of the secret containing the SSL keystore and truststore details.
- user_
name str - The user name used to connect to the database.
- credential
Name String - The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. IMPORTANT - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.
- credential
Type String - The type of credential used to connect to the database.
- named
Credential StringId - The OCID of the Named Credential where the database password metadata is stored.
- password
Secret StringId - The OCID of the secret containing the user password.
- role String
- The role of the user connecting to the database.
- ssl
Secret StringId - The OCID of the secret containing the SSL keystore and truststore details.
- user
Name String - The user name used to connect to the database.
ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString, ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs
- Connection
Type string - The list of supported connection types:
- BASIC: Basic connection details
- Port int
- The port number used to connect to the database.
- Protocol string
- The protocol used to connect to the database.
- Service string
- The service name of the database.
- Connection
Type string - The list of supported connection types:
- BASIC: Basic connection details
- Port int
- The port number used to connect to the database.
- Protocol string
- The protocol used to connect to the database.
- Service string
- The service name of the database.
- connection
Type String - The list of supported connection types:
- BASIC: Basic connection details
- port Integer
- The port number used to connect to the database.
- protocol String
- The protocol used to connect to the database.
- service String
- The service name of the database.
- connection
Type string - The list of supported connection types:
- BASIC: Basic connection details
- port number
- The port number used to connect to the database.
- protocol string
- The protocol used to connect to the database.
- service string
- The service name of the database.
- connection_
type str - The list of supported connection types:
- BASIC: Basic connection details
- port int
- The port number used to connect to the database.
- protocol str
- The protocol used to connect to the database.
- service str
- The service name of the database.
- connection
Type String - The list of supported connection types:
- BASIC: Basic connection details
- port Number
- The port number used to connect to the database.
- protocol String
- The protocol used to connect to the database.
- service String
- The service name of the database.
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.