Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse
published on Friday, Jul 17, 2026 by pulumiverse
Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse
published on Friday, Jul 17, 2026 by pulumiverse
Retrieves information about a Scaleway Budget Alert.
Use this data source to get details of an existing budget alert by its ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const main = scaleway.billing.getBudgetAlert({
alertId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
main = scaleway.billing.get_budget_alert(alert_id="11111111-1111-1111-1111-111111111111")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway/billing"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := billing.LookupBudgetAlert(ctx, &billing.LookupBudgetAlertArgs{
AlertId: "11111111-1111-1111-1111-111111111111",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Scaleway = Pulumiverse.Scaleway;
return await Deployment.RunAsync(() =>
{
var main = Scaleway.Billing.GetBudgetAlert.Invoke(new()
{
AlertId = "11111111-1111-1111-1111-111111111111",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.scaleway.billing.BillingFunctions;
import com.pulumi.scaleway.billing.inputs.GetBudgetAlertArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 main = BillingFunctions.getBudgetAlert(GetBudgetAlertArgs.builder()
.alertId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
main:
fn::invoke:
function: scaleway:billing:getBudgetAlert
arguments:
alertId: 11111111-1111-1111-1111-111111111111
Example coming soon!
Using getBudgetAlert
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 getBudgetAlert(args: GetBudgetAlertArgs, opts?: InvokeOptions): Promise<GetBudgetAlertResult>
function getBudgetAlertOutput(args: GetBudgetAlertOutputArgs, opts?: InvokeOptions): Output<GetBudgetAlertResult>def get_budget_alert(alert_id: Optional[str] = None,
budget_id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBudgetAlertResult
def get_budget_alert_output(alert_id: pulumi.Input[Optional[str]] = None,
budget_id: pulumi.Input[Optional[str]] = None,
organization_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBudgetAlertResult]func LookupBudgetAlert(ctx *Context, args *LookupBudgetAlertArgs, opts ...InvokeOption) (*LookupBudgetAlertResult, error)
func LookupBudgetAlertOutput(ctx *Context, args *LookupBudgetAlertOutputArgs, opts ...InvokeOption) LookupBudgetAlertResultOutput> Note: This function is named LookupBudgetAlert in the Go SDK.
public static class GetBudgetAlert
{
public static Task<GetBudgetAlertResult> InvokeAsync(GetBudgetAlertArgs args, InvokeOptions? opts = null)
public static Output<GetBudgetAlertResult> Invoke(GetBudgetAlertInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBudgetAlertResult> getBudgetAlert(GetBudgetAlertArgs args, InvokeOptions options)
public static Output<GetBudgetAlertResult> getBudgetAlert(GetBudgetAlertArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:billing/getBudgetAlert:getBudgetAlert
arguments:
# arguments dictionarydata "scaleway_billing_get_budget_alert" "name" {
# arguments
}The following arguments are supported:
- Alert
Id string - The ID of the budget alert to retrieve.
- Budget
Id string - The ID of the budget. If not provided, it will be retrieved from the alert.
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Alert
Id string - The ID of the budget alert to retrieve.
- Budget
Id string - The ID of the budget. If not provided, it will be retrieved from the alert.
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- alert_
id string - The ID of the budget alert to retrieve.
- budget_
id string - The ID of the budget. If not provided, it will be retrieved from the alert.
- organization_
id string - The organization ID. If not provided, the default organization configured in the provider is used.
- alert
Id String - The ID of the budget alert to retrieve.
- budget
Id String - The ID of the budget. If not provided, it will be retrieved from the alert.
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- alert
Id string - The ID of the budget alert to retrieve.
- budget
Id string - The ID of the budget. If not provided, it will be retrieved from the alert.
- organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- alert_
id str - The ID of the budget alert to retrieve.
- budget_
id str - The ID of the budget. If not provided, it will be retrieved from the alert.
- organization_
id str - The organization ID. If not provided, the default organization configured in the provider is used.
- alert
Id String - The ID of the budget alert to retrieve.
- budget
Id String - The ID of the budget. If not provided, it will be retrieved from the alert.
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
getBudgetAlert Result
The following output properties are available:
- alert_
id string - budget_
id string - created_
at string - The date and time of budget alert creation
- id string
- The ID of the budget alert
- organization_
id string - threshold number
- Threshold percentage above which the alert is sent
- updated_
at string - The date and time when the budget alert was last updated
- alert_
id str - budget_
id str - created_
at str - The date and time of budget alert creation
- id str
- The ID of the budget alert
- organization_
id str - threshold int
- Threshold percentage above which the alert is sent
- updated_
at str - The date and time when the budget alert was last updated
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
Viewing docs for Scaleway v1.53.0
published on Friday, Jul 17, 2026 by pulumiverse
published on Friday, Jul 17, 2026 by pulumiverse