Viewing docs for dbt Cloud v1.11.7
published on Thursday, Sep 24, 2026 by Pulumi
published on Thursday, Sep 24, 2026 by Pulumi
Viewing docs for dbt Cloud v1.11.7
published on Thursday, Sep 24, 2026 by Pulumi
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 dictionarydata "dbtcloud_get_account_add_ons" "name" {
# arguments
}getAccountAddOns Result
The following output properties are available:
- Add
Ons List<Pulumi.Dbt Cloud. Outputs. Get Account Add Ons Add On> - The add-on products the account can use
- Add
Ons []GetAccount Add Ons Add On - The add-on products the account can use
- add_
ons list(object) - The add-on products the account can use
- add
Ons List<GetAccount Add Ons Add On> - The add-on products the account can use
- add
Ons GetAccount Add Ons Add On[] - The add-on products the account can use
- add_
ons Sequence[GetAccount Add Ons Add On] - The add-on products the account can use
- add
Ons List<Property Map> - The add-on products the account can use
Supporting Types
GetAccountAddOnsAddOn
- 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 intNanodollars - 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
wizardit stops usage: the account can no longer use the product once it reaches the limit. Forstatenothing 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,CANCELLEDorEXPIRED. Empty when the account has never turned the product on. A trial moves toEXPIREDon its own when it ends - Trial
Consumed bool - Whether the account has used its one trial of this product
- Trial
Ends stringAt - When the trial ends
- Trial
Started stringAt - 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 intNanodollars - 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
wizardit stops usage: the account can no longer use the product once it reaches the limit. Forstatenothing 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,CANCELLEDorEXPIRED. Empty when the account has never turned the product on. A trial moves toEXPIREDon its own when it ends - Trial
Consumed bool - Whether the account has used its one trial of this product
- Trial
Ends stringAt - When the trial ends
- Trial
Started stringAt - 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_ numbernanodollars - 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
wizardit stops usage: the account can no longer use the product once it reaches the limit. Forstatenothing 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,CANCELLEDorEXPIRED. Empty when the account has never turned the product on. A trial moves toEXPIREDon its own when it ends - trial_
consumed bool - Whether the account has used its one trial of this product
- trial_
ends_ stringat - When the trial ends
- trial_
started_ stringat - When the trial started
- can
Activate Boolean - Whether the account can start paid use of this product now
- can
Trial Boolean - 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 IntegerNanodollars - 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
wizardit stops usage: the account can no longer use the product once it reaches the limit. Forstatenothing 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,CANCELLEDorEXPIRED. Empty when the account has never turned the product on. A trial moves toEXPIREDon its own when it ends - trial
Consumed Boolean - Whether the account has used its one trial of this product
- trial
Ends StringAt - When the trial ends
- trial
Started StringAt - When the trial started
- can
Activate boolean - Whether the account can start paid use of this product now
- can
Trial boolean - 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 numberNanodollars - 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
wizardit stops usage: the account can no longer use the product once it reaches the limit. Forstatenothing 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,CANCELLEDorEXPIRED. Empty when the account has never turned the product on. A trial moves toEXPIREDon its own when it ends - trial
Consumed boolean - Whether the account has used its one trial of this product
- trial
Ends stringAt - When the trial ends
- trial
Started stringAt - 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_ intnanodollars - 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
wizardit stops usage: the account can no longer use the product once it reaches the limit. Forstatenothing 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,CANCELLEDorEXPIRED. Empty when the account has never turned the product on. A trial moves toEXPIREDon its own when it ends - trial_
consumed bool - Whether the account has used its one trial of this product
- trial_
ends_ strat - When the trial ends
- trial_
started_ strat - When the trial started
- can
Activate Boolean - Whether the account can start paid use of this product now
- can
Trial Boolean - 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 NumberNanodollars - 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
wizardit stops usage: the account can no longer use the product once it reaches the limit. Forstatenothing 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,CANCELLEDorEXPIRED. Empty when the account has never turned the product on. A trial moves toEXPIREDon its own when it ends - trial
Consumed Boolean - Whether the account has used its one trial of this product
- trial
Ends StringAt - When the trial ends
- trial
Started StringAt - When the trial started
Package Details
- Repository
- dbtcloud pulumi/pulumi-dbtcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dbtcloudTerraform Provider.
Viewing docs for dbt Cloud v1.11.7
published on Thursday, Sep 24, 2026 by Pulumi
published on Thursday, Sep 24, 2026 by Pulumi