Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
oci.DatabaseTools.getDatabaseToolsIdentity
Start a Neo task
Explain and create an oci.DatabaseTools.getDatabaseToolsIdentity resource
This data source provides details about a specific Database Tools Identity resource in Oracle Cloud Infrastructure Database Tools service.
Gets details of the specified Database Tools identity.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testDatabaseToolsIdentity = oci.DatabaseTools.getDatabaseToolsIdentity({
databaseToolsIdentityId: testDatabaseToolsIdentityOciDatabaseToolsDatabaseToolsIdentity.id,
});
import pulumi
import pulumi_oci as oci
test_database_tools_identity = oci.DatabaseTools.get_database_tools_identity(database_tools_identity_id=test_database_tools_identity_oci_database_tools_database_tools_identity["id"])
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.GetDatabaseToolsIdentity(ctx, &databasetools.GetDatabaseToolsIdentityArgs{
DatabaseToolsIdentityId: testDatabaseToolsIdentityOciDatabaseToolsDatabaseToolsIdentity.Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testDatabaseToolsIdentity = Oci.DatabaseTools.GetDatabaseToolsIdentity.Invoke(new()
{
DatabaseToolsIdentityId = testDatabaseToolsIdentityOciDatabaseToolsDatabaseToolsIdentity.Id,
});
});
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.GetDatabaseToolsIdentityArgs;
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 testDatabaseToolsIdentity = DatabaseToolsFunctions.getDatabaseToolsIdentity(GetDatabaseToolsIdentityArgs.builder()
.databaseToolsIdentityId(testDatabaseToolsIdentityOciDatabaseToolsDatabaseToolsIdentity.id())
.build());
}
}
variables:
testDatabaseToolsIdentity:
fn::invoke:
function: oci:DatabaseTools:getDatabaseToolsIdentity
arguments:
databaseToolsIdentityId: ${testDatabaseToolsIdentityOciDatabaseToolsDatabaseToolsIdentity.id}
Using getDatabaseToolsIdentity
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 getDatabaseToolsIdentity(args: GetDatabaseToolsIdentityArgs, opts?: InvokeOptions): Promise<GetDatabaseToolsIdentityResult>
function getDatabaseToolsIdentityOutput(args: GetDatabaseToolsIdentityOutputArgs, opts?: InvokeOptions): Output<GetDatabaseToolsIdentityResult>def get_database_tools_identity(database_tools_identity_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDatabaseToolsIdentityResult
def get_database_tools_identity_output(database_tools_identity_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseToolsIdentityResult]func LookupDatabaseToolsIdentity(ctx *Context, args *LookupDatabaseToolsIdentityArgs, opts ...InvokeOption) (*LookupDatabaseToolsIdentityResult, error)
func LookupDatabaseToolsIdentityOutput(ctx *Context, args *LookupDatabaseToolsIdentityOutputArgs, opts ...InvokeOption) LookupDatabaseToolsIdentityResultOutput> Note: This function is named LookupDatabaseToolsIdentity in the Go SDK.
public static class GetDatabaseToolsIdentity
{
public static Task<GetDatabaseToolsIdentityResult> InvokeAsync(GetDatabaseToolsIdentityArgs args, InvokeOptions? opts = null)
public static Output<GetDatabaseToolsIdentityResult> Invoke(GetDatabaseToolsIdentityInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDatabaseToolsIdentityResult> getDatabaseToolsIdentity(GetDatabaseToolsIdentityArgs args, InvokeOptions options)
public static Output<GetDatabaseToolsIdentityResult> getDatabaseToolsIdentity(GetDatabaseToolsIdentityArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseTools/getDatabaseToolsIdentity:getDatabaseToolsIdentity
arguments:
# arguments dictionaryThe following arguments are supported:
- Database
Tools stringIdentity Id - The OCID of a Database Tools identity.
- Database
Tools stringIdentity Id - The OCID of a Database Tools identity.
- database
Tools StringIdentity Id - The OCID of a Database Tools identity.
- database
Tools stringIdentity Id - The OCID of a Database Tools identity.
- database_
tools_ stridentity_ id - The OCID of a Database Tools identity.
- database
Tools StringIdentity Id - The OCID of a Database Tools identity.
getDatabaseToolsIdentity Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment containing the Database Tools identity.
- Credential
Key string - The name of the credential object created in the Oracle Database.
- Database
Tools stringConnection Id - The OCID of the related Database Tools connection.
- Database
Tools stringIdentity Id - 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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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 Identity Lock> - Locks associated with this resource.
- State string
- The current state of the Database Tools identity.
- 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
- The Database Tools identity type.
- Compartment
Id string - The OCID of the compartment containing the Database Tools identity.
- Credential
Key string - The name of the credential object created in the Oracle Database.
- Database
Tools stringConnection Id - The OCID of the related Database Tools connection.
- Database
Tools stringIdentity Id - 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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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 Identity Lock - Locks associated with this resource.
- State string
- The current state of the Database Tools identity.
- 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
- The Database Tools identity type.
- compartment
Id String - The OCID of the compartment containing the Database Tools identity.
- credential
Key String - The name of the credential object created in the Oracle Database.
- database
Tools StringConnection Id - The OCID of the related Database Tools connection.
- database
Tools StringIdentity Id - 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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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
Identity Lock> - Locks associated with this resource.
- state String
- The current state of the Database Tools identity.
- 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
- The Database Tools identity type.
- compartment
Id string - The OCID of the compartment containing the Database Tools identity.
- credential
Key string - The name of the credential object created in the Oracle Database.
- database
Tools stringConnection Id - The OCID of the related Database Tools connection.
- database
Tools stringIdentity Id - {[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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[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 Identity Lock[] - Locks associated with this resource.
- state string
- The current state of the Database Tools identity.
- {[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
- The Database Tools identity type.
- compartment_
id str - The OCID of the compartment containing the Database Tools identity.
- credential_
key str - The name of the credential object created in the Oracle Database.
- database_
tools_ strconnection_ id - The OCID of the related Database Tools connection.
- database_
tools_ stridentity_ id - 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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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 Identity Lock] - Locks associated with this resource.
- state str
- The current state of the Database Tools identity.
- 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
- The Database Tools identity type.
- compartment
Id String - The OCID of the compartment containing the Database Tools identity.
- credential
Key String - The name of the credential object created in the Oracle Database.
- database
Tools StringConnection Id - The OCID of the related Database Tools connection.
- database
Tools StringIdentity Id - 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 user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- 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
- The current state of the Database Tools identity.
- 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
- The Database Tools identity type.
Supporting Types
GetDatabaseToolsIdentityLock
- 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
- The Database Tools identity type.
- 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
- The Database Tools identity type.
- 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
- The Database Tools identity type.
- 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
- The Database Tools identity type.
- 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
- The Database Tools identity type.
- 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
- The Database Tools identity type.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
