View Resources of a Service
get
/metering/api/v1/resources/{serviceName}
Retrieve resources of a given service.
Request
Path Parameters
-
serviceName: string
Service name
Query Parameters
-
applicableComponent: string
Whether OPC public cloud or OCM private cloud
-
entitlementId: string
Service Entitlement Id
Response
Supported Media Types
- application/vnd.com.oracle.oraclecloud.metering.resources+json
200 Response
Success
Nested Schema : Resource
Type:
object
Title:
Show Source
Resource
-
aggregationMultiplier(optional):
string
-
applicableComponent(optional):
string
-
canonicalLink(optional):
string
-
cloudCreditBillingConfig(optional):
array cloudCreditBillingConfig
-
conversionFactor(optional):
number
-
dailyUnitDisplayName(optional):
string
-
description(optional):
string
-
displayName(optional):
string
-
gsiProductId(optional):
string
-
gsiUsageUnit(optional):
string
-
hourlyUnitDisplayName(optional):
string
-
instanceType(optional):
string
-
name(optional):
string
-
rawUnitDisplayName(optional):
string
-
resourceHardLimit(optional):
array resourceHardLimit
-
resourceLimit(optional):
array resourceLimit
-
servicename(optional):
string
-
skuproductIds(optional):
array skuproductIds
-
usageDataType(optional):
string
Nested Schema : items
Type:
Show Source
array
-
Array of:
object CloudCreditBillingConfig
Title:
CloudCreditBillingConfig
Nested Schema : items
Type:
Show Source
array
-
Array of:
object ResourceHardLimit
Title:
ResourceHardLimit
Nested Schema : items
Type:
Show Source
array
-
Array of:
object ServiceResourceMap
Title:
ServiceResourceMap
Nested Schema : ServiceResourceMap
Type:
object
Title:
Show Source
ServiceResourceMap
-
canonicalLink(optional):
string
-
limit(optional):
number
Quantity set as limit.
-
limitType(optional):
string
Soft or Hard limit.
-
resourceName(optional):
string
Resource Name.
-
serviceName(optional):
string
Service Name.
Nested Schema : items
Type:
Show Source
array
-
Array of:
object ServiceResourceMap
Title:
ServiceResourceMap
Nested Schema : SkuProductIds
Type:
object
Title:
Show Source
SkuProductIds
-
skuId(optional):
string
Sku Id.
-
skuType(optional):
string
Metered or Commitment sku
Default Response
Unexpected error.
Examples
These APIs are deprecated. See Cost Analysis Overview, Using the API for more information on how to track and optimize your Oracle Cloud Infrastructure spending. See the Deprecated Notices (Endpoints) to see if there is a replacement endpoint.