terraform-resource-usage

List terraform resource usages

This endpoint lists terraform resource usages.

get/reports/resources

Request

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

Query parameters

querystring

The search string. Supports search by resource name.

page[number]string

Page number.

page[size]string

Page size.

filter[provider-type]string

Filter resources by provider type.

formatstring

Format of the response. It can be 'json' or 'csv'.

sortstring[]

The comma-separated list of attributes.

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[]
linksobject
metaobject

Changes

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