View Subscription Details of an Account
get
/metering/api/v1/cloudbucks/{accountId}
Retrieve subscription details of services and entitlements belonging to an account or identity domain.
Request
Path Parameters
-
accountId: string
Account name, starts with cacct.
Query Parameters
-
entitlementIds: string
Comma separated list of Service Entitlement Ids.
Response
Supported Media Types
- application/vnd.com.oracle.oraclecloud.metering.cloudbucks+json
200 Response
Success
Nested Schema : CloudBuck
Type:
object
Title:
Show Source
CloudBuck
-
balance(optional):
array balance
-
billingType(optional):
string
-
canonicalLink(optional):
string
-
cbProperties(optional):
array cbProperties
-
cloudBucksType(optional):
string
-
consumed(optional):
number
-
entitlementId(optional):
string
-
hardLimitAll(optional):
number
-
hardLimitNew(optional):
number
-
id(optional):
string
-
overagesAllowed(optional):
boolean
-
purchase(optional):
array purchase
-
runningBalance(optional):
array runningBalance
-
serviceEntitlements(optional):
array serviceEntitlements
-
serviceType(optional):
string
-
softLimit(optional):
number
-
status(optional):
string
-
subscriptionCategory(optional):
string
-
subscriptionType(optional):
string
Title:
SubscriptionType
Allowed Values:[ "TRIAL", "PRODUCTION", "ORACLE_ASSIGNED_ENVIRONMENT" ]
Nested Schema : createdOn
Type:
object
Nested Schema : items
Type:
Show Source
array
-
Array of:
object PurchasedResource
Title:
PurchasedResource
Nested Schema : PurchasedResource
Type:
object
Title:
Show Source
PurchasedResource
-
createdOn(optional):
object createdOn
-
derived(optional):
string
-
displayName(optional):
string
-
endDate(optional):
object endDate
-
modifiedOn(optional):
object modifiedOn
-
name(optional):
string
-
orderLineId(optional):
string
-
quotaBalance(optional):
number
-
rateCardId(optional):
string
-
serviceName(optional):
string
-
startDate(optional):
object startDate
-
unit(optional):
string
-
value(optional):
number
Nested Schema : createdOn
Type:
object
Nested Schema : endDate
Type:
object
Nested Schema : modifiedOn
Type:
object
Nested Schema : startDate
Type:
object
Nested Schema : createdOn
Type:
object
Nested Schema : items
Type:
Show Source
array
-
Array of:
object PurchasedResource
Title:
PurchasedResource
Nested Schema : items
Type:
Show Source
array
-
Array of:
object ServiceEntitlement
Title:
ServiceEntitlement
Nested Schema : items
Type:
Show Source
array
-
Array of:
object ServiceInstance
Title:
ServiceInstance
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.