Oracle Cloud Infrastructure

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

getDatabaseToolsConnections

This data source provides the list of Database Tools Connections in Oracle Cloud Infrastructure Database Tools service.

Returns a list of DatabaseToolsConnections.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testDatabaseToolsConnections = Output.Create(Oci.DatabaseTools.GetDatabaseToolsConnections.InvokeAsync(new Oci.DatabaseTools.GetDatabaseToolsConnectionsArgs
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Database_tools_connection_display_name,
            State = @var.Database_tools_connection_state,
            Types = @var.Database_tools_connection_type,
        }));
    }

}
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := DatabaseTools.GetDatabaseToolsConnections(ctx, &databasetools.GetDatabaseToolsConnectionsArgs{
			CompartmentId: _var.Compartment_id,
			DisplayName:   pulumi.StringRef(_var.Database_tools_connection_display_name),
			State:         pulumi.StringRef(_var.Database_tools_connection_state),
			Types:         _var.Database_tools_connection_type,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_database_tools_connections = oci.DatabaseTools.get_database_tools_connections(compartment_id=var["compartment_id"],
    display_name=var["database_tools_connection_display_name"],
    state=var["database_tools_connection_state"],
    types=var["database_tools_connection_type"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDatabaseToolsConnections = oci.DatabaseTools.getDatabaseToolsConnections({
    compartmentId: _var.compartment_id,
    displayName: _var.database_tools_connection_display_name,
    state: _var.database_tools_connection_state,
    types: _var.database_tools_connection_type,
});

Coming soon!

Using getDatabaseToolsConnections

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 getDatabaseToolsConnections(args: GetDatabaseToolsConnectionsArgs, opts?: InvokeOptions): Promise<GetDatabaseToolsConnectionsResult>
function getDatabaseToolsConnectionsOutput(args: GetDatabaseToolsConnectionsOutputArgs, opts?: InvokeOptions): Output<GetDatabaseToolsConnectionsResult>
def get_database_tools_connections(compartment_id: Optional[str] = None,
                                   display_name: Optional[str] = None,
                                   filters: Optional[Sequence[_databasetools.GetDatabaseToolsConnectionsFilter]] = None,
                                   state: Optional[str] = None,
                                   types: Optional[Sequence[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetDatabaseToolsConnectionsResult
def get_database_tools_connections_output(compartment_id: Optional[pulumi.Input[str]] = None,
                                   display_name: Optional[pulumi.Input[str]] = None,
                                   filters: Optional[pulumi.Input[Sequence[pulumi.Input[_databasetools.GetDatabaseToolsConnectionsFilterArgs]]]] = None,
                                   state: Optional[pulumi.Input[str]] = None,
                                   types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseToolsConnectionsResult]
func GetDatabaseToolsConnections(ctx *Context, args *GetDatabaseToolsConnectionsArgs, opts ...InvokeOption) (*GetDatabaseToolsConnectionsResult, error)
func GetDatabaseToolsConnectionsOutput(ctx *Context, args *GetDatabaseToolsConnectionsOutputArgs, opts ...InvokeOption) GetDatabaseToolsConnectionsResultOutput

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

public static class GetDatabaseToolsConnections 
{
    public static Task<GetDatabaseToolsConnectionsResult> InvokeAsync(GetDatabaseToolsConnectionsArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseToolsConnectionsResult> Invoke(GetDatabaseToolsConnectionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseToolsConnectionsResult> getDatabaseToolsConnections(GetDatabaseToolsConnectionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:DatabaseTools/getDatabaseToolsConnections:getDatabaseToolsConnections
  Arguments:
    # Arguments dictionary

The following arguments are supported:

CompartmentId string

The ID of the compartment in which to list resources.

DisplayName string

A filter to return only resources that match the entire display name given.

Filters List<GetDatabaseToolsConnectionsFilter>
State string

A filter to return only resources their lifecycleState matches the given lifecycleState.

Types List<string>

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

CompartmentId string

The ID of the compartment in which to list resources.

DisplayName string

A filter to return only resources that match the entire display name given.

Filters []GetDatabaseToolsConnectionsFilter
State string

A filter to return only resources their lifecycleState matches the given lifecycleState.

Types []string

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

compartmentId String

The ID of the compartment in which to list resources.

displayName String

A filter to return only resources that match the entire display name given.

filters List<GetConnectionsFilter>
state String

A filter to return only resources their lifecycleState matches the given lifecycleState.

types List<String>

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

compartmentId string

The ID of the compartment in which to list resources.

displayName string

A filter to return only resources that match the entire display name given.

filters GetDatabaseToolsConnectionsFilter[]
state string

A filter to return only resources their lifecycleState matches the given lifecycleState.

types string[]

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

compartment_id str

The ID of the compartment in which to list resources.

display_name str

A filter to return only resources that match the entire display name given.

filters GetDatabaseToolsConnectionsFilter]
state str

A filter to return only resources their lifecycleState matches the given lifecycleState.

types Sequence[str]

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

compartmentId String

The ID of the compartment in which to list resources.

displayName String

A filter to return only resources that match the entire display name given.

filters List<Property Map>
state String

A filter to return only resources their lifecycleState matches the given lifecycleState.

types List<String>

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

getDatabaseToolsConnections Result

The following output properties are available:

CompartmentId string

The OCID of the containing Compartment.

DatabaseToolsConnectionCollections List<GetDatabaseToolsConnectionsDatabaseToolsConnectionCollection>

The list of database_tools_connection_collection.

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters List<GetDatabaseToolsConnectionsFilter>
State string

The current state of the DatabaseToolsConnection.

Types List<string>

The DatabaseToolsConnection type.

CompartmentId string

The OCID of the containing Compartment.

DatabaseToolsConnectionCollections []GetDatabaseToolsConnectionsDatabaseToolsConnectionCollection

The list of database_tools_connection_collection.

Id string

The provider-assigned unique ID for this managed resource.

DisplayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

Filters []GetDatabaseToolsConnectionsFilter
State string

The current state of the DatabaseToolsConnection.

Types []string

The DatabaseToolsConnection type.

compartmentId String

The OCID of the containing Compartment.

databaseToolsConnectionCollections List<GetConnectionsConnectionCollection>

The list of database_tools_connection_collection.

id String

The provider-assigned unique ID for this managed resource.

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<GetConnectionsFilter>
state String

The current state of the DatabaseToolsConnection.

types List<String>

The DatabaseToolsConnection type.

compartmentId string

The OCID of the containing Compartment.

databaseToolsConnectionCollections GetDatabaseToolsConnectionsDatabaseToolsConnectionCollection[]

The list of database_tools_connection_collection.

id string

The provider-assigned unique ID for this managed resource.

displayName string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetDatabaseToolsConnectionsFilter[]
state string

The current state of the DatabaseToolsConnection.

types string[]

The DatabaseToolsConnection type.

compartment_id str

The OCID of the containing Compartment.

database_tools_connection_collections GetDatabaseToolsConnectionsDatabaseToolsConnectionCollection]

The list of database_tools_connection_collection.

id str

The provider-assigned unique ID for this managed resource.

display_name str

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters GetDatabaseToolsConnectionsFilter]
state str

The current state of the DatabaseToolsConnection.

types Sequence[str]

The DatabaseToolsConnection type.

compartmentId String

The OCID of the containing Compartment.

databaseToolsConnectionCollections List<Property Map>

The list of database_tools_connection_collection.

id String

The provider-assigned unique ID for this managed resource.

displayName String

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

filters List<Property Map>
state String

The current state of the DatabaseToolsConnection.

types List<String>

The DatabaseToolsConnection type.

Supporting Types

GetDatabaseToolsConnectionsDatabaseToolsConnectionCollection

GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItem

AdvancedProperties Dictionary<string, object>

Advanced connection properties key-value pair (e.g., oracle.net.ssl_server_dn_match).

CompartmentId string

The ID of the compartment in which to list resources.

ConnectionString string

Connect descriptor or Easy Connect Naming method to connect to the database.

DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

A filter to return only resources that match the entire display name given.

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The OCID of the DatabaseToolsConnection.

KeyStores List<GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStore>

Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and the client private key and associated certificates required for client authentication.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

PrivateEndpointId string

The OCID of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN.

RelatedResources List<GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemRelatedResource>

A related resource

State string

A filter to return only resources their lifecycleState matches the given lifecycleState.

SystemTags Dictionary<string, object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The time the DatabaseToolsConnection was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string

Type string

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

UserName string

Database user name.

UserPasswords List<GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPassword>

The user password.

AdvancedProperties map[string]interface{}

Advanced connection properties key-value pair (e.g., oracle.net.ssl_server_dn_match).

CompartmentId string

The ID of the compartment in which to list resources.

ConnectionString string

Connect descriptor or Easy Connect Naming method to connect to the database.

DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

A filter to return only resources that match the entire display name given.

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The OCID of the DatabaseToolsConnection.

KeyStores []GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStore

Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and the client private key and associated certificates required for client authentication.

LifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

PrivateEndpointId string

The OCID of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN.

RelatedResources []GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemRelatedResource

A related resource

State string

A filter to return only resources their lifecycleState matches the given lifecycleState.

SystemTags map[string]interface{}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

TimeCreated string

The time the DatabaseToolsConnection was created. An RFC3339 formatted datetime string

TimeUpdated string

The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string

Type string

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

UserName string

Database user name.

UserPasswords []GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPassword

The user password.

advancedProperties Map<String,Object>

Advanced connection properties key-value pair (e.g., oracle.net.ssl_server_dn_match).

compartmentId String

The ID of the compartment in which to list resources.

connectionString String

Connect descriptor or Easy Connect Naming method to connect to the database.

definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

A filter to return only resources that match the entire display name given.

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The OCID of the DatabaseToolsConnection.

keyStores List<GetConnectionsConnectionCollectionItemKeyStore>

Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and the client private key and associated certificates required for client authentication.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

privateEndpointId String

The OCID of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN.

relatedResources List<GetConnectionsConnectionCollectionItemRelatedResource>

A related resource

state String

A filter to return only resources their lifecycleState matches the given lifecycleState.

systemTags Map<String,Object>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The time the DatabaseToolsConnection was created. An RFC3339 formatted datetime string

timeUpdated String

The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string

type String

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

userName String

Database user name.

userPasswords List<GetConnectionsConnectionCollectionItemUserPassword>

The user password.

advancedProperties {[key: string]: any}

Advanced connection properties key-value pair (e.g., oracle.net.ssl_server_dn_match).

compartmentId string

The ID of the compartment in which to list resources.

connectionString string

Connect descriptor or Easy Connect Naming method to connect to the database.

definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName string

A filter to return only resources that match the entire display name given.

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id string

The OCID of the DatabaseToolsConnection.

keyStores GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStore[]

Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and the client private key and associated certificates required for client authentication.

lifecycleDetails string

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

privateEndpointId string

The OCID of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN.

relatedResources GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemRelatedResource[]

A related resource

state string

A filter to return only resources their lifecycleState matches the given lifecycleState.

systemTags {[key: string]: any}

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated string

The time the DatabaseToolsConnection was created. An RFC3339 formatted datetime string

timeUpdated string

The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string

type string

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

userName string

Database user name.

userPasswords GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPassword[]

The user password.

advanced_properties Mapping[str, Any]

Advanced connection properties key-value pair (e.g., oracle.net.ssl_server_dn_match).

compartment_id str

The ID of the compartment in which to list resources.

connection_string str

Connect descriptor or Easy Connect Naming method to connect to the database.

defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

display_name str

A filter to return only resources that match the entire display name given.

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id str

The OCID of the DatabaseToolsConnection.

key_stores GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStore]

Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and the client private key and associated certificates required for client authentication.

lifecycle_details str

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

private_endpoint_id str

The OCID of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN.

related_resources GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemRelatedResource]

A related resource

state str

A filter to return only resources their lifecycleState matches the given lifecycleState.

system_tags Mapping[str, Any]

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

time_created str

The time the DatabaseToolsConnection was created. An RFC3339 formatted datetime string

time_updated str

The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string

type str

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

user_name str

Database user name.

user_passwords GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPassword]

The user password.

advancedProperties Map<Any>

Advanced connection properties key-value pair (e.g., oracle.net.ssl_server_dn_match).

compartmentId String

The ID of the compartment in which to list resources.

connectionString String

Connect descriptor or Easy Connect Naming method to connect to the database.

definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

A filter to return only resources that match the entire display name given.

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The OCID of the DatabaseToolsConnection.

keyStores List<Property Map>

Oracle wallet or Java Keystores containing trusted certificates for authenticating the server's public certificate and the client private key and associated certificates required for client authentication.

lifecycleDetails String

A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.

privateEndpointId String

The OCID of the DatabaseToolsPrivateEndpoint used to access the database in the Customer VCN.

relatedResources List<Property Map>

A related resource

state String

A filter to return only resources their lifecycleState matches the given lifecycleState.

systemTags Map<Any>

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

timeCreated String

The time the DatabaseToolsConnection was created. An RFC3339 formatted datetime string

timeUpdated String

The time the DatabaseToolsConnection was updated. An RFC3339 formatted datetime string

type String

A filter to return only resources their endpointServiceId matches the given endpointServiceId.

userName String

Database user name.

userPasswords List<Property Map>

The user password.

GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStore

keyStoreContents List<Property Map>

The key store content.

keyStorePasswords List<Property Map>

The key store password.

keyStoreType String

The key store type.

GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreKeyStoreContent

SecretId string

The OCID of the secret containing the user password.

ValueType string

The value type of the user password.

SecretId string

The OCID of the secret containing the user password.

ValueType string

The value type of the user password.

secretId String

The OCID of the secret containing the user password.

valueType String

The value type of the user password.

secretId string

The OCID of the secret containing the user password.

valueType string

The value type of the user password.

secret_id str

The OCID of the secret containing the user password.

value_type str

The value type of the user password.

secretId String

The OCID of the secret containing the user password.

valueType String

The value type of the user password.

GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreKeyStorePassword

SecretId string

The OCID of the secret containing the user password.

ValueType string

The value type of the user password.

SecretId string

The OCID of the secret containing the user password.

ValueType string

The value type of the user password.

secretId String

The OCID of the secret containing the user password.

valueType String

The value type of the user password.

secretId string

The OCID of the secret containing the user password.

valueType string

The value type of the user password.

secret_id str

The OCID of the secret containing the user password.

value_type str

The value type of the user password.

secretId String

The OCID of the secret containing the user password.

valueType String

The value type of the user password.

GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemRelatedResource

EntityType string

The resource entity type.

Identifier string

The OCID of the related resource.

EntityType string

The resource entity type.

Identifier string

The OCID of the related resource.

entityType String

The resource entity type.

identifier String

The OCID of the related resource.

entityType string

The resource entity type.

identifier string

The OCID of the related resource.

entity_type str

The resource entity type.

identifier str

The OCID of the related resource.

entityType String

The resource entity type.

identifier String

The OCID of the related resource.

GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPassword

SecretId string

The OCID of the secret containing the user password.

ValueType string

The value type of the user password.

SecretId string

The OCID of the secret containing the user password.

ValueType string

The value type of the user password.

secretId String

The OCID of the secret containing the user password.

valueType String

The value type of the user password.

secretId string

The OCID of the secret containing the user password.

valueType string

The value type of the user password.

secret_id str

The OCID of the secret containing the user password.

value_type str

The value type of the user password.

secretId String

The OCID of the secret containing the user password.

valueType String

The value type of the user password.

GetDatabaseToolsConnectionsFilter

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
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.