Listing Cost Reports
View the tenancy's cost reports in Billing and Cost Management.
A cost report is a file stored as an object in a bucket. For general information about listing objects, see Listing Object Storage Objects in a Bucket.
Actions
To download a cost report directly from the list table, select Download report from the in the row for that report.
- Note
Cost reports are stored in the tenancy's home region. The Object Storage namespace used for the reports isbling. The bucket name is the tenancy OCID.Use the oci os object list command and required parameters to list cost reports in the tenancy:
oci os object list --bucket-name bucket-nameExamples (reference the Python SDK code example shown in the API task for Downloading a Cost Report):
List all cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID):
oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --allList two cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID):
oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --limit 2List all cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID) with the prefix "reports/cost-csv":
oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --prefix reports/cost-csv --allList all cost reports from the Oracle managed namespace "bling" and bucket (customer tenancy OCID) with the prefix "FOCUS Reports":
oci os object list --namespace-name bling --bucket-name {customer_tenancy_ocid} --prefix FOCUS Reports --allFor a complete list of parameters and values for CLI commands, see the CLI Command Reference.
- Note
Cost reports are stored in the tenancy's home region. The Object Storage namespace used for the reports isbling. The bucket name is the tenancy OCID.Run the ListObjects operation to list cost reports.
See also the Python SDK code example shown in the API task for Downloading a Cost Report.
