terraform-resource-usage

Get resource usage

This endpoint returns instance of resource usage.

get/reports/resources/{resource_usage}

Request

  • Base URL
    https://example.scalr.io/api/iacp/v3
  • URL
    https://example.scalr.io/api/iacp/v3/reports/resources/{resource_usage}
  • Auth
    HTTP bearer

Path parameters

resource_usagestring required

The ID of the resource usage instance.

Query parameters

tf-resource-usagesstring

The comma-separated list of fields to return in response for TerraformResourceUsage resource.

The value of the fields[resource-type] parameter is a comma-separated list that refers to the name of the fields to be returned for the resource. An empty value indicates that no fields should be returned.

Response

Success.

includedobject[]
metaobject

Changes

No recorded changes to this operation across all 2 revisions of this API.