1. Registry
  2. Packages
  3. Thoth
  4. API Docs
  5. governance
  6. DataHandling
Viewing docs for Thoth v0.1.22
published on Sunday, Oct 25, 2026 by Aten Security
thoth logo Thoth
Viewing docs for Thoth v0.1.22
published on Sunday, Oct 25, 2026 by Aten Security

    Create DataHandling Resource

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

    Constructor syntax

    new DataHandling(name: string, args?: DataHandlingArgs, opts?: CustomResourceOptions);
    @overload
    def DataHandling(resource_name: str,
                     args: Optional[DataHandlingArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataHandling(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     prompts: Optional[str] = None,
                     tool_arguments: Optional[str] = None)
    func NewDataHandling(ctx *Context, name string, args *DataHandlingArgs, opts ...ResourceOption) (*DataHandling, error)
    public DataHandling(string name, DataHandlingArgs? args = null, CustomResourceOptions? opts = null)
    public DataHandling(String name, DataHandlingArgs args)
    public DataHandling(String name, DataHandlingArgs args, CustomResourceOptions options)
    
    type: thoth:governance:DataHandling
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "thoth_governance_data_handling" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DataHandlingArgs
    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 DataHandlingArgs
    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 DataHandlingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataHandlingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataHandlingArgs
    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 dataHandlingResource = new Thoth.Governance.DataHandling("dataHandlingResource", new()
    {
        Prompts = "string",
        ToolArguments = "string",
    });
    
    example, err := governance.NewDataHandling(ctx, "dataHandlingResource", &governance.DataHandlingArgs{
    	Prompts:       pulumi.String("string"),
    	ToolArguments: pulumi.String("string"),
    })
    
    resource "thoth_governance_data_handling" "dataHandlingResource" {
      lifecycle {
        create_before_destroy = true
      }
      prompts        = "string"
      tool_arguments = "string"
    }
    
    var dataHandlingResource = new DataHandling("dataHandlingResource", DataHandlingArgs.builder()
        .prompts("string")
        .toolArguments("string")
        .build());
    
    data_handling_resource = thoth.governance.DataHandling("dataHandlingResource",
        prompts="string",
        tool_arguments="string")
    
    const dataHandlingResource = new thoth.governance.DataHandling("dataHandlingResource", {
        prompts: "string",
        toolArguments: "string",
    });
    
    type: thoth:governance:DataHandling
    properties:
        prompts: string
        toolArguments: string
    

    DataHandling 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 DataHandling resource accepts the following input properties:

    Prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    ToolArguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    Prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    ToolArguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    tool_arguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts String
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    toolArguments String
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    toolArguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts str
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    tool_arguments str
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts String
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    toolArguments String
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    TenantId string
    Tenant ID resolved from provider configuration.
    Id string
    The provider-assigned unique ID for this managed resource.
    TenantId string
    Tenant ID resolved from provider configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    tenant_id string
    Tenant ID resolved from provider configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    tenantId String
    Tenant ID resolved from provider configuration.
    id string
    The provider-assigned unique ID for this managed resource.
    tenantId string
    Tenant ID resolved from provider configuration.
    id str
    The provider-assigned unique ID for this managed resource.
    tenant_id str
    Tenant ID resolved from provider configuration.
    id String
    The provider-assigned unique ID for this managed resource.
    tenantId String
    Tenant ID resolved from provider configuration.

    Look up Existing DataHandling Resource

    Get an existing DataHandling 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?: DataHandlingState, opts?: CustomResourceOptions): DataHandling
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            prompts: Optional[str] = None,
            tenant_id: Optional[str] = None,
            tool_arguments: Optional[str] = None) -> DataHandling
    func GetDataHandling(ctx *Context, name string, id IDInput, state *DataHandlingState, opts ...ResourceOption) (*DataHandling, error)
    public static DataHandling Get(string name, Input<string> id, DataHandlingState? state, CustomResourceOptions? opts = null)
    public static DataHandling get(String name, Output<String> id, DataHandlingState state, CustomResourceOptions options)
    resources:  _:    type: thoth:governance:DataHandling    get:      id: ${id}
    import {
      to = thoth_governance_data_handling.example
      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:
    Prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    TenantId string
    Tenant ID resolved from provider configuration.
    ToolArguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    Prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    TenantId string
    Tenant ID resolved from provider configuration.
    ToolArguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    tenant_id string
    Tenant ID resolved from provider configuration.
    tool_arguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts String
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    tenantId String
    Tenant ID resolved from provider configuration.
    toolArguments String
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts string
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    tenantId string
    Tenant ID resolved from provider configuration.
    toolArguments string
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts str
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    tenant_id str
    Tenant ID resolved from provider configuration.
    tool_arguments str
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.
    prompts String
    Prompts, model output and tool results: store, hash the whole text with a workspace-keyed HMAC, or drop. Default drop.
    tenantId String
    Tenant ID resolved from provider configuration.
    toolArguments String
    Tool arguments: store as sent, hash each value with a workspace-keyed HMAC (argument names kept), redact each value to its type, or drop. Default hash.

    Package Details

    Repository
    thoth atensecurity/pulumi-thoth
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the thoth Terraform Provider.
    thoth logo Thoth
    Viewing docs for Thoth v0.1.22
    published on Sunday, Oct 25, 2026 by Aten Security

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial