1. Packages
  2. Vantage Provider
  3. API Docs
  4. getCostAlerts
vantage 0.1.60 published on Wednesday, May 14, 2025 by vantage-sh

vantage.getCostAlerts

Explore with Pulumi AI

vantage logo
vantage 0.1.60 published on Wednesday, May 14, 2025 by vantage-sh

    Using getCostAlerts

    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 getCostAlerts(opts?: InvokeOptions): Promise<GetCostAlertsResult>
    function getCostAlertsOutput(opts?: InvokeOptions): Output<GetCostAlertsResult>
    def get_cost_alerts(opts: Optional[InvokeOptions] = None) -> GetCostAlertsResult
    def get_cost_alerts_output(opts: Optional[InvokeOptions] = None) -> Output[GetCostAlertsResult]
    func GetCostAlerts(ctx *Context, opts ...InvokeOption) (*GetCostAlertsResult, error)
    func GetCostAlertsOutput(ctx *Context, opts ...InvokeOption) GetCostAlertsResultOutput

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

    public static class GetCostAlerts 
    {
        public static Task<GetCostAlertsResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetCostAlertsResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCostAlertsResult> getCostAlerts(InvokeOptions options)
    public static Output<GetCostAlertsResult> getCostAlerts(InvokeOptions options)
    
    fn::invoke:
      function: vantage:index/getCostAlerts:getCostAlerts
      arguments:
        # arguments dictionary

    getCostAlerts Result

    The following output properties are available:

    CostAlerts List<GetCostAlertsCostAlert>
    Id string
    The provider-assigned unique ID for this managed resource.
    CostAlerts []GetCostAlertsCostAlert
    Id string
    The provider-assigned unique ID for this managed resource.
    costAlerts List<GetCostAlertsCostAlert>
    id String
    The provider-assigned unique ID for this managed resource.
    costAlerts GetCostAlertsCostAlert[]
    id string
    The provider-assigned unique ID for this managed resource.
    cost_alerts Sequence[GetCostAlertsCostAlert]
    id str
    The provider-assigned unique ID for this managed resource.
    costAlerts List<Property Map>
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GetCostAlertsCostAlert

    CreatedAt string
    The date and time, in UTC, for when the alert was created. ISO 8601 Formatted.
    EmailRecipients List<string>
    The email addresses that will receive the alert.
    Interval string
    The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
    ReportTokens List<string>
    The tokens of the reports to alert on.
    SlackChannels List<string>
    The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
    TeamsChannels List<string>
    The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
    Threshold double
    The cost change threshold to alert on.
    Title string
    Token string
    UnitType string
    The unit type used to compare costs. Options are 'currency' or 'percentage'.
    UpdatedAt string
    The date and time, in UTC, for when the alert was last updated. ISO 8601 Formatted.
    WorkspaceToken string
    The ID of the organization that owns the CostAlert.
    CreatedAt string
    The date and time, in UTC, for when the alert was created. ISO 8601 Formatted.
    EmailRecipients []string
    The email addresses that will receive the alert.
    Interval string
    The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
    ReportTokens []string
    The tokens of the reports to alert on.
    SlackChannels []string
    The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
    TeamsChannels []string
    The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
    Threshold float64
    The cost change threshold to alert on.
    Title string
    Token string
    UnitType string
    The unit type used to compare costs. Options are 'currency' or 'percentage'.
    UpdatedAt string
    The date and time, in UTC, for when the alert was last updated. ISO 8601 Formatted.
    WorkspaceToken string
    The ID of the organization that owns the CostAlert.
    createdAt String
    The date and time, in UTC, for when the alert was created. ISO 8601 Formatted.
    emailRecipients List<String>
    The email addresses that will receive the alert.
    interval String
    The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
    reportTokens List<String>
    The tokens of the reports to alert on.
    slackChannels List<String>
    The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
    teamsChannels List<String>
    The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
    threshold Double
    The cost change threshold to alert on.
    title String
    token String
    unitType String
    The unit type used to compare costs. Options are 'currency' or 'percentage'.
    updatedAt String
    The date and time, in UTC, for when the alert was last updated. ISO 8601 Formatted.
    workspaceToken String
    The ID of the organization that owns the CostAlert.
    createdAt string
    The date and time, in UTC, for when the alert was created. ISO 8601 Formatted.
    emailRecipients string[]
    The email addresses that will receive the alert.
    interval string
    The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
    reportTokens string[]
    The tokens of the reports to alert on.
    slackChannels string[]
    The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
    teamsChannels string[]
    The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
    threshold number
    The cost change threshold to alert on.
    title string
    token string
    unitType string
    The unit type used to compare costs. Options are 'currency' or 'percentage'.
    updatedAt string
    The date and time, in UTC, for when the alert was last updated. ISO 8601 Formatted.
    workspaceToken string
    The ID of the organization that owns the CostAlert.
    created_at str
    The date and time, in UTC, for when the alert was created. ISO 8601 Formatted.
    email_recipients Sequence[str]
    The email addresses that will receive the alert.
    interval str
    The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
    report_tokens Sequence[str]
    The tokens of the reports to alert on.
    slack_channels Sequence[str]
    The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
    teams_channels Sequence[str]
    The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
    threshold float
    The cost change threshold to alert on.
    title str
    token str
    unit_type str
    The unit type used to compare costs. Options are 'currency' or 'percentage'.
    updated_at str
    The date and time, in UTC, for when the alert was last updated. ISO 8601 Formatted.
    workspace_token str
    The ID of the organization that owns the CostAlert.
    createdAt String
    The date and time, in UTC, for when the alert was created. ISO 8601 Formatted.
    emailRecipients List<String>
    The email addresses that will receive the alert.
    interval String
    The period of time used to compare costs. Options are 'day', 'week', 'month', 'quarter'.
    reportTokens List<String>
    The tokens of the reports to alert on.
    slackChannels List<String>
    The Slack channels that will receive the alert. Make sure your slack integration is connected at https://console.vantage.sh/settings/slack.
    teamsChannels List<String>
    The Microsoft Teams channels that will receive the alert. Make sure your teams integration is connected at https://console.vantage.sh/settings/microsoft_teams.
    threshold Number
    The cost change threshold to alert on.
    title String
    token String
    unitType String
    The unit type used to compare costs. Options are 'currency' or 'percentage'.
    updatedAt String
    The date and time, in UTC, for when the alert was last updated. ISO 8601 Formatted.
    workspaceToken String
    The ID of the organization that owns the CostAlert.

    Package Details

    Repository
    vantage vantage-sh/terraform-provider-vantage
    License
    Notes
    This Pulumi package is based on the vantage Terraform Provider.
    vantage logo
    vantage 0.1.60 published on Wednesday, May 14, 2025 by vantage-sh