1. Registry
  2. Packages
  3. dbt Cloud Provider
  4. API Docs
  5. getAccountAddOns
Viewing docs for dbt Cloud v1.11.7
published on Thursday, Sep 24, 2026 by Pulumi
dbtcloud logo
Viewing docs for dbt Cloud v1.11.7
published on Thursday, Sep 24, 2026 by Pulumi

    Retrieve the state of every usage-based add-on product the account can use, such as dbt Wizard and dbt State.

    The token needs the billing permission of the account. A product that is turned off for the account is not in the list.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dbtcloud from "@pulumi/dbtcloud";
    
    const all = dbtcloud.getAccountAddOns({});
    export const addOnStates = all.then(all => .reduce((__obj, addOn) => ({ ...__obj, [addOn.product]: addOn.state }), {}));
    
    import pulumi
    import pulumi_dbtcloud as dbtcloud
    
    all = dbtcloud.get_account_add_ons()
    pulumi.export("addOnStates", {add_on.product: add_on.state for addOn in all.add_ons})
    
    Example coming soon!
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DbtCloud = Pulumi.DbtCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var all = DbtCloud.GetAccountAddOns.Invoke();
    
        return new Dictionary<string, object?>
        {
            ["addOnStates"] = .ToDictionary(item => {
                var addOn = item.Value;
                return addOn.Product;
            }, item => {
                var addOn = item.Value;
                return addOn.State;
            }),
        };
    });
    
    Example coming soon!
    
    Example coming soon!
    
    pulumi {
      required_providers {
        dbtcloud = {
          source = "pulumi/dbtcloud"
        }
      }
    }
    
    data "dbtcloud_getaccountaddons" "all" {
    }
    
    output "addOnStates" {
      value = {for addOn in data.dbtcloud_getaccountaddons.all.add_ons : addOn.product => addOn.state}
    }
    

    Using getAccountAddOns

    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 getAccountAddOns(opts?: InvokeOptions): Promise<GetAccountAddOnsResult>
    function getAccountAddOnsOutput(opts?: InvokeOutputOptions): Output<GetAccountAddOnsResult>
    def get_account_add_ons(opts: Optional[InvokeOptions] = None) -> GetAccountAddOnsResult
    def get_account_add_ons_output(opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccountAddOnsResult]
    func GetAccountAddOns(ctx *Context, opts ...InvokeOption) (*GetAccountAddOnsResult, error)
    func GetAccountAddOnsOutput(ctx *Context, opts ...InvokeOption) GetAccountAddOnsResultOutput

    > Note: This function is named GetAccountAddOns in the Go SDK.

    public static class GetAccountAddOns 
    {
        public static Task<GetAccountAddOnsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetAccountAddOnsResult> Invoke(InvokeOptions? opts = null)
        public static Output<GetAccountAddOnsResult> Invoke(InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAccountAddOnsResult> getAccountAddOns(InvokeOptions options)
    public static Output<GetAccountAddOnsResult> getAccountAddOns(InvokeOptions options)
    public static Output<GetAccountAddOnsResult> getAccountAddOns(InvokeOutputOptions options)
    
    fn::invoke:
      function: dbtcloud:index/getAccountAddOns:getAccountAddOns
      arguments:
        # arguments dictionary
    data "dbtcloud_get_account_add_ons" "name" {
        # arguments
    }

    getAccountAddOns Result

    The following output properties are available:

    AddOns List<Pulumi.DbtCloud.Outputs.GetAccountAddOnsAddOn>
    The add-on products the account can use
    AddOns []GetAccountAddOnsAddOn
    The add-on products the account can use
    add_ons list(object)
    The add-on products the account can use
    addOns List<GetAccountAddOnsAddOn>
    The add-on products the account can use
    addOns GetAccountAddOnsAddOn[]
    The add-on products the account can use
    add_ons Sequence[GetAccountAddOnsAddOn]
    The add-on products the account can use
    addOns List<Property Map>
    The add-on products the account can use

    Supporting Types

    GetAccountAddOnsAddOn

    CanActivate bool
    Whether the account can start paid use of this product now
    CanTrial bool
    Whether the account can start a trial of this product now
    Id string
    The add-on product
    Product string
    The add-on product
    SpendLimitNanodollars int
    The spend limit set for the add-on, in nanodollars. 1 USD is 1,000,000,000 nanodollars. Empty when no limit is set. The limit works differently for each product. For wizard it stops usage: the account can no longer use the product once it reaches the limit. For state nothing is stopped, and the limit only raises a usage alert. Change the limit in the dbt platform, because this provider only reads it.
    State string
    The lifecycle state of the add-on: TRIAL, ACTIVE, CANCELLED or EXPIRED. Empty when the account has never turned the product on. A trial moves to EXPIRED on its own when it ends
    TrialConsumed bool
    Whether the account has used its one trial of this product
    TrialEndsAt string
    When the trial ends
    TrialStartedAt string
    When the trial started
    CanActivate bool
    Whether the account can start paid use of this product now
    CanTrial bool
    Whether the account can start a trial of this product now
    Id string
    The add-on product
    Product string
    The add-on product
    SpendLimitNanodollars int
    The spend limit set for the add-on, in nanodollars. 1 USD is 1,000,000,000 nanodollars. Empty when no limit is set. The limit works differently for each product. For wizard it stops usage: the account can no longer use the product once it reaches the limit. For state nothing is stopped, and the limit only raises a usage alert. Change the limit in the dbt platform, because this provider only reads it.
    State string
    The lifecycle state of the add-on: TRIAL, ACTIVE, CANCELLED or EXPIRED. Empty when the account has never turned the product on. A trial moves to EXPIRED on its own when it ends
    TrialConsumed bool
    Whether the account has used its one trial of this product
    TrialEndsAt string
    When the trial ends
    TrialStartedAt string
    When the trial started
    can_activate bool
    Whether the account can start paid use of this product now
    can_trial bool
    Whether the account can start a trial of this product now
    id string
    The add-on product
    product string
    The add-on product
    spend_limit_nanodollars number
    The spend limit set for the add-on, in nanodollars. 1 USD is 1,000,000,000 nanodollars. Empty when no limit is set. The limit works differently for each product. For wizard it stops usage: the account can no longer use the product once it reaches the limit. For state nothing is stopped, and the limit only raises a usage alert. Change the limit in the dbt platform, because this provider only reads it.
    state string
    The lifecycle state of the add-on: TRIAL, ACTIVE, CANCELLED or EXPIRED. Empty when the account has never turned the product on. A trial moves to EXPIRED on its own when it ends
    trial_consumed bool
    Whether the account has used its one trial of this product
    trial_ends_at string
    When the trial ends
    trial_started_at string
    When the trial started
    canActivate Boolean
    Whether the account can start paid use of this product now
    canTrial Boolean
    Whether the account can start a trial of this product now
    id String
    The add-on product
    product String
    The add-on product
    spendLimitNanodollars Integer
    The spend limit set for the add-on, in nanodollars. 1 USD is 1,000,000,000 nanodollars. Empty when no limit is set. The limit works differently for each product. For wizard it stops usage: the account can no longer use the product once it reaches the limit. For state nothing is stopped, and the limit only raises a usage alert. Change the limit in the dbt platform, because this provider only reads it.
    state String
    The lifecycle state of the add-on: TRIAL, ACTIVE, CANCELLED or EXPIRED. Empty when the account has never turned the product on. A trial moves to EXPIRED on its own when it ends
    trialConsumed Boolean
    Whether the account has used its one trial of this product
    trialEndsAt String
    When the trial ends
    trialStartedAt String
    When the trial started
    canActivate boolean
    Whether the account can start paid use of this product now
    canTrial boolean
    Whether the account can start a trial of this product now
    id string
    The add-on product
    product string
    The add-on product
    spendLimitNanodollars number
    The spend limit set for the add-on, in nanodollars. 1 USD is 1,000,000,000 nanodollars. Empty when no limit is set. The limit works differently for each product. For wizard it stops usage: the account can no longer use the product once it reaches the limit. For state nothing is stopped, and the limit only raises a usage alert. Change the limit in the dbt platform, because this provider only reads it.
    state string
    The lifecycle state of the add-on: TRIAL, ACTIVE, CANCELLED or EXPIRED. Empty when the account has never turned the product on. A trial moves to EXPIRED on its own when it ends
    trialConsumed boolean
    Whether the account has used its one trial of this product
    trialEndsAt string
    When the trial ends
    trialStartedAt string
    When the trial started
    can_activate bool
    Whether the account can start paid use of this product now
    can_trial bool
    Whether the account can start a trial of this product now
    id str
    The add-on product
    product str
    The add-on product
    spend_limit_nanodollars int
    The spend limit set for the add-on, in nanodollars. 1 USD is 1,000,000,000 nanodollars. Empty when no limit is set. The limit works differently for each product. For wizard it stops usage: the account can no longer use the product once it reaches the limit. For state nothing is stopped, and the limit only raises a usage alert. Change the limit in the dbt platform, because this provider only reads it.
    state str
    The lifecycle state of the add-on: TRIAL, ACTIVE, CANCELLED or EXPIRED. Empty when the account has never turned the product on. A trial moves to EXPIRED on its own when it ends
    trial_consumed bool
    Whether the account has used its one trial of this product
    trial_ends_at str
    When the trial ends
    trial_started_at str
    When the trial started
    canActivate Boolean
    Whether the account can start paid use of this product now
    canTrial Boolean
    Whether the account can start a trial of this product now
    id String
    The add-on product
    product String
    The add-on product
    spendLimitNanodollars Number
    The spend limit set for the add-on, in nanodollars. 1 USD is 1,000,000,000 nanodollars. Empty when no limit is set. The limit works differently for each product. For wizard it stops usage: the account can no longer use the product once it reaches the limit. For state nothing is stopped, and the limit only raises a usage alert. Change the limit in the dbt platform, because this provider only reads it.
    state String
    The lifecycle state of the add-on: TRIAL, ACTIVE, CANCELLED or EXPIRED. Empty when the account has never turned the product on. A trial moves to EXPIRED on its own when it ends
    trialConsumed Boolean
    Whether the account has used its one trial of this product
    trialEndsAt String
    When the trial ends
    trialStartedAt String
    When the trial started

    Package Details

    Repository
    dbtcloud pulumi/pulumi-dbtcloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dbtcloud Terraform Provider.
    dbtcloud logo
    Viewing docs for dbt Cloud v1.11.7
    published on Thursday, Sep 24, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial