1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseTools
  5. DatabaseToolsIdentity
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

oci.DatabaseTools.DatabaseToolsIdentity

Start a Neo task
Explain and create an oci.DatabaseTools.DatabaseToolsIdentity resource
oci logo
Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi

    This resource provides the Database Tools Identity resource in Oracle Cloud Infrastructure Database Tools service.

    Creates a new Database Tools identity.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDatabaseToolsIdentity = new oci.databasetools.DatabaseToolsIdentity("test_database_tools_identity", {
        compartmentId: compartmentId,
        credentialKey: databaseToolsIdentityCredentialKey,
        databaseToolsConnectionId: testDatabaseToolsConnection.id,
        displayName: databaseToolsIdentityDisplayName,
        type: databaseToolsIdentityType,
        definedTags: {
            "foo-namespace.bar-key": "value",
        },
        freeformTags: {
            "bar-key": "value",
        },
        locks: [{
            type: databaseToolsIdentityLocksType,
            message: databaseToolsIdentityLocksMessage,
            relatedResourceId: testResource.id,
            timeCreated: databaseToolsIdentityLocksTimeCreated,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_database_tools_identity = oci.databasetools.DatabaseToolsIdentity("test_database_tools_identity",
        compartment_id=compartment_id,
        credential_key=database_tools_identity_credential_key,
        database_tools_connection_id=test_database_tools_connection["id"],
        display_name=database_tools_identity_display_name,
        type=database_tools_identity_type,
        defined_tags={
            "foo-namespace.bar-key": "value",
        },
        freeform_tags={
            "bar-key": "value",
        },
        locks=[{
            "type": database_tools_identity_locks_type,
            "message": database_tools_identity_locks_message,
            "related_resource_id": test_resource["id"],
            "time_created": database_tools_identity_locks_time_created,
        }])
    
    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.NewDatabaseToolsIdentity(ctx, "test_database_tools_identity", &databasetools.DatabaseToolsIdentityArgs{
    			CompartmentId:             pulumi.Any(compartmentId),
    			CredentialKey:             pulumi.Any(databaseToolsIdentityCredentialKey),
    			DatabaseToolsConnectionId: pulumi.Any(testDatabaseToolsConnection.Id),
    			DisplayName:               pulumi.Any(databaseToolsIdentityDisplayName),
    			Type:                      pulumi.Any(databaseToolsIdentityType),
    			DefinedTags: pulumi.StringMap{
    				"foo-namespace.bar-key": pulumi.String("value"),
    			},
    			FreeformTags: pulumi.StringMap{
    				"bar-key": pulumi.String("value"),
    			},
    			Locks: databasetools.DatabaseToolsIdentityLockArray{
    				&databasetools.DatabaseToolsIdentityLockArgs{
    					Type:              pulumi.Any(databaseToolsIdentityLocksType),
    					Message:           pulumi.Any(databaseToolsIdentityLocksMessage),
    					RelatedResourceId: pulumi.Any(testResource.Id),
    					TimeCreated:       pulumi.Any(databaseToolsIdentityLocksTimeCreated),
    				},
    			},
    		})
    		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 = new Oci.DatabaseTools.DatabaseToolsIdentity("test_database_tools_identity", new()
        {
            CompartmentId = compartmentId,
            CredentialKey = databaseToolsIdentityCredentialKey,
            DatabaseToolsConnectionId = testDatabaseToolsConnection.Id,
            DisplayName = databaseToolsIdentityDisplayName,
            Type = databaseToolsIdentityType,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            Locks = new[]
            {
                new Oci.DatabaseTools.Inputs.DatabaseToolsIdentityLockArgs
                {
                    Type = databaseToolsIdentityLocksType,
                    Message = databaseToolsIdentityLocksMessage,
                    RelatedResourceId = testResource.Id,
                    TimeCreated = databaseToolsIdentityLocksTimeCreated,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseTools.DatabaseToolsIdentity;
    import com.pulumi.oci.DatabaseTools.DatabaseToolsIdentityArgs;
    import com.pulumi.oci.DatabaseTools.inputs.DatabaseToolsIdentityLockArgs;
    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) {
            var testDatabaseToolsIdentity = new DatabaseToolsIdentity("testDatabaseToolsIdentity", DatabaseToolsIdentityArgs.builder()
                .compartmentId(compartmentId)
                .credentialKey(databaseToolsIdentityCredentialKey)
                .databaseToolsConnectionId(testDatabaseToolsConnection.id())
                .displayName(databaseToolsIdentityDisplayName)
                .type(databaseToolsIdentityType)
                .definedTags(Map.of("foo-namespace.bar-key", "value"))
                .freeformTags(Map.of("bar-key", "value"))
                .locks(DatabaseToolsIdentityLockArgs.builder()
                    .type(databaseToolsIdentityLocksType)
                    .message(databaseToolsIdentityLocksMessage)
                    .relatedResourceId(testResource.id())
                    .timeCreated(databaseToolsIdentityLocksTimeCreated)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testDatabaseToolsIdentity:
        type: oci:DatabaseTools:DatabaseToolsIdentity
        name: test_database_tools_identity
        properties:
          compartmentId: ${compartmentId}
          credentialKey: ${databaseToolsIdentityCredentialKey}
          databaseToolsConnectionId: ${testDatabaseToolsConnection.id}
          displayName: ${databaseToolsIdentityDisplayName}
          type: ${databaseToolsIdentityType}
          definedTags:
            foo-namespace.bar-key: value
          freeformTags:
            bar-key: value
          locks:
            - type: ${databaseToolsIdentityLocksType}
              message: ${databaseToolsIdentityLocksMessage}
              relatedResourceId: ${testResource.id}
              timeCreated: ${databaseToolsIdentityLocksTimeCreated}
    

    Create DatabaseToolsIdentity Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DatabaseToolsIdentity(name: string, args: DatabaseToolsIdentityArgs, opts?: CustomResourceOptions);
    @overload
    def DatabaseToolsIdentity(resource_name: str,
                              args: DatabaseToolsIdentityArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def DatabaseToolsIdentity(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              compartment_id: Optional[str] = None,
                              credential_key: Optional[str] = None,
                              database_tools_connection_id: Optional[str] = None,
                              display_name: Optional[str] = None,
                              type: Optional[str] = None,
                              defined_tags: Optional[Mapping[str, str]] = None,
                              freeform_tags: Optional[Mapping[str, str]] = None,
                              locks: Optional[Sequence[DatabaseToolsIdentityLockArgs]] = None)
    func NewDatabaseToolsIdentity(ctx *Context, name string, args DatabaseToolsIdentityArgs, opts ...ResourceOption) (*DatabaseToolsIdentity, error)
    public DatabaseToolsIdentity(string name, DatabaseToolsIdentityArgs args, CustomResourceOptions? opts = null)
    public DatabaseToolsIdentity(String name, DatabaseToolsIdentityArgs args)
    public DatabaseToolsIdentity(String name, DatabaseToolsIdentityArgs args, CustomResourceOptions options)
    
    type: oci:DatabaseTools:DatabaseToolsIdentity
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var databaseToolsIdentityResource = new Oci.DatabaseTools.DatabaseToolsIdentity("databaseToolsIdentityResource", new()
    {
        CompartmentId = "string",
        CredentialKey = "string",
        DatabaseToolsConnectionId = "string",
        DisplayName = "string",
        Type = "string",
        DefinedTags = 
        {
            { "string", "string" },
        },
        FreeformTags = 
        {
            { "string", "string" },
        },
        Locks = new[]
        {
            new Oci.DatabaseTools.Inputs.DatabaseToolsIdentityLockArgs
            {
                Type = "string",
                Message = "string",
                RelatedResourceId = "string",
                TimeCreated = "string",
            },
        },
    });
    
    example, err := databasetools.NewDatabaseToolsIdentity(ctx, "databaseToolsIdentityResource", &databasetools.DatabaseToolsIdentityArgs{
    	CompartmentId:             pulumi.String("string"),
    	CredentialKey:             pulumi.String("string"),
    	DatabaseToolsConnectionId: pulumi.String("string"),
    	DisplayName:               pulumi.String("string"),
    	Type:                      pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Locks: databasetools.DatabaseToolsIdentityLockArray{
    		&databasetools.DatabaseToolsIdentityLockArgs{
    			Type:              pulumi.String("string"),
    			Message:           pulumi.String("string"),
    			RelatedResourceId: pulumi.String("string"),
    			TimeCreated:       pulumi.String("string"),
    		},
    	},
    })
    
    var databaseToolsIdentityResource = new DatabaseToolsIdentity("databaseToolsIdentityResource", DatabaseToolsIdentityArgs.builder()
        .compartmentId("string")
        .credentialKey("string")
        .databaseToolsConnectionId("string")
        .displayName("string")
        .type("string")
        .definedTags(Map.of("string", "string"))
        .freeformTags(Map.of("string", "string"))
        .locks(DatabaseToolsIdentityLockArgs.builder()
            .type("string")
            .message("string")
            .relatedResourceId("string")
            .timeCreated("string")
            .build())
        .build());
    
    database_tools_identity_resource = oci.databasetools.DatabaseToolsIdentity("databaseToolsIdentityResource",
        compartment_id="string",
        credential_key="string",
        database_tools_connection_id="string",
        display_name="string",
        type="string",
        defined_tags={
            "string": "string",
        },
        freeform_tags={
            "string": "string",
        },
        locks=[{
            "type": "string",
            "message": "string",
            "related_resource_id": "string",
            "time_created": "string",
        }])
    
    const databaseToolsIdentityResource = new oci.databasetools.DatabaseToolsIdentity("databaseToolsIdentityResource", {
        compartmentId: "string",
        credentialKey: "string",
        databaseToolsConnectionId: "string",
        displayName: "string",
        type: "string",
        definedTags: {
            string: "string",
        },
        freeformTags: {
            string: "string",
        },
        locks: [{
            type: "string",
            message: "string",
            relatedResourceId: "string",
            timeCreated: "string",
        }],
    });
    
    type: oci:DatabaseTools:DatabaseToolsIdentity
    properties:
        compartmentId: string
        credentialKey: string
        databaseToolsConnectionId: string
        definedTags:
            string: string
        displayName: string
        freeformTags:
            string: string
        locks:
            - message: string
              relatedResourceId: string
              timeCreated: string
              type: string
        type: string
    

    DatabaseToolsIdentity Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DatabaseToolsIdentity resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    CredentialKey string
    The name of the credential object created in the Oracle Database.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Type string

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Locks List<DatabaseToolsIdentityLock>
    Locks associated with this resource.
    CompartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    CredentialKey string
    The name of the credential object created in the Oracle Database.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    Type string

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Locks []DatabaseToolsIdentityLockArgs
    Locks associated with this resource.
    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    credentialKey String
    The name of the credential object created in the Oracle Database.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    type String

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks List<IdentityLock>
    Locks associated with this resource.
    compartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    credentialKey string
    The name of the credential object created in the Oracle Database.
    databaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    type string

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks DatabaseToolsIdentityLock[]
    Locks associated with this resource.
    compartment_id str
    (Updatable) 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_connection_id str
    The OCID of the related Database Tools connection.
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    type str

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks Sequence[DatabaseToolsIdentityLockArgs]
    Locks associated with this resource.
    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    credentialKey String
    The name of the credential object created in the Oracle Database.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    type String

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    locks List<Property Map>
    Locks associated with this resource.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails 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.
    State string
    The current state of the Database Tools identity.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    Id string
    The provider-assigned unique ID for this managed resource.
    LifecycleDetails 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.
    State string
    The current state of the Database Tools identity.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    state String
    The current state of the Database Tools identity.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    id string
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    state string
    The current state of the Database Tools identity.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    state str
    The current state of the Database Tools identity.
    system_tags 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.
    id String
    The provider-assigned unique ID for this managed resource.
    lifecycleDetails 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.
    state String
    The current state of the Database Tools identity.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.

    Look up Existing DatabaseToolsIdentity Resource

    Get an existing DatabaseToolsIdentity 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?: DatabaseToolsIdentityState, opts?: CustomResourceOptions): DatabaseToolsIdentity
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            credential_key: Optional[str] = None,
            database_tools_connection_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, str]] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            lifecycle_details: Optional[str] = None,
            locks: Optional[Sequence[DatabaseToolsIdentityLockArgs]] = None,
            state: Optional[str] = None,
            system_tags: Optional[Mapping[str, str]] = None,
            time_created: Optional[str] = None,
            time_updated: Optional[str] = None,
            type: Optional[str] = None) -> DatabaseToolsIdentity
    func GetDatabaseToolsIdentity(ctx *Context, name string, id IDInput, state *DatabaseToolsIdentityState, opts ...ResourceOption) (*DatabaseToolsIdentity, error)
    public static DatabaseToolsIdentity Get(string name, Input<string> id, DatabaseToolsIdentityState? state, CustomResourceOptions? opts = null)
    public static DatabaseToolsIdentity get(String name, Output<String> id, DatabaseToolsIdentityState state, CustomResourceOptions options)
    resources:  _:    type: oci:DatabaseTools:DatabaseToolsIdentity    get:      id: ${id}
    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
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    CredentialKey string
    The name of the credential object created in the Oracle Database.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DefinedTags Dictionary<string, string>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags Dictionary<string, string>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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<DatabaseToolsIdentityLock>
    Locks associated with this resource.
    State string
    The current state of the Database Tools identity.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    Type string

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    CompartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    CredentialKey string
    The name of the credential object created in the Oracle Database.
    DatabaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    DefinedTags map[string]string
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    DisplayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    FreeformTags map[string]string
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    LifecycleDetails 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 []DatabaseToolsIdentityLockArgs
    Locks associated with this resource.
    State string
    The current state of the Database Tools identity.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    TimeUpdated string
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    Type string

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    credentialKey String
    The name of the credential object created in the Oracle Database.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    definedTags Map<String,String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String,String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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<IdentityLock>
    Locks associated with this resource.
    state String
    The current state of the Database Tools identity.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    type String

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId string
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    credentialKey string
    The name of the credential object created in the Oracle Database.
    databaseToolsConnectionId string
    The OCID of the related Database Tools connection.
    definedTags {[key: string]: string}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName string
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags {[key: string]: string}
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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 DatabaseToolsIdentityLock[]
    Locks associated with this resource.
    state string
    The current state of the Database Tools identity.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    timeUpdated string
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    type string

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartment_id str
    (Updatable) 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_connection_id str
    The OCID of the related Database Tools connection.
    defined_tags Mapping[str, str]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    display_name str
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeform_tags Mapping[str, str]
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    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[DatabaseToolsIdentityLockArgs]
    Locks associated with this resource.
    state str
    The current state of the Database Tools identity.
    system_tags 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

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    compartmentId String
    (Updatable) The OCID of the compartment containing the Database Tools identity.
    credentialKey String
    The name of the credential object created in the Oracle Database.
    databaseToolsConnectionId String
    The OCID of the related Database Tools connection.
    definedTags Map<String>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    displayName String
    (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
    freeformTags Map<String>
    (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    lifecycleDetails 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.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The time the Database Tools identity was created. An RFC3339 formatted datetime string.
    timeUpdated String
    The time the Database Tools identity was updated. An RFC3339 formatted datetime string.
    type String

    (Updatable) The Database Tools identity type.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Supporting Types

    DatabaseToolsIdentityLock, DatabaseToolsIdentityLockArgs

    Type string
    Type of the lock.
    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.
    RelatedResourceId string
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    Type string
    Type of the lock.
    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.
    RelatedResourceId string
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    TimeCreated string
    When the lock was created.
    type String
    Type of the lock.
    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.
    relatedResourceId String
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.
    type string
    Type of the lock.
    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.
    relatedResourceId string
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated string
    When the lock was created.
    type str
    Type of the lock.
    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.
    related_resource_id str
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    time_created str
    When the lock was created.
    type String
    Type of the lock.
    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.
    relatedResourceId String
    The id of the resource that is locking this resource. Indicates that deleting this resource will remove the lock.
    timeCreated String
    When the lock was created.

    Import

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

    $ pulumi import oci:DatabaseTools/databaseToolsIdentity:DatabaseToolsIdentity test_database_tools_identity "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.10.0 published on Wednesday, Nov 5, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate