Skip to main content

ResourceBillingResponseForCustomer

statusboolean

Whether the request succeeded.

messagestring

Human-readable description of the result.

calculated_resource_bills object

Contains detailed billing information for a specified resource.

org_idinteger

Identifier of the organization that owns the resource.

resource object

Resource the entry refers to.

typestring

Resource type.

namestring

Resource name.

infrahub_idinteger

Internal numeric identifier used by Hyperstack for cross-system references.

statusstring

Current lifecycle state of the resource.

hoststring

Hostname or IP that clients connect to.

resources object[]

A list of resource components associated with the main resource, detailing individual billing rates.

  • Array [
  • typestring

    Resource type.

    namestring

    Resource name.

    amountinteger

    Charge amount in the response's currency units.

    ratenumber

    The standard billing rate per hour for a single resource component.

    discounted_ratenumber

    The billing rate per hour after applying discounts.

    pricenumber

    The listed price per hour for using the resource.

    actual_pricenumber

    The actual price per hour after applying any discounts or adjustments.

  • ]
  • pricenumber

    The listed price per hour for using the resource.

    actual_pricenumber

    The actual price per hour after applying any discounts or adjustments.

    ResourceBillingResponseForCustomer
    {
    "status": true,
    "message": "string",
    "calculated_resource_bills": {
    "org_id": 0,
    "resource": {
    "type": "string",
    "name": "string",
    "infrahub_id": 0,
    "status": "string",
    "host": "string",
    "resources": [
    {
    "type": "string",
    "name": "string",
    "amount": 0,
    "rate": 0,
    "discounted_rate": 0,
    "price": 0,
    "actual_price": 0
    }
    ],
    "price": 0,
    "actual_price": 0
    }
    }
    }