Viewing docs for vantage 0.3.19
published on Thursday, Sep 10, 2026 by vantage-sh
published on Thursday, Sep 10, 2026 by vantage-sh
Viewing docs for vantage 0.3.19
published on Thursday, Sep 10, 2026 by vantage-sh
published on Thursday, Sep 10, 2026 by vantage-sh
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as vantage from "@pulumi/vantage";
const demo = vantage.getBudgetAlerts({
budgetToken: demoBudget.token,
});
import pulumi
import pulumi_vantage as vantage
demo = vantage.get_budget_alerts(budget_token=demo_budget["token"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/vantage/vantage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := vantage.GetBudgetAlerts(ctx, &vantage.GetBudgetAlertsArgs{
BudgetToken: pulumi.StringRef(demoBudget.Token),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Vantage = Pulumi.Vantage;
return await Deployment.RunAsync(() =>
{
var demo = Vantage.GetBudgetAlerts.Invoke(new()
{
BudgetToken = demoBudget.Token,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.vantage.VantageFunctions;
import com.pulumi.vantage.inputs.GetBudgetAlertsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var demo = VantageFunctions.getBudgetAlerts(GetBudgetAlertsArgs.builder()
.budgetToken(demoBudget.token())
.build());
}
}
variables:
demo:
fn::invoke:
function: vantage:getBudgetAlerts
arguments:
budgetToken: ${demoBudget.token}
Example coming soon!
Using getBudgetAlerts
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 getBudgetAlerts(args: GetBudgetAlertsArgs, opts?: InvokeOptions): Promise<GetBudgetAlertsResult>
function getBudgetAlertsOutput(args: GetBudgetAlertsOutputArgs, opts?: InvokeOutputOptions): Output<GetBudgetAlertsResult>def get_budget_alerts(budget_token: Optional[str] = None,
workspace_token: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBudgetAlertsResult
def get_budget_alerts_output(budget_token: pulumi.Input[Optional[str]] = None,
workspace_token: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetBudgetAlertsResult]func GetBudgetAlerts(ctx *Context, args *GetBudgetAlertsArgs, opts ...InvokeOption) (*GetBudgetAlertsResult, error)
func GetBudgetAlertsOutput(ctx *Context, args *GetBudgetAlertsOutputArgs, opts ...InvokeOption) GetBudgetAlertsResultOutput> Note: This function is named GetBudgetAlerts in the Go SDK.
public static class GetBudgetAlerts
{
public static Task<GetBudgetAlertsResult> InvokeAsync(GetBudgetAlertsArgs args, InvokeOptions? opts = null)
public static Output<GetBudgetAlertsResult> Invoke(GetBudgetAlertsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetBudgetAlertsResult> Invoke(GetBudgetAlertsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetBudgetAlertsResult> getBudgetAlerts(GetBudgetAlertsArgs args, InvokeOptions options)
public static Output<GetBudgetAlertsResult> getBudgetAlerts(GetBudgetAlertsArgs args, InvokeOptions options)
public static Output<GetBudgetAlertsResult> getBudgetAlerts(GetBudgetAlertsArgs args, InvokeOutputOptions options)
fn::invoke:
function: vantage:index/getBudgetAlerts:getBudgetAlerts
arguments:
# arguments dictionarydata "vantage_get_budget_alerts" "name" {
# arguments
}The following arguments are supported:
- Budget
Token string - Filter by budget token.
- Workspace
Token string - Filter by workspace token.
- Budget
Token string - Filter by budget token.
- Workspace
Token string - Filter by workspace token.
- budget_
token string - Filter by budget token.
- workspace_
token string - Filter by workspace token.
- budget
Token String - Filter by budget token.
- workspace
Token String - Filter by workspace token.
- budget
Token string - Filter by budget token.
- workspace
Token string - Filter by workspace token.
- budget_
token str - Filter by budget token.
- workspace_
token str - Filter by workspace token.
- budget
Token String - Filter by budget token.
- workspace
Token String - Filter by workspace token.
getBudgetAlerts Result
The following output properties are available:
- Budget
Alerts List<GetBudget Alerts Budget Alert> - Budget
Token string - Filter by budget token.
- Id string
- The provider-assigned unique ID for this managed resource.
- Workspace
Token string - Filter by workspace token.
- Budget
Alerts []GetBudget Alerts Budget Alert - Budget
Token string - Filter by budget token.
- Id string
- The provider-assigned unique ID for this managed resource.
- Workspace
Token string - Filter by workspace token.
- budget_
alerts list(object) - budget_
token string - Filter by budget token.
- id string
- The provider-assigned unique ID for this managed resource.
- workspace_
token string - Filter by workspace token.
- budget
Alerts List<GetBudget Alerts Budget Alert> - budget
Token String - Filter by budget token.
- id String
- The provider-assigned unique ID for this managed resource.
- workspace
Token String - Filter by workspace token.
- budget
Alerts GetBudget Alerts Budget Alert[] - budget
Token string - Filter by budget token.
- id string
- The provider-assigned unique ID for this managed resource.
- workspace
Token string - Filter by workspace token.
- budget_
alerts Sequence[GetBudget Alerts Budget Alert] - budget_
token str - Filter by budget token.
- id str
- The provider-assigned unique ID for this managed resource.
- workspace_
token str - Filter by workspace token.
- budget
Alerts List<Property Map> - budget
Token String - Filter by budget token.
- id String
- The provider-assigned unique ID for this managed resource.
- workspace
Token String - Filter by workspace token.
Supporting Types
GetBudgetAlertsBudgetAlert
- Budget
Tokens List<string> - The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
- Created
At string - The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
- Duration
In doubleDays - The API's nullable integer duration. A null value means the full month; the
vantage.BudgetAlertresource writes the same state as"". - Id string
- The id of the resource
- Integration
Provider string - The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
- Period
To stringTrack - The period tracked on the alert. Used with durationindays to determine the time window of the alert. Possible values: startofthemonth, endofthemonth.
- Recipient
Channels List<string> - The channels receiving the alerts. Requires an integration provider to be connected.
- Recipient
Emails List<string> - The complete recipient address list, including organization users and freeform addresses on verified domains.
- Threshold double
- Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
- Token string
- User
Token string - The token for the User who created this BudgetAlert.
- User
Tokens List<string> - The organization-user subset of recipients. Freeform verified-domain addresses are excluded; recipient_emails contains the complete address list.
- Workspace
Token string - The token for the Workspace the ResourceReport is a part of.
- Budget
Tokens []string - The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
- Created
At string - The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
- Duration
In float64Days - The API's nullable integer duration. A null value means the full month; the
vantage.BudgetAlertresource writes the same state as"". - Id string
- The id of the resource
- Integration
Provider string - The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
- Period
To stringTrack - The period tracked on the alert. Used with durationindays to determine the time window of the alert. Possible values: startofthemonth, endofthemonth.
- Recipient
Channels []string - The channels receiving the alerts. Requires an integration provider to be connected.
- Recipient
Emails []string - The complete recipient address list, including organization users and freeform addresses on verified domains.
- Threshold float64
- Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
- Token string
- User
Token string - The token for the User who created this BudgetAlert.
- User
Tokens []string - The organization-user subset of recipients. Freeform verified-domain addresses are excluded; recipient_emails contains the complete address list.
- Workspace
Token string - The token for the Workspace the ResourceReport is a part of.
- budget_
tokens list(string) - The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
- created_
at string - The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
- duration_
in_ numberdays - The API's nullable integer duration. A null value means the full month; the
vantage.BudgetAlertresource writes the same state as"". - id string
- The id of the resource
- integration_
provider string - The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
- period_
to_ stringtrack - The period tracked on the alert. Used with durationindays to determine the time window of the alert. Possible values: startofthemonth, endofthemonth.
- recipient_
channels list(string) - The channels receiving the alerts. Requires an integration provider to be connected.
- recipient_
emails list(string) - The complete recipient address list, including organization users and freeform addresses on verified domains.
- threshold number
- Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
- token string
- user_
token string - The token for the User who created this BudgetAlert.
- user_
tokens list(string) - The organization-user subset of recipients. Freeform verified-domain addresses are excluded; recipient_emails contains the complete address list.
- workspace_
token string - The token for the Workspace the ResourceReport is a part of.
- budget
Tokens List<String> - The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
- created
At String - The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
- duration
In DoubleDays - The API's nullable integer duration. A null value means the full month; the
vantage.BudgetAlertresource writes the same state as"". - id String
- The id of the resource
- integration
Provider String - The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
- period
To StringTrack - The period tracked on the alert. Used with durationindays to determine the time window of the alert. Possible values: startofthemonth, endofthemonth.
- recipient
Channels List<String> - The channels receiving the alerts. Requires an integration provider to be connected.
- recipient
Emails List<String> - The complete recipient address list, including organization users and freeform addresses on verified domains.
- threshold Double
- Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
- token String
- user
Token String - The token for the User who created this BudgetAlert.
- user
Tokens List<String> - The organization-user subset of recipients. Freeform verified-domain addresses are excluded; recipient_emails contains the complete address list.
- workspace
Token String - The token for the Workspace the ResourceReport is a part of.
- budget
Tokens string[] - The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
- created
At string - The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
- duration
In numberDays - The API's nullable integer duration. A null value means the full month; the
vantage.BudgetAlertresource writes the same state as"". - id string
- The id of the resource
- integration
Provider string - The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
- period
To stringTrack - The period tracked on the alert. Used with durationindays to determine the time window of the alert. Possible values: startofthemonth, endofthemonth.
- recipient
Channels string[] - The channels receiving the alerts. Requires an integration provider to be connected.
- recipient
Emails string[] - The complete recipient address list, including organization users and freeform addresses on verified domains.
- threshold number
- Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
- token string
- user
Token string - The token for the User who created this BudgetAlert.
- user
Tokens string[] - The organization-user subset of recipients. Freeform verified-domain addresses are excluded; recipient_emails contains the complete address list.
- workspace
Token string - The token for the Workspace the ResourceReport is a part of.
- budget_
tokens Sequence[str] - The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
- created_
at str - The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
- duration_
in_ floatdays - The API's nullable integer duration. A null value means the full month; the
vantage.BudgetAlertresource writes the same state as"". - id str
- The id of the resource
- integration_
provider str - The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
- period_
to_ strtrack - The period tracked on the alert. Used with durationindays to determine the time window of the alert. Possible values: startofthemonth, endofthemonth.
- recipient_
channels Sequence[str] - The channels receiving the alerts. Requires an integration provider to be connected.
- recipient_
emails Sequence[str] - The complete recipient address list, including organization users and freeform addresses on verified domains.
- threshold float
- Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
- token str
- user_
token str - The token for the User who created this BudgetAlert.
- user_
tokens Sequence[str] - The organization-user subset of recipients. Freeform verified-domain addresses are excluded; recipient_emails contains the complete address list.
- workspace_
token str - The token for the Workspace the ResourceReport is a part of.
- budget
Tokens List<String> - The tokens for the Budgets that the Budget Alert is monitoring to trigger alerts on.
- created
At String - The date and time, in UTC, the Budget Alert was created. ISO 8601 Formatted.
- duration
In NumberDays - The API's nullable integer duration. A null value means the full month; the
vantage.BudgetAlertresource writes the same state as"". - id String
- The id of the resource
- integration
Provider String - The provider used for sending alerts. This must be configured in the console. Possible values are: slack, microsoft_graph.
- period
To StringTrack - The period tracked on the alert. Used with durationindays to determine the time window of the alert. Possible values: startofthemonth, endofthemonth.
- recipient
Channels List<String> - The channels receiving the alerts. Requires an integration provider to be connected.
- recipient
Emails List<String> - The complete recipient address list, including organization users and freeform addresses on verified domains.
- threshold Number
- Alerts only send if they reach this number (as a percentage). When threshold is 100, that means alerts are triggered once costs reach 100% of the budget.
- token String
- user
Token String - The token for the User who created this BudgetAlert.
- user
Tokens List<String> - The organization-user subset of recipients. Freeform verified-domain addresses are excluded; recipient_emails contains the complete address list.
- workspace
Token String - The token for the Workspace the ResourceReport is a part of.
Package Details
- Repository
- vantage vantage-sh/terraform-provider-vantage
- License
- Notes
- This Pulumi package is based on the
vantageTerraform Provider.
Viewing docs for vantage 0.3.19
published on Thursday, Sep 10, 2026 by vantage-sh
published on Thursday, Sep 10, 2026 by vantage-sh