1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseManagement
  5. getExternalDatabases
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.DatabaseManagement.getExternalDatabases

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of External Databases in Oracle Cloud Infrastructure Database Management service.

    Lists the external databases in the specified compartment or in the specified DB system.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testExternalDatabases = oci.DatabaseManagement.getExternalDatabases({
        compartmentId: compartmentId,
        displayName: externalDatabaseDisplayName,
        externalDatabaseId: testExternalDatabase.id,
        externalDbSystemId: testExternalDbSystem.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_external_databases = oci.DatabaseManagement.get_external_databases(compartment_id=compartment_id,
        display_name=external_database_display_name,
        external_database_id=test_external_database["id"],
        external_db_system_id=test_external_db_system["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.GetExternalDatabases(ctx, &databasemanagement.GetExternalDatabasesArgs{
    			CompartmentId:      pulumi.StringRef(compartmentId),
    			DisplayName:        pulumi.StringRef(externalDatabaseDisplayName),
    			ExternalDatabaseId: pulumi.StringRef(testExternalDatabase.Id),
    			ExternalDbSystemId: pulumi.StringRef(testExternalDbSystem.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 testExternalDatabases = Oci.DatabaseManagement.GetExternalDatabases.Invoke(new()
        {
            CompartmentId = compartmentId,
            DisplayName = externalDatabaseDisplayName,
            ExternalDatabaseId = testExternalDatabase.Id,
            ExternalDbSystemId = testExternalDbSystem.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.GetExternalDatabasesArgs;
    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 testExternalDatabases = DatabaseManagementFunctions.getExternalDatabases(GetExternalDatabasesArgs.builder()
                .compartmentId(compartmentId)
                .displayName(externalDatabaseDisplayName)
                .externalDatabaseId(testExternalDatabase.id())
                .externalDbSystemId(testExternalDbSystem.id())
                .build());
    
        }
    }
    
    variables:
      testExternalDatabases:
        fn::invoke:
          Function: oci:DatabaseManagement:getExternalDatabases
          Arguments:
            compartmentId: ${compartmentId}
            displayName: ${externalDatabaseDisplayName}
            externalDatabaseId: ${testExternalDatabase.id}
            externalDbSystemId: ${testExternalDbSystem.id}
    

    Using getExternalDatabases

    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 getExternalDatabases(args: GetExternalDatabasesArgs, opts?: InvokeOptions): Promise<GetExternalDatabasesResult>
    function getExternalDatabasesOutput(args: GetExternalDatabasesOutputArgs, opts?: InvokeOptions): Output<GetExternalDatabasesResult>
    def get_external_databases(compartment_id: Optional[str] = None,
                               display_name: Optional[str] = None,
                               external_database_id: Optional[str] = None,
                               external_db_system_id: Optional[str] = None,
                               filters: Optional[Sequence[_databasemanagement.GetExternalDatabasesFilter]] = None,
                               opts: Optional[InvokeOptions] = None) -> GetExternalDatabasesResult
    def get_external_databases_output(compartment_id: Optional[pulumi.Input[str]] = None,
                               display_name: Optional[pulumi.Input[str]] = None,
                               external_database_id: Optional[pulumi.Input[str]] = None,
                               external_db_system_id: Optional[pulumi.Input[str]] = None,
                               filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasemanagement.GetExternalDatabasesFilterArgs]]]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetExternalDatabasesResult]
    func GetExternalDatabases(ctx *Context, args *GetExternalDatabasesArgs, opts ...InvokeOption) (*GetExternalDatabasesResult, error)
    func GetExternalDatabasesOutput(ctx *Context, args *GetExternalDatabasesOutputArgs, opts ...InvokeOption) GetExternalDatabasesResultOutput

    > Note: This function is named GetExternalDatabases in the Go SDK.

    public static class GetExternalDatabases 
    {
        public static Task<GetExternalDatabasesResult> InvokeAsync(GetExternalDatabasesArgs args, InvokeOptions? opts = null)
        public static Output<GetExternalDatabasesResult> Invoke(GetExternalDatabasesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetExternalDatabasesResult> getExternalDatabases(GetExternalDatabasesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:DatabaseManagement/getExternalDatabases:getExternalDatabases
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to only return the resources that match the entire display name.
    ExternalDatabaseId string
    The OCID of the external database.
    ExternalDbSystemId string
    The OCID of the external DB system.
    Filters List<GetExternalDatabasesFilter>
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to only return the resources that match the entire display name.
    ExternalDatabaseId string
    The OCID of the external database.
    ExternalDbSystemId string
    The OCID of the external DB system.
    Filters []GetExternalDatabasesFilter
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to only return the resources that match the entire display name.
    externalDatabaseId String
    The OCID of the external database.
    externalDbSystemId String
    The OCID of the external DB system.
    filters List<GetExternalDatabasesFilter>
    compartmentId string
    The OCID of the compartment.
    displayName string
    A filter to only return the resources that match the entire display name.
    externalDatabaseId string
    The OCID of the external database.
    externalDbSystemId string
    The OCID of the external DB system.
    filters GetExternalDatabasesFilter[]
    compartment_id str
    The OCID of the compartment.
    display_name str
    A filter to only return the resources that match the entire display name.
    external_database_id str
    The OCID of the external database.
    external_db_system_id str
    The OCID of the external DB system.
    filters Sequence[databasemanagement.GetExternalDatabasesFilter]
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to only return the resources that match the entire display name.
    externalDatabaseId String
    The OCID of the external database.
    externalDbSystemId String
    The OCID of the external DB system.
    filters List<Property Map>

    getExternalDatabases Result

    The following output properties are available:

    ExternalDatabaseCollections List<GetExternalDatabasesExternalDatabaseCollection>
    The list of external_database_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    ExternalDatabaseId string
    ExternalDbSystemId string
    Filters List<GetExternalDatabasesFilter>
    ExternalDatabaseCollections []GetExternalDatabasesExternalDatabaseCollection
    The list of external_database_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    The user-friendly name for the database. The name does not have to be unique.
    ExternalDatabaseId string
    ExternalDbSystemId string
    Filters []GetExternalDatabasesFilter
    externalDatabaseCollections List<GetExternalDatabasesExternalDatabaseCollection>
    The list of external_database_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    compartmentId String
    The OCID of the compartment.
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    externalDatabaseId String
    externalDbSystemId String
    filters List<GetExternalDatabasesFilter>
    externalDatabaseCollections GetExternalDatabasesExternalDatabaseCollection[]
    The list of external_database_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    compartmentId string
    The OCID of the compartment.
    displayName string
    The user-friendly name for the database. The name does not have to be unique.
    externalDatabaseId string
    externalDbSystemId string
    filters GetExternalDatabasesFilter[]
    external_database_collections Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollection]
    The list of external_database_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    compartment_id str
    The OCID of the compartment.
    display_name str
    The user-friendly name for the database. The name does not have to be unique.
    external_database_id str
    external_db_system_id str
    filters Sequence[databasemanagement.GetExternalDatabasesFilter]
    externalDatabaseCollections List<Property Map>
    The list of external_database_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    compartmentId String
    The OCID of the compartment.
    displayName String
    The user-friendly name for the database. The name does not have to be unique.
    externalDatabaseId String
    externalDbSystemId String
    filters List<Property Map>

    Supporting Types

    GetExternalDatabasesExternalDatabaseCollection

    items List<Property Map>
    An array of external databases.

    GetExternalDatabasesExternalDatabaseCollectionItem

    CompartmentId string
    The OCID of the compartment.
    DatabasePlatformName string
    The operating system of database.
    DatabaseSubType string
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.
    DatabaseType string
    The type of Oracle Database installation.
    DatabaseVersion string
    The Oracle database version.
    DbManagementConfigs List<GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig>
    The configuration of the Database Management service.
    DbSystemInfos List<GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo>
    The basic information about an external DB system.
    DbUniqueName string
    The DB_UNIQUE_NAME of the external database.
    DbmgmtFeatureConfigs List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig>
    The list of feature configurations
    DefinedTags 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"}
    DisplayName string
    A filter to only return the resources that match the entire display name.
    ExternalContainerDatabaseId string
    The OCID of the parent Container Database (CDB) if this is a Pluggable Database (PDB).
    ExternalDbHomeId string
    The OCID of the external DB home.
    FreeformTags 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 OCID of the external DB system.
    InstanceDetails List<GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail>
    The list of database instances if the database is a RAC database.
    State string
    The current lifecycle state of the external database resource.
    SystemTags 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"}
    TimeCreated string
    The date and time the external DB system was created.
    CompartmentId string
    The OCID of the compartment.
    DatabasePlatformName string
    The operating system of database.
    DatabaseSubType string
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.
    DatabaseType string
    The type of Oracle Database installation.
    DatabaseVersion string
    The Oracle database version.
    DbManagementConfigs []GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig
    The configuration of the Database Management service.
    DbSystemInfos []GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo
    The basic information about an external DB system.
    DbUniqueName string
    The DB_UNIQUE_NAME of the external database.
    DbmgmtFeatureConfigs []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig
    The list of feature configurations
    DefinedTags 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"}
    DisplayName string
    A filter to only return the resources that match the entire display name.
    ExternalContainerDatabaseId string
    The OCID of the parent Container Database (CDB) if this is a Pluggable Database (PDB).
    ExternalDbHomeId string
    The OCID of the external DB home.
    FreeformTags 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 OCID of the external DB system.
    InstanceDetails []GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail
    The list of database instances if the database is a RAC database.
    State string
    The current lifecycle state of the external database resource.
    SystemTags 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"}
    TimeCreated string
    The date and time the external DB system was created.
    compartmentId String
    The OCID of the compartment.
    databasePlatformName String
    The operating system of database.
    databaseSubType String
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.
    databaseType String
    The type of Oracle Database installation.
    databaseVersion String
    The Oracle database version.
    dbManagementConfigs List<GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig>
    The configuration of the Database Management service.
    dbSystemInfos List<GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo>
    The basic information about an external DB system.
    dbUniqueName String
    The DB_UNIQUE_NAME of the external database.
    dbmgmtFeatureConfigs List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig>
    The list of feature configurations
    definedTags 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"}
    displayName String
    A filter to only return the resources that match the entire display name.
    externalContainerDatabaseId String
    The OCID of the parent Container Database (CDB) if this is a Pluggable Database (PDB).
    externalDbHomeId String
    The OCID of the external DB home.
    freeformTags 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 OCID of the external DB system.
    instanceDetails List<GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail>
    The list of database instances if the database is a RAC database.
    state String
    The current lifecycle state of the external database resource.
    systemTags 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"}
    timeCreated String
    The date and time the external DB system was created.
    compartmentId string
    The OCID of the compartment.
    databasePlatformName string
    The operating system of database.
    databaseSubType string
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.
    databaseType string
    The type of Oracle Database installation.
    databaseVersion string
    The Oracle database version.
    dbManagementConfigs GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig[]
    The configuration of the Database Management service.
    dbSystemInfos GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo[]
    The basic information about an external DB system.
    dbUniqueName string
    The DB_UNIQUE_NAME of the external database.
    dbmgmtFeatureConfigs GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig[]
    The list of feature configurations
    definedTags {[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"}
    displayName string
    A filter to only return the resources that match the entire display name.
    externalContainerDatabaseId string
    The OCID of the parent Container Database (CDB) if this is a Pluggable Database (PDB).
    externalDbHomeId string
    The OCID of the external DB home.
    freeformTags {[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 OCID of the external DB system.
    instanceDetails GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail[]
    The list of database instances if the database is a RAC database.
    state string
    The current lifecycle state of the external database resource.
    systemTags {[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"}
    timeCreated string
    The date and time the external DB system was created.
    compartment_id str
    The OCID of the compartment.
    database_platform_name str
    The operating system of database.
    database_sub_type str
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.
    database_type str
    The type of Oracle Database installation.
    database_version str
    The Oracle database version.
    db_management_configs Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig]
    The configuration of the Database Management service.
    db_system_infos Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo]
    The basic information about an external DB system.
    db_unique_name str
    The DB_UNIQUE_NAME of the external database.
    dbmgmt_feature_configs Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig]
    The list of feature configurations
    defined_tags 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"}
    display_name str
    A filter to only return the resources that match the entire display name.
    external_container_database_id str
    The OCID of the parent Container Database (CDB) if this is a Pluggable Database (PDB).
    external_db_home_id str
    The OCID of the external DB home.
    freeform_tags 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 OCID of the external DB system.
    instance_details Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail]
    The list of database instances if the database is a RAC database.
    state str
    The current lifecycle state of the external database resource.
    system_tags 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 external DB system was created.
    compartmentId String
    The OCID of the compartment.
    databasePlatformName String
    The operating system of database.
    databaseSubType String
    The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.
    databaseType String
    The type of Oracle Database installation.
    databaseVersion String
    The Oracle database version.
    dbManagementConfigs List<Property Map>
    The configuration of the Database Management service.
    dbSystemInfos List<Property Map>
    The basic information about an external DB system.
    dbUniqueName String
    The DB_UNIQUE_NAME of the external database.
    dbmgmtFeatureConfigs List<Property Map>
    The list of feature configurations
    definedTags 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"}
    displayName String
    A filter to only return the resources that match the entire display name.
    externalContainerDatabaseId String
    The OCID of the parent Container Database (CDB) if this is a Pluggable Database (PDB).
    externalDbHomeId String
    The OCID of the external DB home.
    freeformTags 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 OCID of the external DB system.
    instanceDetails List<Property Map>
    The list of database instances if the database is a RAC database.
    state String
    The current lifecycle state of the external database resource.
    systemTags 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"}
    timeCreated String
    The date and time the external DB system was created.

    GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig

    ConnectorId string
    The OCID of the external database connector.
    DatabaseManagementStatus string
    The status of the Database Management service.
    LicenseModel string
    The Oracle license model that applies to the external database.
    ConnectorId string
    The OCID of the external database connector.
    DatabaseManagementStatus string
    The status of the Database Management service.
    LicenseModel string
    The Oracle license model that applies to the external database.
    connectorId String
    The OCID of the external database connector.
    databaseManagementStatus String
    The status of the Database Management service.
    licenseModel String
    The Oracle license model that applies to the external database.
    connectorId string
    The OCID of the external database connector.
    databaseManagementStatus string
    The status of the Database Management service.
    licenseModel string
    The Oracle license model that applies to the external database.
    connector_id str
    The OCID of the external database connector.
    database_management_status str
    The status of the Database Management service.
    license_model str
    The Oracle license model that applies to the external database.
    connectorId String
    The OCID of the external database connector.
    databaseManagementStatus String
    The status of the Database Management service.
    licenseModel String
    The Oracle license model that applies to the external database.

    GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo

    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to only return the resources that match the entire display name.
    ExadataInfraInfos List<GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfo>
    The basic information about an external Exadata Infrastructure.
    Id string
    The OCID of the external DB system.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to only return the resources that match the entire display name.
    ExadataInfraInfos []GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfo
    The basic information about an external Exadata Infrastructure.
    Id string
    The OCID of the external DB system.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to only return the resources that match the entire display name.
    exadataInfraInfos List<GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfo>
    The basic information about an external Exadata Infrastructure.
    id String
    The OCID of the external DB system.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A filter to only return the resources that match the entire display name.
    exadataInfraInfos GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfo[]
    The basic information about an external Exadata Infrastructure.
    id string
    The OCID of the external DB system.
    compartment_id str
    The OCID of the compartment.
    display_name str
    A filter to only return the resources that match the entire display name.
    exadata_infra_infos Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfo]
    The basic information about an external Exadata Infrastructure.
    id str
    The OCID of the external DB system.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to only return the resources that match the entire display name.
    exadataInfraInfos List<Property Map>
    The basic information about an external Exadata Infrastructure.
    id String
    The OCID of the external DB system.

    GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfo

    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to only return the resources that match the entire display name.
    Id string
    The OCID of the external DB system.
    CompartmentId string
    The OCID of the compartment.
    DisplayName string
    A filter to only return the resources that match the entire display name.
    Id string
    The OCID of the external DB system.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to only return the resources that match the entire display name.
    id String
    The OCID of the external DB system.
    compartmentId string
    The OCID of the compartment.
    displayName string
    A filter to only return the resources that match the entire display name.
    id string
    The OCID of the external DB system.
    compartment_id str
    The OCID of the compartment.
    display_name str
    A filter to only return the resources that match the entire display name.
    id str
    The OCID of the external DB system.
    compartmentId String
    The OCID of the compartment.
    displayName String
    A filter to only return the resources that match the entire display name.
    id String
    The OCID of the external DB system.

    GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig

    ConnectorDetails List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail>
    The connector details required to connect to an Oracle cloud database.
    DatabaseConnectionDetails List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail>
    The connection details required to connect to the database.
    Feature string
    The name of the Database Management feature.
    FeatureStatus string
    The list of statuses for Database Management features.
    LicenseModel string
    The Oracle license model that applies to the external database.
    ConnectorDetails []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail
    The connector details required to connect to an Oracle cloud database.
    DatabaseConnectionDetails []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail
    The connection details required to connect to the database.
    Feature string
    The name of the Database Management feature.
    FeatureStatus string
    The list of statuses for Database Management features.
    LicenseModel string
    The Oracle license model that applies to the external database.
    connectorDetails List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail>
    The connector details required to connect to an Oracle cloud database.
    databaseConnectionDetails List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail>
    The connection details required to connect to the database.
    feature String
    The name of the Database Management feature.
    featureStatus String
    The list of statuses for Database Management features.
    licenseModel String
    The Oracle license model that applies to the external database.
    connectorDetails GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail[]
    The connector details required to connect to an Oracle cloud database.
    databaseConnectionDetails GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail[]
    The connection details required to connect to the database.
    feature string
    The name of the Database Management feature.
    featureStatus string
    The list of statuses for Database Management features.
    licenseModel string
    The Oracle license model that applies to the external database.
    connector_details Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail]
    The connector details required to connect to an Oracle cloud database.
    database_connection_details Sequence[databasemanagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail]
    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.
    connectorDetails List<Property Map>
    The connector details required to connect to an Oracle cloud database.
    databaseConnectionDetails List<Property Map>
    The connection details required to connect to the database.
    feature String
    The name of the Database Management feature.
    featureStatus String
    The list of statuses for Database Management features.
    licenseModel String
    The Oracle license model that applies to the external database.

    GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail

    ConnectorType string
    The list of supported connection types:

    • PE: Private endpoint
    • MACS: Management agent
    • EXTERNAL: External database connector
    DatabaseConnectorId string
    The OCID of the external database connector.
    ManagementAgentId string
    The OCID of the management agent.
    PrivateEndPointId string
    The OCID of the private endpoint.
    ConnectorType string
    The list of supported connection types:

    • PE: Private endpoint
    • MACS: Management agent
    • EXTERNAL: External database connector
    DatabaseConnectorId string
    The OCID of the external database connector.
    ManagementAgentId string
    The OCID of the management agent.
    PrivateEndPointId string
    The OCID of the private endpoint.
    connectorType String
    The list of supported connection types:

    • PE: Private endpoint
    • MACS: Management agent
    • EXTERNAL: External database connector
    databaseConnectorId String
    The OCID of the external database connector.
    managementAgentId String
    The OCID of the management agent.
    privateEndPointId String
    The OCID of the private endpoint.
    connectorType string
    The list of supported connection types:

    • PE: Private endpoint
    • MACS: Management agent
    • EXTERNAL: External database connector
    databaseConnectorId string
    The OCID of the external database connector.
    managementAgentId string
    The OCID of the management agent.
    privateEndPointId string
    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_id str
    The OCID of the external database connector.
    management_agent_id str
    The OCID of the management agent.
    private_end_point_id str
    The OCID of the private endpoint.
    connectorType String
    The list of supported connection types:

    • PE: Private endpoint
    • MACS: Management agent
    • EXTERNAL: External database connector
    databaseConnectorId String
    The OCID of the external database connector.
    managementAgentId String
    The OCID of the management agent.
    privateEndPointId String
    The OCID of the private endpoint.

    GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail

    ConnectionCredentials List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential>
    The credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector credentials.
    ConnectionStrings List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString>
    The details of the Oracle Database connection string.
    ConnectionCredentials []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential
    The credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector credentials.
    ConnectionStrings []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString
    The details of the Oracle Database connection string.
    connectionCredentials List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential>
    The credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector credentials.
    connectionStrings List<GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString>
    The details of the Oracle Database connection string.
    connectionCredentials GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential[]
    The credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector credentials.
    connectionStrings GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString[]
    The details of the Oracle Database connection string.
    connectionCredentials List<Property Map>
    The credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector credentials.
    connectionStrings List<Property Map>
    The details of the Oracle Database connection string.

    GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential

    CredentialName 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.
    CredentialType string
    The type of credential used to connect to the database.
    NamedCredentialId string
    The OCID of the Named Credential where the database password metadata is stored.
    PasswordSecretId string
    The OCID of the secret containing the user password.
    Role string
    The role of the user connecting to the database.
    SslSecretId string
    The OCID of the secret containing the SSL keystore and truststore details.
    UserName string
    The user name used to connect to the database.
    CredentialName 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.
    CredentialType string
    The type of credential used to connect to the database.
    NamedCredentialId string
    The OCID of the Named Credential where the database password metadata is stored.
    PasswordSecretId string
    The OCID of the secret containing the user password.
    Role string
    The role of the user connecting to the database.
    SslSecretId string
    The OCID of the secret containing the SSL keystore and truststore details.
    UserName string
    The user name used to connect to the database.
    credentialName 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.
    credentialType String
    The type of credential used to connect to the database.
    namedCredentialId String
    The OCID of the Named Credential where the database password metadata is stored.
    passwordSecretId String
    The OCID of the secret containing the user password.
    role String
    The role of the user connecting to the database.
    sslSecretId String
    The OCID of the secret containing the SSL keystore and truststore details.
    userName String
    The user name used to connect to the database.
    credentialName 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.
    credentialType string
    The type of credential used to connect to the database.
    namedCredentialId string
    The OCID of the Named Credential where the database password metadata is stored.
    passwordSecretId string
    The OCID of the secret containing the user password.
    role string
    The role of the user connecting to the database.
    sslSecretId string
    The OCID of the secret containing the SSL keystore and truststore details.
    userName 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_id str
    The OCID of the Named Credential where the database password metadata is stored.
    password_secret_id str
    The OCID of the secret containing the user password.
    role str
    The role of the user connecting to the database.
    ssl_secret_id str
    The OCID of the secret containing the SSL keystore and truststore details.
    user_name str
    The user name used to connect to the database.
    credentialName 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.
    credentialType String
    The type of credential used to connect to the database.
    namedCredentialId String
    The OCID of the Named Credential where the database password metadata is stored.
    passwordSecretId String
    The OCID of the secret containing the user password.
    role String
    The role of the user connecting to the database.
    sslSecretId String
    The OCID of the secret containing the SSL keystore and truststore details.
    userName String
    The user name used to connect to the database.

    GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString

    ConnectionType 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.
    ConnectionType 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.
    connectionType 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.
    connectionType 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.
    connectionType 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.

    GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail

    HostName string
    The name of the host machine.
    InstanceName string
    The name of the database instance.
    InstanceNumber int
    The instance number of the database instance.
    HostName string
    The name of the host machine.
    InstanceName string
    The name of the database instance.
    InstanceNumber int
    The instance number of the database instance.
    hostName String
    The name of the host machine.
    instanceName String
    The name of the database instance.
    instanceNumber Integer
    The instance number of the database instance.
    hostName string
    The name of the host machine.
    instanceName string
    The name of the database instance.
    instanceNumber number
    The instance number of the database instance.
    host_name str
    The name of the host machine.
    instance_name str
    The name of the database instance.
    instance_number int
    The instance number of the database instance.
    hostName String
    The name of the host machine.
    instanceName String
    The name of the database instance.
    instanceNumber Number
    The instance number of the database instance.

    GetExternalDatabasesFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi