1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. browser
  6. Provider
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security
thoth logo
Viewing docs for Thoth v0.1.15
published on Thursday, Jul 23, 2026 by Aten Security

    Create Provider Resource

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

    Constructor syntax

    new Provider(name: string, args: ProviderArgs, opts?: CustomResourceOptions);
    @overload
    def Provider(resource_name: str,
                 args: ProviderArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Provider(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 provider_name: Optional[str] = None,
                 config_json: Optional[str] = None,
                 enabled: Optional[bool] = None,
                 last_error: Optional[str] = None,
                 name: Optional[str] = None,
                 status: Optional[str] = None)
    func NewProvider(ctx *Context, name string, args ProviderArgs, opts ...ResourceOption) (*Provider, error)
    public Provider(string name, ProviderArgs args, CustomResourceOptions? opts = null)
    public Provider(String name, ProviderArgs args)
    public Provider(String name, ProviderArgs args, CustomResourceOptions options)
    
    type: thoth:browser:Provider
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "thoth_browser_provider" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProviderArgs
    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 ProviderArgs
    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 ProviderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProviderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProviderArgs
    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 providerResource = new Thoth.Browser.Provider("providerResource", new()
    {
        ProviderName = "string",
        ConfigJson = "string",
        Enabled = false,
        LastError = "string",
        Name = "string",
        Status = "string",
    });
    
    example, err := browser.NewProvider(ctx, "providerResource", &browser.ProviderArgs{
    	ProviderName: pulumi.String("string"),
    	ConfigJson:   pulumi.String("string"),
    	Enabled:      pulumi.Bool(false),
    	LastError:    pulumi.String("string"),
    	Name:         pulumi.String("string"),
    	Status:       pulumi.String("string"),
    })
    
    resource "thoth_browser_provider" "providerResource" {
      lifecycle {
        create_before_destroy = true
      }
      provider_name = "string"
      config_json   = "string"
      enabled       = false
      last_error    = "string"
      name          = "string"
      status        = "string"
    }
    
    var providerResource = new com.pulumi.thoth.browser.Provider("providerResource", com.pulumi.thoth.browser.ProviderArgs.builder()
        .providerName("string")
        .configJson("string")
        .enabled(false)
        .lastError("string")
        .name("string")
        .status("string")
        .build());
    
    provider_resource = thoth.browser.Provider("providerResource",
        provider_name="string",
        config_json="string",
        enabled=False,
        last_error="string",
        name="string",
        status="string")
    
    const providerResource = new thoth.browser.Provider("providerResource", {
        providerName: "string",
        configJson: "string",
        enabled: false,
        lastError: "string",
        name: "string",
        status: "string",
    });
    
    type: thoth:browser:Provider
    properties:
        configJson: string
        enabled: false
        lastError: string
        name: string
        providerName: string
        status: string
    

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

    ProviderName string
    Browser provider slug: chrome, firefox, safari, island.
    ConfigJson string
    Provider-specific config JSON object.
    Enabled bool
    Enable provider integration.
    LastError string
    Last integration error string.
    Name string
    Display name for this provider integration.
    Status string
    Provider status hint (connected, degraded, disconnected).
    ProviderName string
    Browser provider slug: chrome, firefox, safari, island.
    ConfigJson string
    Provider-specific config JSON object.
    Enabled bool
    Enable provider integration.
    LastError string
    Last integration error string.
    Name string
    Display name for this provider integration.
    Status string
    Provider status hint (connected, degraded, disconnected).
    provider_name string
    Browser provider slug: chrome, firefox, safari, island.
    config_json string
    Provider-specific config JSON object.
    enabled bool
    Enable provider integration.
    last_error string
    Last integration error string.
    name string
    Display name for this provider integration.
    status string
    Provider status hint (connected, degraded, disconnected).
    providerName String
    Browser provider slug: chrome, firefox, safari, island.
    configJson String
    Provider-specific config JSON object.
    enabled Boolean
    Enable provider integration.
    lastError String
    Last integration error string.
    name String
    Display name for this provider integration.
    status String
    Provider status hint (connected, degraded, disconnected).
    providerName string
    Browser provider slug: chrome, firefox, safari, island.
    configJson string
    Provider-specific config JSON object.
    enabled boolean
    Enable provider integration.
    lastError string
    Last integration error string.
    name string
    Display name for this provider integration.
    status string
    Provider status hint (connected, degraded, disconnected).
    provider_name str
    Browser provider slug: chrome, firefox, safari, island.
    config_json str
    Provider-specific config JSON object.
    enabled bool
    Enable provider integration.
    last_error str
    Last integration error string.
    name str
    Display name for this provider integration.
    status str
    Provider status hint (connected, degraded, disconnected).
    providerName String
    Browser provider slug: chrome, firefox, safari, island.
    configJson String
    Provider-specific config JSON object.
    enabled Boolean
    Enable provider integration.
    lastError String
    Last integration error string.
    name String
    Display name for this provider integration.
    status String
    Provider status hint (connected, degraded, disconnected).

    Outputs

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

    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    TenantId string
    Tenant ID from provider config.
    UpdatedAt string
    Last update timestamp.
    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    TenantId string
    Tenant ID from provider config.
    UpdatedAt string
    Last update timestamp.
    created_at string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    tenant_id string
    Tenant ID from provider config.
    updated_at string
    Last update timestamp.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    tenantId String
    Tenant ID from provider config.
    updatedAt String
    Last update timestamp.
    createdAt string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    tenantId string
    Tenant ID from provider config.
    updatedAt string
    Last update timestamp.
    created_at str
    Creation timestamp.
    id str
    The provider-assigned unique ID for this managed resource.
    tenant_id str
    Tenant ID from provider config.
    updated_at str
    Last update timestamp.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    tenantId String
    Tenant ID from provider config.
    updatedAt String
    Last update timestamp.

    Look up Existing Provider Resource

    Get an existing Provider 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?: ProviderState, opts?: CustomResourceOptions): Provider
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            config_json: Optional[str] = None,
            created_at: Optional[str] = None,
            enabled: Optional[bool] = None,
            last_error: Optional[str] = None,
            name: Optional[str] = None,
            provider_name: Optional[str] = None,
            status: Optional[str] = None,
            tenant_id: Optional[str] = None,
            updated_at: Optional[str] = None) -> Provider
    func GetProvider(ctx *Context, name string, id IDInput, state *ProviderState, opts ...ResourceOption) (*Provider, error)
    public static Provider Get(string name, Input<string> id, ProviderState? state, CustomResourceOptions? opts = null)
    public static Provider get(String name, Output<String> id, ProviderState state, CustomResourceOptions options)
    resources:  _:    type: thoth:browser:Provider    get:      id: ${id}
    import {
      to = thoth_browser_provider.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:
    ConfigJson string
    Provider-specific config JSON object.
    CreatedAt string
    Creation timestamp.
    Enabled bool
    Enable provider integration.
    LastError string
    Last integration error string.
    Name string
    Display name for this provider integration.
    ProviderName string
    Browser provider slug: chrome, firefox, safari, island.
    Status string
    Provider status hint (connected, degraded, disconnected).
    TenantId string
    Tenant ID from provider config.
    UpdatedAt string
    Last update timestamp.
    ConfigJson string
    Provider-specific config JSON object.
    CreatedAt string
    Creation timestamp.
    Enabled bool
    Enable provider integration.
    LastError string
    Last integration error string.
    Name string
    Display name for this provider integration.
    ProviderName string
    Browser provider slug: chrome, firefox, safari, island.
    Status string
    Provider status hint (connected, degraded, disconnected).
    TenantId string
    Tenant ID from provider config.
    UpdatedAt string
    Last update timestamp.
    config_json string
    Provider-specific config JSON object.
    created_at string
    Creation timestamp.
    enabled bool
    Enable provider integration.
    last_error string
    Last integration error string.
    name string
    Display name for this provider integration.
    provider_name string
    Browser provider slug: chrome, firefox, safari, island.
    status string
    Provider status hint (connected, degraded, disconnected).
    tenant_id string
    Tenant ID from provider config.
    updated_at string
    Last update timestamp.
    configJson String
    Provider-specific config JSON object.
    createdAt String
    Creation timestamp.
    enabled Boolean
    Enable provider integration.
    lastError String
    Last integration error string.
    name String
    Display name for this provider integration.
    providerName String
    Browser provider slug: chrome, firefox, safari, island.
    status String
    Provider status hint (connected, degraded, disconnected).
    tenantId String
    Tenant ID from provider config.
    updatedAt String
    Last update timestamp.
    configJson string
    Provider-specific config JSON object.
    createdAt string
    Creation timestamp.
    enabled boolean
    Enable provider integration.
    lastError string
    Last integration error string.
    name string
    Display name for this provider integration.
    providerName string
    Browser provider slug: chrome, firefox, safari, island.
    status string
    Provider status hint (connected, degraded, disconnected).
    tenantId string
    Tenant ID from provider config.
    updatedAt string
    Last update timestamp.
    config_json str
    Provider-specific config JSON object.
    created_at str
    Creation timestamp.
    enabled bool
    Enable provider integration.
    last_error str
    Last integration error string.
    name str
    Display name for this provider integration.
    provider_name str
    Browser provider slug: chrome, firefox, safari, island.
    status str
    Provider status hint (connected, degraded, disconnected).
    tenant_id str
    Tenant ID from provider config.
    updated_at str
    Last update timestamp.
    configJson String
    Provider-specific config JSON object.
    createdAt String
    Creation timestamp.
    enabled Boolean
    Enable provider integration.
    lastError String
    Last integration error string.
    name String
    Display name for this provider integration.
    providerName String
    Browser provider slug: chrome, firefox, safari, island.
    status String
    Provider status hint (connected, degraded, disconnected).
    tenantId String
    Tenant ID from provider config.
    updatedAt String
    Last update timestamp.

    Package Details

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

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial