Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi
oci.DatabaseManagement.getManagedDatabase
Explore with Pulumi AI
This data source provides details about a specific Managed Database resource in Oracle Cloud Infrastructure Database Management service.
Gets the details for the Managed Database specified by managedDatabaseId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagedDatabase = oci.DatabaseManagement.getManagedDatabase({
managedDatabaseId: testManagedDatabaseOciDatabaseManagementManagedDatabase.id,
});
import pulumi
import pulumi_oci as oci
test_managed_database = oci.DatabaseManagement.get_managed_database(managed_database_id=test_managed_database_oci_database_management_managed_database["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := DatabaseManagement.GetManagedDatabase(ctx, &databasemanagement.GetManagedDatabaseArgs{
ManagedDatabaseId: testManagedDatabaseOciDatabaseManagementManagedDatabase.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testManagedDatabase = Oci.DatabaseManagement.GetManagedDatabase.Invoke(new()
{
ManagedDatabaseId = testManagedDatabaseOciDatabaseManagementManagedDatabase.Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseManagement.DatabaseManagementFunctions;
import com.pulumi.oci.DatabaseManagement.inputs.GetManagedDatabaseArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testManagedDatabase = DatabaseManagementFunctions.getManagedDatabase(GetManagedDatabaseArgs.builder()
.managedDatabaseId(testManagedDatabaseOciDatabaseManagementManagedDatabase.id())
.build());
}
}
variables:
testManagedDatabase:
fn::invoke:
Function: oci:DatabaseManagement:getManagedDatabase
Arguments:
managedDatabaseId: ${testManagedDatabaseOciDatabaseManagementManagedDatabase.id}
Using getManagedDatabase
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getManagedDatabase(args: GetManagedDatabaseArgs, opts?: InvokeOptions): Promise<GetManagedDatabaseResult>
function getManagedDatabaseOutput(args: GetManagedDatabaseOutputArgs, opts?: InvokeOptions): Output<GetManagedDatabaseResult>
def get_managed_database(database_platform_name: Optional[str] = None,
managed_database_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedDatabaseResult
def get_managed_database_output(database_platform_name: Optional[pulumi.Input[str]] = None,
managed_database_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetManagedDatabaseResult]
func GetManagedDatabase(ctx *Context, args *GetManagedDatabaseArgs, opts ...InvokeOption) (*GetManagedDatabaseResult, error)
func GetManagedDatabaseOutput(ctx *Context, args *GetManagedDatabaseOutputArgs, opts ...InvokeOption) GetManagedDatabaseResultOutput
> Note: This function is named GetManagedDatabase
in the Go SDK.
public static class GetManagedDatabase
{
public static Task<GetManagedDatabaseResult> InvokeAsync(GetManagedDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetManagedDatabaseResult> Invoke(GetManagedDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedDatabaseResult> getManagedDatabase(GetManagedDatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:DatabaseManagement/getManagedDatabase:getManagedDatabase
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
Database stringId - The OCID of the Managed Database.
- Database
Platform stringName - The operating system of database.
- Managed
Database stringId - The OCID of the Managed Database.
- Database
Platform stringName - The operating system of database.
- managed
Database StringId - The OCID of the Managed Database.
- database
Platform StringName - The operating system of database.
- managed
Database stringId - The OCID of the Managed Database.
- database
Platform stringName - The operating system of database.
- managed_
database_ strid - The OCID of the Managed Database.
- database_
platform_ strname - The operating system of database.
- managed
Database StringId - The OCID of the Managed Database.
- database
Platform StringName - The operating system of database.
getManagedDatabase Result
The following output properties are available:
- 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
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<GetConfigs Managed Database Dbmgmt Feature Config> - The list of feature configurations
- Dictionary<string, string>
- 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>
- 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"}
- 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<GetGroups Managed Database Managed Database Group> - A list of Managed Database Groups that the Managed Database belongs to.
- Managed
Database stringId - 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.
- Database
Platform stringName - The operating system of 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
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 []GetConfigs Managed Database Dbmgmt Feature Config - The list of feature configurations
- map[string]string
- 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
- 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"}
- 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 []GetGroups Managed Database Managed Database Group - A list of Managed Database Groups that the Managed Database belongs to.
- Managed
Database stringId - 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.
- Database
Platform stringName - The operating system of 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
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<GetConfigs Managed Database Dbmgmt Feature Config> - The list of feature configurations
- Map<String,String>
- 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>
- 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"}
- 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<GetGroups Managed Database Managed Database Group> - A list of Managed Database Groups that the Managed Database belongs to.
- managed
Database StringId - 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.
- database
Platform StringName - The operating system of 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
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 GetConfigs Managed Database Dbmgmt Feature Config[] - The list of feature configurations
- {[key: string]: string}
- 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}
- 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"}
- 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 GetGroups Managed Database Managed Database Group[] - A list of Managed Database Groups that the Managed Database belongs to.
- managed
Database stringId - 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.
- database
Platform stringName - The operating system of 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_
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 Get Managed Database Dbmgmt Feature Config] - The list of feature configurations
- Mapping[str, str]
- 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]
- 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"}
- 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 Get Managed Database Managed Database Group] - A list of Managed Database Groups that the Managed Database belongs to.
- managed_
database_ strid - 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.
- database_
platform_ strname - The operating system of 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
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>
- 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>
- 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"}
- 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.
- managed
Database StringId - 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.
- database
Platform StringName - The operating system of database.
Supporting Types
GetManagedDatabaseDbmgmtFeatureConfig
- Connector
Details List<GetManaged Database Dbmgmt Feature Config Connector Detail> - The connector details required to connect to an Oracle cloud database.
- Database
Connection List<GetDetails Managed 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 []GetManaged Database Dbmgmt Feature Config Connector Detail - The connector details required to connect to an Oracle cloud database.
- Database
Connection []GetDetails Managed 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<GetManaged Database Dbmgmt Feature Config Connector Detail> - The connector details required to connect to an Oracle cloud database.
- database
Connection List<GetDetails Managed 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 GetManaged Database Dbmgmt Feature Config Connector Detail[] - The connector details required to connect to an Oracle cloud database.
- database
Connection GetDetails Managed 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.Get Managed Database Dbmgmt Feature Config Connector Detail] - The connector details required to connect to an Oracle cloud database.
- database_
connection_ Sequence[databasemanagement.details Get 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.
GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail
- 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.
GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail
- Connection
Credentials List<GetManaged 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 List<GetManaged Database Dbmgmt Feature Config Database Connection Detail Connection String> - The details of the Oracle Database connection string.
- Connection
Credentials []GetManaged 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 []GetManaged Database Dbmgmt Feature Config Database Connection Detail Connection String - The details of the Oracle Database connection string.
- connection
Credentials List<GetManaged 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 List<GetManaged Database Dbmgmt Feature Config Database Connection Detail Connection String> - The details of the Oracle Database connection string.
- connection
Credentials GetManaged 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 GetManaged Database Dbmgmt Feature Config Database Connection Detail Connection String[] - The details of the Oracle Database connection string.
- connection_
credentials Sequence[databasemanagement.Get 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.Get 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.
GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential
- 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.
GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString
- 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.
GetManagedDatabaseManagedDatabaseGroup
- 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.