Data Source: oci_metering_computation_custom_tables
This data source provides the list of Custom Tables in Oracle Cloud Infrastructure Metering Computation service.
Returns the saved custom table list.
Example Usage
data "oci_metering_computation_custom_tables" "test_custom_tables" {
#Required
compartment_id = var.compartment_id
saved_report_id = oci_metering_computation_saved_report.test_saved_report.id
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The compartment ID in which to list resources.saved_report_id
- (Required) The saved report ID in which to list resources.
Attributes Reference
The following attributes are exported:
custom_table_collection
- The list of custom_table_collection.
CustomTable Reference
The following attributes are exported:
compartment_id
- The custom table compartment OCID.id
- The custom table OCID.saved_custom_table
- The custom table for Cost Analysis UI rendering.column_group_by
- The column groupBy key list. example:["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]
compartment_depth
- The compartment depth level.display_name
- The name of the custom table.group_by_tag
- GroupBy a specific tagKey. Provide the tagNamespace and tagKey in the tag object. Only one tag in the list is supported. For example:[{"namespace":"oracle", "key":"createdBy"]
key
- The tag key.namespace
- The tag namespace.value
- The tag value.
row_group_by
- The row groupBy key list. example:["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]
version
- The version of the custom table.
saved_report_id
- The custom table associated saved report OCID.