Scaleway v1.37.0 published on Friday, Nov 7, 2025 by pulumiverse
scaleway.billing.getConsumptions
Start a Neo task
Explain and create a scaleway.billing.getConsumptions resource
Gets information about your Consumptions.
Example Usage
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
Example coming soon!
variables:
# Find your detailed monthly consumption list
my-consumption:
fn::invoke:
function: scaleway:billing:getConsumptions
arguments:
organizationId: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Using getConsumptions
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 getConsumptions(args: GetConsumptionsArgs, opts?: InvokeOptions): Promise<GetConsumptionsResult>
function getConsumptionsOutput(args: GetConsumptionsOutputArgs, opts?: InvokeOptions): Output<GetConsumptionsResult>def get_consumptions(project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConsumptionsResult
def get_consumptions_output(project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConsumptionsResult]func GetConsumptions(ctx *Context, args *GetConsumptionsArgs, opts ...InvokeOption) (*GetConsumptionsResult, error)
func GetConsumptionsOutput(ctx *Context, args *GetConsumptionsOutputArgs, opts ...InvokeOption) GetConsumptionsResultOutput> Note: This function is named GetConsumptions in the Go SDK.
public static class GetConsumptions
{
public static Task<GetConsumptionsResult> InvokeAsync(GetConsumptionsArgs args, InvokeOptions? opts = null)
public static Output<GetConsumptionsResult> Invoke(GetConsumptionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConsumptionsResult> getConsumptions(GetConsumptionsArgs args, InvokeOptions options)
public static Output<GetConsumptionsResult> getConsumptions(GetConsumptionsArgs args, InvokeOptions options)
fn::invoke:
function: scaleway:billing/getConsumptions:getConsumptions
arguments:
# arguments dictionaryThe following arguments are supported:
- Project
Id string project_id) The ID of the project the consumption list is associated with.
- Project
Id string project_id) The ID of the project the consumption list is associated with.
- project
Id String project_id) The ID of the project the consumption list is associated with.
- project
Id string project_id) The ID of the project the consumption list is associated with.
- project_
id str project_id) The ID of the project the consumption list is associated with.
- project
Id String project_id) The ID of the project the consumption list is associated with.
getConsumptions Result
The following output properties are available:
- Consumptions
List<Pulumiverse.
Scaleway. Billing. Outputs. Get Consumptions Consumption> - List of found consumptions
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - Project
Id string - The project ID of the consumption.
- Updated
At string - The last consumption update date.
- Consumptions
[]Get
Consumptions Consumption - List of found consumptions
- Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - Project
Id string - The project ID of the consumption.
- Updated
At string - The last consumption update date.
- consumptions
List<Get
Consumptions Consumption> - List of found consumptions
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - project
Id String - The project ID of the consumption.
- updated
At String - The last consumption update date.
- consumptions
Get
Consumptions Consumption[] - List of found consumptions
- id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - project
Id string - The project ID of the consumption.
- updated
At string - The last consumption update date.
- consumptions
Sequence[Get
Consumptions Consumption] - List of found consumptions
- id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - project_
id str - The project ID of the consumption.
- updated_
at str - The last consumption update date.
- consumptions List<Property Map>
- List of found consumptions
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - project
Id String - The project ID of the consumption.
- updated
At String - The last consumption update date.
Supporting Types
GetConsumptionsConsumption
- Billed
Quantity string - The consumed quantity.
- Category
Name string - The name of the consumption category.
- Product
Name string - The product name.
- Project
Id string project_id) The ID of the project the consumption list is associated with.- Sku string
- The unique identifier of the product.
- Unit string
- The unit of consumed quantity.
- Value string
- The monetary value of the consumption.
- Billed
Quantity string - The consumed quantity.
- Category
Name string - The name of the consumption category.
- Product
Name string - The product name.
- Project
Id string project_id) The ID of the project the consumption list is associated with.- Sku string
- The unique identifier of the product.
- Unit string
- The unit of consumed quantity.
- Value string
- The monetary value of the consumption.
- billed
Quantity String - The consumed quantity.
- category
Name String - The name of the consumption category.
- product
Name String - The product name.
- project
Id String project_id) The ID of the project the consumption list is associated with.- sku String
- The unique identifier of the product.
- unit String
- The unit of consumed quantity.
- value String
- The monetary value of the consumption.
- billed
Quantity string - The consumed quantity.
- category
Name string - The name of the consumption category.
- product
Name string - The product name.
- project
Id string project_id) The ID of the project the consumption list is associated with.- sku string
- The unique identifier of the product.
- unit string
- The unit of consumed quantity.
- value string
- The monetary value of the consumption.
- billed_
quantity str - The consumed quantity.
- category_
name str - The name of the consumption category.
- product_
name str - The product name.
- project_
id str project_id) The ID of the project the consumption list is associated with.- sku str
- The unique identifier of the product.
- unit str
- The unit of consumed quantity.
- value str
- The monetary value of the consumption.
- billed
Quantity String - The consumed quantity.
- category
Name String - The name of the consumption category.
- product
Name String - The product name.
- project
Id String project_id) The ID of the project the consumption list is associated with.- sku String
- The unique identifier of the product.
- unit String
- The unit of consumed quantity.
- value String
- The monetary value of the consumption.
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scalewayTerraform Provider.
