1. Packages
  2. Packages
  3. Thoth
  4. API Docs
  5. billing
  6. getCreditBank
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

    Using getCreditBank

    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 getCreditBank(args: GetCreditBankArgs, opts?: InvokeOptions): Promise<GetCreditBankResult>
    function getCreditBankOutput(args: GetCreditBankOutputArgs, opts?: InvokeOptions): Output<GetCreditBankResult>
    def get_credit_bank(as_of: Optional[str] = None,
                        average_monthly_burn_cents: Optional[int] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCreditBankResult
    def get_credit_bank_output(as_of: pulumi.Input[Optional[str]] = None,
                        average_monthly_burn_cents: pulumi.Input[Optional[int]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCreditBankResult]
    func GetCreditBank(ctx *Context, args *GetCreditBankArgs, opts ...InvokeOption) (*GetCreditBankResult, error)
    func GetCreditBankOutput(ctx *Context, args *GetCreditBankOutputArgs, opts ...InvokeOption) GetCreditBankResultOutput

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

    public static class GetCreditBank 
    {
        public static Task<GetCreditBankResult> InvokeAsync(GetCreditBankArgs args, InvokeOptions? opts = null)
        public static Output<GetCreditBankResult> Invoke(GetCreditBankInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCreditBankResult> getCreditBank(GetCreditBankArgs args, InvokeOptions options)
    public static Output<GetCreditBankResult> getCreditBank(GetCreditBankArgs args, InvokeOptions options)
    
    fn::invoke:
      function: thoth:billing/getCreditBank:getCreditBank
      arguments:
        # arguments dictionary
    data "thoth_billing_get_credit_bank" "name" {
        # arguments
    }

    The following arguments are supported:

    getCreditBank Result

    The following output properties are available:

    ActiveWalletCount int
    ActiveWalletsJson string
    Id string
    The provider-assigned unique ID for this managed resource.
    LowBalanceAlert bool
    LowBalanceThresholdCents int
    ResponseJson string
    TotalActiveBalanceCents int
    AsOf string
    AverageMonthlyBurnCents int
    ActiveWalletCount int
    ActiveWalletsJson string
    Id string
    The provider-assigned unique ID for this managed resource.
    LowBalanceAlert bool
    LowBalanceThresholdCents int
    ResponseJson string
    TotalActiveBalanceCents int
    AsOf string
    AverageMonthlyBurnCents int
    active_wallet_count number
    active_wallets_json string
    id string
    The provider-assigned unique ID for this managed resource.
    low_balance_alert bool
    low_balance_threshold_cents number
    response_json string
    total_active_balance_cents number
    as_of string
    average_monthly_burn_cents number
    activeWalletCount Integer
    activeWalletsJson String
    id String
    The provider-assigned unique ID for this managed resource.
    lowBalanceAlert Boolean
    lowBalanceThresholdCents Integer
    responseJson String
    totalActiveBalanceCents Integer
    asOf String
    averageMonthlyBurnCents Integer
    activeWalletCount number
    activeWalletsJson string
    id string
    The provider-assigned unique ID for this managed resource.
    lowBalanceAlert boolean
    lowBalanceThresholdCents number
    responseJson string
    totalActiveBalanceCents number
    asOf string
    averageMonthlyBurnCents number
    activeWalletCount Number
    activeWalletsJson String
    id String
    The provider-assigned unique ID for this managed resource.
    lowBalanceAlert Boolean
    lowBalanceThresholdCents Number
    responseJson String
    totalActiveBalanceCents Number
    asOf String
    averageMonthlyBurnCents Number

    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