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:
objectTitle:
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:
SubscriptionTypeAllowed Values:[ "TRIAL", "PRODUCTION", "ORACLE_ASSIGNED_ENVIRONMENT" ]
Nested Schema : createdOn
Type:
objectNested Schema : items
Type:
Show Source
array-
Array of:
object PurchasedResource
Title:
PurchasedResource
Nested Schema : PurchasedResource
Type:
objectTitle:
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:
objectNested Schema : endDate
Type:
objectNested Schema : modifiedOn
Type:
objectNested Schema : startDate
Type:
objectNested Schema : createdOn
Type:
objectNested 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.