1. Packages
  2. Scaleway
  3. API Docs
  4. getBillingConsumptions
Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse

scaleway.getBillingConsumptions

Explore with Pulumi AI

scaleway logo
Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse

    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:

    ProjectId string
    ProjectId string
    projectId String
    projectId string
    projectId String

    getBillingConsumptions Result

    The following output properties are available:

    Consumptions List<Pulumiverse.Scaleway.Outputs.GetBillingConsumptionsConsumption>
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    ProjectId string
    UpdatedAt string
    Consumptions []GetBillingConsumptionsConsumption
    Id string
    The provider-assigned unique ID for this managed resource.
    OrganizationId string
    ProjectId string
    UpdatedAt string
    consumptions List<GetBillingConsumptionsConsumption>
    id String
    The provider-assigned unique ID for this managed resource.
    organizationId String
    projectId String
    updatedAt String
    consumptions GetBillingConsumptionsConsumption[]
    id string
    The provider-assigned unique ID for this managed resource.
    organizationId string
    projectId string
    updatedAt string
    consumptions Sequence[GetBillingConsumptionsConsumption]
    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.
    organizationId String
    projectId String
    updatedAt String

    Supporting Types

    GetBillingConsumptionsConsumption

    BilledQuantity string
    Consumed quantity
    CategoryName string
    Name of consumption category
    ProductName string
    The product name
    ProjectId 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
    BilledQuantity string
    Consumed quantity
    CategoryName string
    Name of consumption category
    ProductName string
    The product name
    ProjectId 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
    billedQuantity String
    Consumed quantity
    categoryName String
    Name of consumption category
    productName String
    The product name
    projectId 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
    billedQuantity string
    Consumed quantity
    categoryName string
    Name of consumption category
    productName string
    The product name
    projectId 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
    billedQuantity String
    Consumed quantity
    categoryName String
    Name of consumption category
    productName String
    The product name
    projectId 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.
    scaleway logo
    Scaleway v1.12.1 published on Monday, Apr 15, 2024 by pulumiverse