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.
Use this data source to get details of an existing budget by its ID.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as scaleway from "@pulumiverse/scaleway";
const main = scaleway.billing.getBudget({
budgetId: "11111111-1111-1111-1111-111111111111",
});
import pulumi
import pulumi_scaleway as scaleway
main = scaleway.billing.get_budget(budget_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.LookupBudget(ctx, &billing.LookupBudgetArgs{
BudgetId: "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.GetBudget.Invoke(new()
{
BudgetId = "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.GetBudgetArgs;
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.getBudget(GetBudgetArgs.builder()
.budgetId("11111111-1111-1111-1111-111111111111")
.build());
}
}
variables:
main:
fn::invoke:
function: scaleway:billing:getBudget
arguments:
budgetId: 11111111-1111-1111-1111-111111111111
Example coming soon!
Using getBudget
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 getBudget(args: GetBudgetArgs, opts?: InvokeOptions): Promise<GetBudgetResult>
function getBudgetOutput(args: GetBudgetOutputArgs, opts?: InvokeOptions): Output<GetBudgetResult>def get_budget(budget_id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBudgetResult
def get_budget_output(budget_id: pulumi.Input[Optional[str]] = None,
organization_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBudgetResult]func LookupBudget(ctx *Context, args *LookupBudgetArgs, opts ...InvokeOption) (*LookupBudgetResult, error)
func LookupBudgetOutput(ctx *Context, args *LookupBudgetOutputArgs, opts ...InvokeOption) LookupBudgetResultOutput> Note: This function is named LookupBudget in the Go SDK.
public static class GetBudget
{
public static Task<GetBudgetResult> InvokeAsync(GetBudgetArgs args, InvokeOptions? opts = null)
public static Output<GetBudgetResult> Invoke(GetBudgetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBudgetResult> getBudget(GetBudgetArgs args, InvokeOptions options)
public static Output<GetBudgetResult> getBudget(GetBudgetArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:billing/getBudget:getBudget
arguments:
# arguments dictionarydata "scaleway_billing_getbudget" "name" {
# arguments
}The following arguments are supported:
- Budget
Id string - The ID of the budget to retrieve.
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- Budget
Id string - The ID of the budget to retrieve.
- Organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- budget_
id string - The ID of the budget to retrieve.
- organization_
id string - The organization ID. If not provided, the default organization configured in the provider is used.
- budget
Id String - The ID of the budget to retrieve.
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
- budget
Id string - The ID of the budget to retrieve.
- organization
Id string - The organization ID. If not provided, the default organization configured in the provider is used.
- budget_
id str - The ID of the budget to retrieve.
- organization_
id str - The organization ID. If not provided, the default organization configured in the provider is used.
- budget
Id String - The ID of the budget to retrieve.
- organization
Id String - The organization ID. If not provided, the default organization configured in the provider is used.
getBudget Result
The following output properties are available:
- Budget
Id string - Consumption
Limit int - Cost limit for the budget in cents
- Created
At string - The date and time of budget creation
- Enabled bool
- Whether the budget is enabled or not
- Id string
- The ID of the budget
- Organization
Id string - Updated
At string - The date and time when the budget was last updated
- Budget
Id string - Consumption
Limit int - Cost limit for the budget in cents
- Created
At string - The date and time of budget creation
- Enabled bool
- Whether the budget is enabled or not
- Id string
- The ID of the budget
- Organization
Id string - Updated
At string - The date and time when the budget was last updated
- budget_
id string - consumption_
limit number - Cost limit for the budget in cents
- created_
at string - The date and time of budget creation
- enabled bool
- Whether the budget is enabled or not
- id string
- The ID of the budget
- organization_
id string - updated_
at string - The date and time when the budget was last updated
- budget
Id String - consumption
Limit Integer - Cost limit for the budget in cents
- created
At String - The date and time of budget creation
- enabled Boolean
- Whether the budget is enabled or not
- id String
- The ID of the budget
- organization
Id String - updated
At String - The date and time when the budget was last updated
- budget
Id string - consumption
Limit number - Cost limit for the budget in cents
- created
At string - The date and time of budget creation
- enabled boolean
- Whether the budget is enabled or not
- id string
- The ID of the budget
- organization
Id string - updated
At string - The date and time when the budget was last updated
- budget_
id str - consumption_
limit int - Cost limit for the budget in cents
- created_
at str - The date and time of budget creation
- enabled bool
- Whether the budget is enabled or not
- id str
- The ID of the budget
- organization_
id str - updated_
at str - The date and time when the budget was last updated
- budget
Id String - consumption
Limit Number - Cost limit for the budget in cents
- created
At String - The date and time of budget creation
- enabled Boolean
- Whether the budget is enabled or not
- id String
- The ID of the budget
- organization
Id String - updated
At String - The date and time when the budget 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