Organizations
ResourcesUnderManagement

GetUsageSummaryResourceHours

GetUsageSummaryResourceHours handles request to fetch the summary of resources under management (RUM) and resource hours under management (RHUM) for an organization.

get/api/orgs/{orgName}/resources/summary

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/orgs/{orgName}/resources/summary
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

Query parameters

granularity'yearly' | 'monthly' | 'weekly' | 'daily' | 'hourly' required

Time granularity for aggregation. Hourly granularity is limited to a 2-day lookback.

lookbackDaysinteger

Number of days to look back from the current time. Must be positive; when granularity is 'hourly' the value must not exceed 2. Mutually exclusive with lookbackStart; exactly one must be provided.

lookbackStartinteger

Unix timestamp (seconds since epoch) for the start of the lookback period. Must be positive, in the past, and within the last year. Mutually exclusive with lookbackDays; exactly one must be provided.

Response

OK

tagKeysstring[]

The list of tag keys present in the breakdown entries. Only present when a tag breakdown is requested.

Changes

No recorded changes to this operation across all 1 revision of this API.