Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

ExternalDatabaseConnector

This resource provides the External Database Connector resource in Oracle Cloud Infrastructure Database service.

Creates a new external database connector.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testExternalDatabaseConnector = new Oci.Database.ExternalDatabaseConnector("testExternalDatabaseConnector", new Oci.Database.ExternalDatabaseConnectorArgs
        {
            ConnectionCredentials = new Oci.Database.Inputs.ExternalDatabaseConnectorConnectionCredentialsArgs
            {
                CredentialName = @var.External_database_connector_connection_credentials_credential_name,
                CredentialType = @var.External_database_connector_connection_credentials_credential_type,
                Password = @var.External_database_connector_connection_credentials_password,
                Role = @var.External_database_connector_connection_credentials_role,
                Username = @var.External_database_connector_connection_credentials_username,
            },
            ConnectionString = new Oci.Database.Inputs.ExternalDatabaseConnectorConnectionStringArgs
            {
                Hostname = @var.External_database_connector_connection_string_hostname,
                Port = @var.External_database_connector_connection_string_port,
                Protocol = @var.External_database_connector_connection_string_protocol,
                Service = @var.External_database_connector_connection_string_service,
            },
            ConnectorAgentId = oci_database_connector_agent.Test_connector_agent.Id,
            DisplayName = @var.External_database_connector_display_name,
            ExternalDatabaseId = oci_database_database.Test_database.Id,
            ConnectorType = @var.External_database_connector_connector_type,
            DefinedTags = @var.External_database_connector_defined_tags,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Database"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Database.NewExternalDatabaseConnector(ctx, "testExternalDatabaseConnector", &Database.ExternalDatabaseConnectorArgs{
			ConnectionCredentials: &database.ExternalDatabaseConnectorConnectionCredentialsArgs{
				CredentialName: pulumi.Any(_var.External_database_connector_connection_credentials_credential_name),
				CredentialType: pulumi.Any(_var.External_database_connector_connection_credentials_credential_type),
				Password:       pulumi.Any(_var.External_database_connector_connection_credentials_password),
				Role:           pulumi.Any(_var.External_database_connector_connection_credentials_role),
				Username:       pulumi.Any(_var.External_database_connector_connection_credentials_username),
			},
			ConnectionString: &database.ExternalDatabaseConnectorConnectionStringArgs{
				Hostname: pulumi.Any(_var.External_database_connector_connection_string_hostname),
				Port:     pulumi.Any(_var.External_database_connector_connection_string_port),
				Protocol: pulumi.Any(_var.External_database_connector_connection_string_protocol),
				Service:  pulumi.Any(_var.External_database_connector_connection_string_service),
			},
			ConnectorAgentId:   pulumi.Any(oci_database_connector_agent.Test_connector_agent.Id),
			DisplayName:        pulumi.Any(_var.External_database_connector_display_name),
			ExternalDatabaseId: pulumi.Any(oci_database_database.Test_database.Id),
			ConnectorType:      pulumi.Any(_var.External_database_connector_connector_type),
			DefinedTags:        pulumi.Any(_var.External_database_connector_defined_tags),
			FreeformTags: pulumi.AnyMap{
				"Department": pulumi.Any("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_external_database_connector = oci.database.ExternalDatabaseConnector("testExternalDatabaseConnector",
    connection_credentials=oci.database.ExternalDatabaseConnectorConnectionCredentialsArgs(
        credential_name=var["external_database_connector_connection_credentials_credential_name"],
        credential_type=var["external_database_connector_connection_credentials_credential_type"],
        password=var["external_database_connector_connection_credentials_password"],
        role=var["external_database_connector_connection_credentials_role"],
        username=var["external_database_connector_connection_credentials_username"],
    ),
    connection_string=oci.database.ExternalDatabaseConnectorConnectionStringArgs(
        hostname=var["external_database_connector_connection_string_hostname"],
        port=var["external_database_connector_connection_string_port"],
        protocol=var["external_database_connector_connection_string_protocol"],
        service=var["external_database_connector_connection_string_service"],
    ),
    connector_agent_id=oci_database_connector_agent["test_connector_agent"]["id"],
    display_name=var["external_database_connector_display_name"],
    external_database_id=oci_database_database["test_database"]["id"],
    connector_type=var["external_database_connector_connector_type"],
    defined_tags=var["external_database_connector_defined_tags"],
    freeform_tags={
        "Department": "Finance",
    })
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testExternalDatabaseConnector = new oci.database.ExternalDatabaseConnector("testExternalDatabaseConnector", {
    connectionCredentials: {
        credentialName: _var.external_database_connector_connection_credentials_credential_name,
        credentialType: _var.external_database_connector_connection_credentials_credential_type,
        password: _var.external_database_connector_connection_credentials_password,
        role: _var.external_database_connector_connection_credentials_role,
        username: _var.external_database_connector_connection_credentials_username,
    },
    connectionString: {
        hostname: _var.external_database_connector_connection_string_hostname,
        port: _var.external_database_connector_connection_string_port,
        protocol: _var.external_database_connector_connection_string_protocol,
        service: _var.external_database_connector_connection_string_service,
    },
    connectorAgentId: oci_database_connector_agent.test_connector_agent.id,
    displayName: _var.external_database_connector_display_name,
    externalDatabaseId: oci_database_database.test_database.id,
    connectorType: _var.external_database_connector_connector_type,
    definedTags: _var.external_database_connector_defined_tags,
    freeformTags: {
        Department: "Finance",
    },
});

Coming soon!

Create a ExternalDatabaseConnector Resource

new ExternalDatabaseConnector(name: string, args: ExternalDatabaseConnectorArgs, opts?: CustomResourceOptions);
@overload
def ExternalDatabaseConnector(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              connection_credentials: Optional[_database.ExternalDatabaseConnectorConnectionCredentialsArgs] = None,
                              connection_string: Optional[_database.ExternalDatabaseConnectorConnectionStringArgs] = None,
                              connector_agent_id: Optional[str] = None,
                              connector_type: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, Any]] = None,
                              display_name: Optional[str] = None,
                              external_database_id: Optional[str] = None,
                              freeform_tags: Optional[Mapping[str, Any]] = None)
@overload
def ExternalDatabaseConnector(resource_name: str,
                              args: ExternalDatabaseConnectorArgs,
                              opts: Optional[ResourceOptions] = None)
func NewExternalDatabaseConnector(ctx *Context, name string, args ExternalDatabaseConnectorArgs, opts ...ResourceOption) (*ExternalDatabaseConnector, error)
public ExternalDatabaseConnector(string name, ExternalDatabaseConnectorArgs args, CustomResourceOptions? opts = null)
public ExternalDatabaseConnector(String name, ExternalDatabaseConnectorArgs args)
public ExternalDatabaseConnector(String name, ExternalDatabaseConnectorArgs args, CustomResourceOptions options)
type: oci:Database:ExternalDatabaseConnector
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ExternalDatabaseConnectorArgs
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 ExternalDatabaseConnectorArgs
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 ExternalDatabaseConnectorArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ExternalDatabaseConnectorArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ExternalDatabaseConnectorArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ExternalDatabaseConnector Resource Properties

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

Inputs

The ExternalDatabaseConnector resource accepts the following input properties:

ConnectionCredentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

ConnectionString ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

ConnectorAgentId string

The ID of the agent used for the external database connector.

DisplayName string

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

ExternalDatabaseId string

The OCID of the external database resource.

ConnectorType string

(Updatable) The type of connector used by the external database resource.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

ConnectionCredentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

ConnectionString ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

ConnectorAgentId string

The ID of the agent used for the external database connector.

DisplayName string

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

ExternalDatabaseId string

The OCID of the external database resource.

ConnectorType string

(Updatable) The type of connector used by the external database resource.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

connectionCredentials ExternalConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connectionString ExternalConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

connectorAgentId String

The ID of the agent used for the external database connector.

displayName String

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

externalDatabaseId String

The OCID of the external database resource.

connectorType String

(Updatable) The type of connector used by the external database resource.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

connectionCredentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connectionString ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

connectorAgentId string

The ID of the agent used for the external database connector.

displayName string

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

externalDatabaseId string

The OCID of the external database resource.

connectorType string

(Updatable) The type of connector used by the external database resource.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

connection_credentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connection_string ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

connector_agent_id str

The ID of the agent used for the external database connector.

display_name str

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

external_database_id str

The OCID of the external database resource.

connector_type str

(Updatable) The type of connector used by the external database resource.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

connectionCredentials Property Map

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connectionString Property Map

(Updatable) The Oracle Database connection string.

connectorAgentId String

The ID of the agent used for the external database connector.

displayName String

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

externalDatabaseId String

The OCID of the external database resource.

connectorType String

(Updatable) The type of connector used by the external database resource.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

Outputs

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

CompartmentId string

The OCID of the compartment.

ConnectionStatus string

The status of connectivity to the external database.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current lifecycle state of the external database connector resource.

TimeConnectionStatusLastUpdated string

The date and time the connectionStatus of this external connector was last updated.

TimeCreated string

The date and time the external connector was created.

CompartmentId string

The OCID of the compartment.

ConnectionStatus string

The status of connectivity to the external database.

Id string

The provider-assigned unique ID for this managed resource.

LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current lifecycle state of the external database connector resource.

TimeConnectionStatusLastUpdated string

The date and time the connectionStatus of this external connector was last updated.

TimeCreated string

The date and time the external connector was created.

compartmentId String

The OCID of the compartment.

connectionStatus String

The status of connectivity to the external database.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current lifecycle state of the external database connector resource.

timeConnectionStatusLastUpdated String

The date and time the connectionStatus of this external connector was last updated.

timeCreated String

The date and time the external connector was created.

compartmentId string

The OCID of the compartment.

connectionStatus string

The status of connectivity to the external database.

id string

The provider-assigned unique ID for this managed resource.

lifecycleDetails string

Additional information about the current lifecycle state.

state string

The current lifecycle state of the external database connector resource.

timeConnectionStatusLastUpdated string

The date and time the connectionStatus of this external connector was last updated.

timeCreated string

The date and time the external connector was created.

compartment_id str

The OCID of the compartment.

connection_status str

The status of connectivity to the external database.

id str

The provider-assigned unique ID for this managed resource.

lifecycle_details str

Additional information about the current lifecycle state.

state str

The current lifecycle state of the external database connector resource.

time_connection_status_last_updated str

The date and time the connectionStatus of this external connector was last updated.

time_created str

The date and time the external connector was created.

compartmentId String

The OCID of the compartment.

connectionStatus String

The status of connectivity to the external database.

id String

The provider-assigned unique ID for this managed resource.

lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current lifecycle state of the external database connector resource.

timeConnectionStatusLastUpdated String

The date and time the connectionStatus of this external connector was last updated.

timeCreated String

The date and time the external connector was created.

Look up an Existing ExternalDatabaseConnector Resource

Get an existing ExternalDatabaseConnector 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?: ExternalDatabaseConnectorState, opts?: CustomResourceOptions): ExternalDatabaseConnector
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        connection_credentials: Optional[_database.ExternalDatabaseConnectorConnectionCredentialsArgs] = None,
        connection_status: Optional[str] = None,
        connection_string: Optional[_database.ExternalDatabaseConnectorConnectionStringArgs] = None,
        connector_agent_id: Optional[str] = None,
        connector_type: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        display_name: Optional[str] = None,
        external_database_id: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        lifecycle_details: Optional[str] = None,
        state: Optional[str] = None,
        time_connection_status_last_updated: Optional[str] = None,
        time_created: Optional[str] = None) -> ExternalDatabaseConnector
func GetExternalDatabaseConnector(ctx *Context, name string, id IDInput, state *ExternalDatabaseConnectorState, opts ...ResourceOption) (*ExternalDatabaseConnector, error)
public static ExternalDatabaseConnector Get(string name, Input<string> id, ExternalDatabaseConnectorState? state, CustomResourceOptions? opts = null)
public static ExternalDatabaseConnector get(String name, Output<String> id, ExternalDatabaseConnectorState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

The OCID of the compartment.

ConnectionCredentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

ConnectionStatus string

The status of connectivity to the external database.

ConnectionString ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

ConnectorAgentId string

The ID of the agent used for the external database connector.

ConnectorType string

(Updatable) The type of connector used by the external database resource.

DefinedTags Dictionary<string, object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

ExternalDatabaseId string

The OCID of the external database resource.

FreeformTags Dictionary<string, object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current lifecycle state of the external database connector resource.

TimeConnectionStatusLastUpdated string

The date and time the connectionStatus of this external connector was last updated.

TimeCreated string

The date and time the external connector was created.

CompartmentId string

The OCID of the compartment.

ConnectionCredentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

ConnectionStatus string

The status of connectivity to the external database.

ConnectionString ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

ConnectorAgentId string

The ID of the agent used for the external database connector.

ConnectorType string

(Updatable) The type of connector used by the external database resource.

DefinedTags map[string]interface{}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

DisplayName string

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

ExternalDatabaseId string

The OCID of the external database resource.

FreeformTags map[string]interface{}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

LifecycleDetails string

Additional information about the current lifecycle state.

State string

The current lifecycle state of the external database connector resource.

TimeConnectionStatusLastUpdated string

The date and time the connectionStatus of this external connector was last updated.

TimeCreated string

The date and time the external connector was created.

compartmentId String

The OCID of the compartment.

connectionCredentials ExternalConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connectionStatus String

The status of connectivity to the external database.

connectionString ExternalConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

connectorAgentId String

The ID of the agent used for the external database connector.

connectorType String

(Updatable) The type of connector used by the external database resource.

definedTags Map<String,Object>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

externalDatabaseId String

The OCID of the external database resource.

freeformTags Map<String,Object>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current lifecycle state of the external database connector resource.

timeConnectionStatusLastUpdated String

The date and time the connectionStatus of this external connector was last updated.

timeCreated String

The date and time the external connector was created.

compartmentId string

The OCID of the compartment.

connectionCredentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connectionStatus string

The status of connectivity to the external database.

connectionString ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

connectorAgentId string

The ID of the agent used for the external database connector.

connectorType string

(Updatable) The type of connector used by the external database resource.

definedTags {[key: string]: any}

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName string

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

externalDatabaseId string

The OCID of the external database resource.

freeformTags {[key: string]: any}

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

lifecycleDetails string

Additional information about the current lifecycle state.

state string

The current lifecycle state of the external database connector resource.

timeConnectionStatusLastUpdated string

The date and time the connectionStatus of this external connector was last updated.

timeCreated string

The date and time the external connector was created.

compartment_id str

The OCID of the compartment.

connection_credentials ExternalDatabaseConnectorConnectionCredentialsArgs

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connection_status str

The status of connectivity to the external database.

connection_string ExternalDatabaseConnectorConnectionStringArgs

(Updatable) The Oracle Database connection string.

connector_agent_id str

The ID of the agent used for the external database connector.

connector_type str

(Updatable) The type of connector used by the external database resource.

defined_tags Mapping[str, Any]

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

display_name str

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

external_database_id str

The OCID of the external database resource.

freeform_tags Mapping[str, Any]

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

lifecycle_details str

Additional information about the current lifecycle state.

state str

The current lifecycle state of the external database connector resource.

time_connection_status_last_updated str

The date and time the connectionStatus of this external connector was last updated.

time_created str

The date and time the external connector was created.

compartmentId String

The OCID of the compartment.

connectionCredentials Property Map

(Updatable) Credentials used to connect to the database. Currently only the DETAILS type is supported for creating MACS connector crendentials.

connectionStatus String

The status of connectivity to the external database.

connectionString Property Map

(Updatable) The Oracle Database connection string.

connectorAgentId String

The ID of the agent used for the external database connector.

connectorType String

(Updatable) The type of connector used by the external database resource.

definedTags Map<Any>

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

displayName String

(Updatable) The user-friendly name for the external database connector. The name does not have to be unique.

externalDatabaseId String

The OCID of the external database resource.

freeformTags Map<Any>

(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}

lifecycleDetails String

Additional information about the current lifecycle state.

state String

The current lifecycle state of the external database connector resource.

timeConnectionStatusLastUpdated String

The date and time the connectionStatus of this external connector was last updated.

timeCreated String

The date and time the external connector was created.

Supporting Types

ExternalDatabaseConnectorConnectionCredentials

CredentialName string

(Updatable) The name of the credential information that used to connect to the database. 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

(Updatable) The type of credential used to connect to the database.

Password string

(Updatable) The password that will be used to connect to the database.

Role string

(Updatable) The role of the user that will be connecting to the database.

Username string

(Updatable) The username that will be used to connect to the database.

CredentialName string

(Updatable) The name of the credential information that used to connect to the database. 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

(Updatable) The type of credential used to connect to the database.

Password string

(Updatable) The password that will be used to connect to the database.

Role string

(Updatable) The role of the user that will be connecting to the database.

Username string

(Updatable) The username that will be used to connect to the database.

credentialName String

(Updatable) The name of the credential information that used to connect to the database. 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

(Updatable) The type of credential used to connect to the database.

password String

(Updatable) The password that will be used to connect to the database.

role String

(Updatable) The role of the user that will be connecting to the database.

username String

(Updatable) The username that will be used to connect to the database.

credentialName string

(Updatable) The name of the credential information that used to connect to the database. 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

(Updatable) The type of credential used to connect to the database.

password string

(Updatable) The password that will be used to connect to the database.

role string

(Updatable) The role of the user that will be connecting to the database.

username string

(Updatable) The username that will be used to connect to the database.

credential_name str

(Updatable) The name of the credential information that used to connect to the database. 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

(Updatable) The type of credential used to connect to the database.

password str

(Updatable) The password that will be used to connect to the database.

role str

(Updatable) The role of the user that will be connecting to the database.

username str

(Updatable) The username that will be used to connect to the database.

credentialName String

(Updatable) The name of the credential information that used to connect to the database. 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

(Updatable) The type of credential used to connect to the database.

password String

(Updatable) The password that will be used to connect to the database.

role String

(Updatable) The role of the user that will be connecting to the database.

username String

(Updatable) The username that will be used to connect to the database.

ExternalDatabaseConnectorConnectionString

Hostname string

(Updatable) The host name of the database.

Port int

(Updatable) The port used to connect to the database.

Protocol string

(Updatable) The protocol used to connect to the database.

Service string

(Updatable) The name of the service alias used to connect to the database.

Hostname string

(Updatable) The host name of the database.

Port int

(Updatable) The port used to connect to the database.

Protocol string

(Updatable) The protocol used to connect to the database.

Service string

(Updatable) The name of the service alias used to connect to the database.

hostname String

(Updatable) The host name of the database.

port Integer

(Updatable) The port used to connect to the database.

protocol String

(Updatable) The protocol used to connect to the database.

service String

(Updatable) The name of the service alias used to connect to the database.

hostname string

(Updatable) The host name of the database.

port number

(Updatable) The port used to connect to the database.

protocol string

(Updatable) The protocol used to connect to the database.

service string

(Updatable) The name of the service alias used to connect to the database.

hostname str

(Updatable) The host name of the database.

port int

(Updatable) The port used to connect to the database.

protocol str

(Updatable) The protocol used to connect to the database.

service str

(Updatable) The name of the service alias used to connect to the database.

hostname String

(Updatable) The host name of the database.

port Number

(Updatable) The port used to connect to the database.

protocol String

(Updatable) The protocol used to connect to the database.

service String

(Updatable) The name of the service alias used to connect to the database.

Import

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

 $ pulumi import oci:Database/externalDatabaseConnector:ExternalDatabaseConnector test_external_database_connector "id"

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.