Scaleway v1.14.0 published on Thursday, Jun 6, 2024 by pulumiverse
scaleway.getBillingConsumptions
Explore with Pulumi AI
Using getBillingConsumptions
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 getBillingConsumptions(args: GetBillingConsumptionsArgs, opts?: InvokeOptions): Promise<GetBillingConsumptionsResult>
function getBillingConsumptionsOutput(args: GetBillingConsumptionsOutputArgs, opts?: InvokeOptions): Output<GetBillingConsumptionsResult>
def get_billing_consumptions(project_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBillingConsumptionsResult
def get_billing_consumptions_output(project_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBillingConsumptionsResult]
func GetBillingConsumptions(ctx *Context, args *GetBillingConsumptionsArgs, opts ...InvokeOption) (*GetBillingConsumptionsResult, error)
func GetBillingConsumptionsOutput(ctx *Context, args *GetBillingConsumptionsOutputArgs, opts ...InvokeOption) GetBillingConsumptionsResultOutput
> Note: This function is named GetBillingConsumptions
in the Go SDK.
public static class GetBillingConsumptions
{
public static Task<GetBillingConsumptionsResult> InvokeAsync(GetBillingConsumptionsArgs args, InvokeOptions? opts = null)
public static Output<GetBillingConsumptionsResult> Invoke(GetBillingConsumptionsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBillingConsumptionsResult> getBillingConsumptions(GetBillingConsumptionsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: scaleway:index/getBillingConsumptions:getBillingConsumptions
arguments:
# arguments dictionary
The following arguments are supported:
- Project
Id string
- Project
Id string
- project
Id String
- project
Id string
- project_
id str
- project
Id String
getBillingConsumptions Result
The following output properties are available:
- Consumptions
List<Pulumiverse.
Scaleway. Outputs. Get Billing Consumptions Consumption> - Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - Project
Id string - Updated
At string
- Consumptions
[]Get
Billing Consumptions Consumption - Id string
- The provider-assigned unique ID for this managed resource.
- Organization
Id string - Project
Id string - Updated
At string
- consumptions
List<Get
Billing Consumptions Consumption> - id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - project
Id String - updated
At String
- consumptions
Get
Billing Consumptions Consumption[] - id string
- The provider-assigned unique ID for this managed resource.
- organization
Id string - project
Id string - updated
At string
- consumptions
Sequence[Get
Billing Consumptions Consumption] - id str
- The provider-assigned unique ID for this managed resource.
- organization_
id str - project_
id str - updated_
at str
- consumptions List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- organization
Id String - project
Id String - updated
At String
Supporting Types
GetBillingConsumptionsConsumption
- Billed
Quantity string - Consumed quantity
- Category
Name string - Name of consumption category
- Product
Name string - The product name
- Project
Id string - Project ID of the consumption
- Sku string
- Unique identifier of the product
- Unit string
- Unit of consumed quantity
- Value string
- Monetary value of the consumption
- Billed
Quantity string - Consumed quantity
- Category
Name string - Name of consumption category
- Product
Name string - The product name
- Project
Id string - Project ID of the consumption
- Sku string
- Unique identifier of the product
- Unit string
- Unit of consumed quantity
- Value string
- Monetary value of the consumption
- billed
Quantity String - Consumed quantity
- category
Name String - Name of consumption category
- product
Name String - The product name
- project
Id String - Project ID of the consumption
- sku String
- Unique identifier of the product
- unit String
- Unit of consumed quantity
- value String
- Monetary value of the consumption
- billed
Quantity string - Consumed quantity
- category
Name string - Name of consumption category
- product
Name string - The product name
- project
Id string - Project ID of the consumption
- sku string
- Unique identifier of the product
- unit string
- Unit of consumed quantity
- value string
- Monetary value of the consumption
- billed_
quantity str - Consumed quantity
- category_
name str - Name of consumption category
- product_
name str - The product name
- project_
id str - Project ID of the consumption
- sku str
- Unique identifier of the product
- unit str
- Unit of consumed quantity
- value str
- Monetary value of the consumption
- billed
Quantity String - Consumed quantity
- category
Name String - Name of consumption category
- product
Name String - The product name
- project
Id String - Project ID of the consumption
- sku String
- Unique identifier of the product
- unit String
- Unit of consumed quantity
- value String
- Monetary value of the consumption
Package Details
- Repository
- scaleway pulumiverse/pulumi-scaleway
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
scaleway
Terraform Provider.