Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.DatabaseTools.getDatabaseToolsIdentities
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
This data source provides the list of Database Tools Identities in Oracle Cloud Infrastructure Database Tools service.
Returns a list of Database Tools identities.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsIdentities = oci.DatabaseTools.getDatabaseToolsIdentities({
compartmentId: compartmentId,
databaseToolsConnectionId: testDatabaseToolsConnection.id,
displayName: databaseToolsIdentityDisplayName,
state: databaseToolsIdentityState,
types: databaseToolsIdentityType,
});
import pulumi
import pulumi_oci as oci
test_database_tools_identities = oci.DatabaseTools.get_database_tools_identities(compartment_id=compartment_id,
database_tools_connection_id=test_database_tools_connection["id"],
display_name=database_tools_identity_display_name,
state=database_tools_identity_state,
types=database_tools_identity_type)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/databasetools"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasetools.GetDatabaseToolsIdentities(ctx, &databasetools.GetDatabaseToolsIdentitiesArgs{
CompartmentId: compartmentId,
DatabaseToolsConnectionId: pulumi.StringRef(testDatabaseToolsConnection.Id),
DisplayName: pulumi.StringRef(databaseToolsIdentityDisplayName),
State: pulumi.StringRef(databaseToolsIdentityState),
Types: databaseToolsIdentityType,
}, 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 testDatabaseToolsIdentities = Oci.DatabaseTools.GetDatabaseToolsIdentities.Invoke(new()
{
CompartmentId = compartmentId,
DatabaseToolsConnectionId = testDatabaseToolsConnection.Id,
DisplayName = databaseToolsIdentityDisplayName,
State = databaseToolsIdentityState,
Types = databaseToolsIdentityType,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DatabaseTools.DatabaseToolsFunctions;
import com.pulumi.oci.DatabaseTools.inputs.GetDatabaseToolsIdentitiesArgs;
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 testDatabaseToolsIdentities = DatabaseToolsFunctions.getDatabaseToolsIdentities(GetDatabaseToolsIdentitiesArgs.builder()
.compartmentId(compartmentId)
.databaseToolsConnectionId(testDatabaseToolsConnection.id())
.displayName(databaseToolsIdentityDisplayName)
.state(databaseToolsIdentityState)
.types(databaseToolsIdentityType)
.build());
}
}
variables:
testDatabaseToolsIdentities:
fn::invoke:
function: oci:DatabaseTools:getDatabaseToolsIdentities
arguments:
compartmentId: ${compartmentId}
databaseToolsConnectionId: ${testDatabaseToolsConnection.id}
displayName: ${databaseToolsIdentityDisplayName}
state: ${databaseToolsIdentityState}
types: ${databaseToolsIdentityType}
Using getDatabaseToolsIdentities
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 getDatabaseToolsIdentities(args: GetDatabaseToolsIdentitiesArgs, opts?: InvokeOptions): Promise<GetDatabaseToolsIdentitiesResult>
function getDatabaseToolsIdentitiesOutput(args: GetDatabaseToolsIdentitiesOutputArgs, opts?: InvokeOptions): Output<GetDatabaseToolsIdentitiesResult>def get_database_tools_identities(compartment_id: Optional[str] = None,
database_tools_connection_id: Optional[str] = None,
display_name: Optional[str] = None,
filters: Optional[Sequence[GetDatabaseToolsIdentitiesFilter]] = None,
state: Optional[str] = None,
types: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseToolsIdentitiesResult
def get_database_tools_identities_output(compartment_id: Optional[pulumi.Input[str]] = None,
database_tools_connection_id: Optional[pulumi.Input[str]] = None,
display_name: Optional[pulumi.Input[str]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetDatabaseToolsIdentitiesFilterArgs]]]] = None,
state: Optional[pulumi.Input[str]] = None,
types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseToolsIdentitiesResult]func GetDatabaseToolsIdentities(ctx *Context, args *GetDatabaseToolsIdentitiesArgs, opts ...InvokeOption) (*GetDatabaseToolsIdentitiesResult, error)
func GetDatabaseToolsIdentitiesOutput(ctx *Context, args *GetDatabaseToolsIdentitiesOutputArgs, opts ...InvokeOption) GetDatabaseToolsIdentitiesResultOutput> Note: This function is named GetDatabaseToolsIdentities in the Go SDK.
public static class GetDatabaseToolsIdentities
{
public static Task<GetDatabaseToolsIdentitiesResult> InvokeAsync(GetDatabaseToolsIdentitiesArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseToolsIdentitiesResult> Invoke(GetDatabaseToolsIdentitiesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseToolsIdentitiesResult> getDatabaseToolsIdentities(GetDatabaseToolsIdentitiesArgs args, InvokeOptions options)
public static Output<GetDatabaseToolsIdentitiesResult> getDatabaseToolsIdentities(GetDatabaseToolsIdentitiesArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseTools/getDatabaseToolsIdentities:getDatabaseToolsIdentities
arguments:
# arguments dictionaryThe following arguments are supported:
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Database
Tools stringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - Display
Name string - A filter to return only resources that match the entire specified display name.
- Filters
List<Get
Database Tools Identities Filter> - State string
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - Types List<string>
- A filter to return only resources with one of the specified type values.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Database
Tools stringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - Display
Name string - A filter to return only resources that match the entire specified display name.
- Filters
[]Get
Database Tools Identities Filter - State string
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - Types []string
- A filter to return only resources with one of the specified type values.
- compartment
Id String - The OCID of the compartment in which to list resources.
- database
Tools StringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - display
Name String - A filter to return only resources that match the entire specified display name.
- filters
List<Get
Identities Filter> - state String
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - types List<String>
- A filter to return only resources with one of the specified type values.
- compartment
Id string - The OCID of the compartment in which to list resources.
- database
Tools stringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - display
Name string - A filter to return only resources that match the entire specified display name.
- filters
Get
Database Tools Identities Filter[] - state string
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - types string[]
- A filter to return only resources with one of the specified type values.
- compartment_
id str - The OCID of the compartment in which to list resources.
- database_
tools_ strconnection_ id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - display_
name str - A filter to return only resources that match the entire specified display name.
- filters
Sequence[Get
Database Tools Identities Filter] - state str
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - types Sequence[str]
- A filter to return only resources with one of the specified type values.
- compartment
Id String - The OCID of the compartment in which to list resources.
- database
Tools StringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - display
Name String - A filter to return only resources that match the entire specified display name.
- filters List<Property Map>
- state String
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - types List<String>
- A filter to return only resources with one of the specified type values.
getDatabaseToolsIdentities Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the Database Tools identity.
- Database
Tools List<GetIdentity Collections Database Tools Identities Database Tools Identity Collection> - The list of database_tools_identity_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Database
Tools stringConnection Id - The OCID of the related Database Tools connection.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
List<Get
Database Tools Identities Filter> - State string
- The current state of the Database Tools identity.
- Types List<string>
- The Database Tools identity type.
- Compartment
Id string - The OCID of the compartment containing the Database Tools identity.
- Database
Tools []GetIdentity Collections Database Tools Identities Database Tools Identity Collection - The list of database_tools_identity_collection.
- Id string
- The provider-assigned unique ID for this managed resource.
- Database
Tools stringConnection Id - The OCID of the related Database Tools connection.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Filters
[]Get
Database Tools Identities Filter - State string
- The current state of the Database Tools identity.
- Types []string
- The Database Tools identity type.
- compartment
Id String - The OCID of the compartment containing the Database Tools identity.
- database
Tools List<GetIdentity Collections Identities Identity Collection> - The list of database_tools_identity_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- database
Tools StringConnection Id - The OCID of the related Database Tools connection.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
List<Get
Identities Filter> - state String
- The current state of the Database Tools identity.
- types List<String>
- The Database Tools identity type.
- compartment
Id string - The OCID of the compartment containing the Database Tools identity.
- database
Tools GetIdentity Collections Database Tools Identities Database Tools Identity Collection[] - The list of database_tools_identity_collection.
- id string
- The provider-assigned unique ID for this managed resource.
- database
Tools stringConnection Id - The OCID of the related Database Tools connection.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Get
Database Tools Identities Filter[] - state string
- The current state of the Database Tools identity.
- types string[]
- The Database Tools identity type.
- compartment_
id str - The OCID of the compartment containing the Database Tools identity.
- database_
tools_ Sequence[Getidentity_ collections Database Tools Identities Database Tools Identity Collection] - The list of database_tools_identity_collection.
- id str
- The provider-assigned unique ID for this managed resource.
- database_
tools_ strconnection_ id - The OCID of the related Database Tools connection.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- filters
Sequence[Get
Database Tools Identities Filter] - state str
- The current state of the Database Tools identity.
- types Sequence[str]
- The Database Tools identity type.
- compartment
Id String - The OCID of the compartment containing the Database Tools identity.
- database
Tools List<Property Map>Identity Collections - The list of database_tools_identity_collection.
- id String
- The provider-assigned unique ID for this managed resource.
- database
Tools StringConnection Id - The OCID of the related Database Tools connection.
- display
Name 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 Database Tools identity.
- types List<String>
- The Database Tools identity type.
Supporting Types
GetDatabaseToolsIdentitiesDatabaseToolsIdentityCollection
GetDatabaseToolsIdentitiesDatabaseToolsIdentityCollectionItem
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Credential
Key string - The name of the credential object created in the Oracle Database.
- Database
Tools stringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire specified display name.
- Dictionary<string, string>
- 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 Database Tools identity.
- Lifecycle
Details string - A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
- Locks
List<Get
Database Tools Identities Database Tools Identity Collection Item Lock> - Locks associated with this resource.
- State string
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
- Type string
- A filter to return only resources with one of the specified type values.
- Compartment
Id string - The OCID of the compartment in which to list resources.
- Credential
Key string - The name of the credential object created in the Oracle Database.
- Database
Tools stringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Display
Name string - A filter to return only resources that match the entire specified display name.
- map[string]string
- 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 Database Tools identity.
- Lifecycle
Details string - A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
- Locks
[]Get
Database Tools Identities Database Tools Identity Collection Item Lock - Locks associated with this resource.
- State string
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Time
Created string - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- Time
Updated string - The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
- Type string
- A filter to return only resources with one of the specified type values.
- compartment
Id String - The OCID of the compartment in which to list resources.
- credential
Key String - The name of the credential object created in the Oracle Database.
- database
Tools StringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire specified display name.
- Map<String,String>
- 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 Database Tools identity.
- lifecycle
Details String - A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
- locks
List<Get
Identities Identity Collection Item Lock> - Locks associated with this resource.
- state String
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
- type String
- A filter to return only resources with one of the specified type values.
- compartment
Id string - The OCID of the compartment in which to list resources.
- credential
Key string - The name of the credential object created in the Oracle Database.
- database
Tools stringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name string - A filter to return only resources that match the entire specified display name.
- {[key: string]: string}
- 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 Database Tools identity.
- lifecycle
Details string - A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
- locks
Get
Database Tools Identities Database Tools Identity Collection Item Lock[] - Locks associated with this resource.
- state string
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created string - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- time
Updated string - The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
- type string
- A filter to return only resources with one of the specified type values.
- compartment_
id str - The OCID of the compartment in which to list resources.
- credential_
key str - The name of the credential object created in the Oracle Database.
- database_
tools_ strconnection_ id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - Mapping[str, str]
- 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 specified display name.
- Mapping[str, str]
- 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 Database Tools identity.
- lifecycle_
details str - A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
- locks
Sequence[Get
Database Tools Identities Database Tools Identity Collection Item Lock] - Locks associated with this resource.
- state str
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - Mapping[str, str]
- 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 Database Tools identity was created. An RFC3339 formatted datetime string.
- time_
updated str - The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
- type str
- A filter to return only resources with one of the specified type values.
- compartment
Id String - The OCID of the compartment in which to list resources.
- credential
Key String - The name of the credential object created in the Oracle Database.
- database
Tools StringConnection Id - A filter to return only resources when their
databaseToolsConnectionIdmatches the specifieddatabaseToolsConnectionId. - Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - display
Name String - A filter to return only resources that match the entire specified display name.
- Map<String>
- 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 Database Tools identity.
- lifecycle
Details String - A message describing the current state in more detail. For example, this message can be used to provide actionable information for a resource in the Failed state.
- locks List<Property Map>
- Locks associated with this resource.
- state String
- A filter to return resources only when their
databaseToolsIdentityLifecycleStatematches the specifieddatabaseToolsIdentityLifecycleState. - Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - time
Created String - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- time
Updated String - The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
- type String
- A filter to return only resources with one of the specified type values.
GetDatabaseToolsIdentitiesDatabaseToolsIdentityCollectionItemLock
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- Type string
- A filter to return only resources with one of the specified type values.
- Message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- Time
Created string - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- Type string
- A filter to return only resources with one of the specified type values.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- type String
- A filter to return only resources with one of the specified type values.
- message string
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- string
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created string - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- type string
- A filter to return only resources with one of the specified type values.
- message str
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- str
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time_
created str - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- type str
- A filter to return only resources with one of the specified type values.
- message String
- A message added by the creator of the lock. This is typically used to give an indication of why the resource is locked.
- String
- The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
- time
Created String - The time the Database Tools identity was created. An RFC3339 formatted datetime string.
- type String
- A filter to return only resources with one of the specified type values.
GetDatabaseToolsIdentitiesFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
