SavedCustomTable

class oci.usage_api.models.SavedCustomTable(**kwargs)

Bases: object

The custom table for Cost Analysis UI rendering.

Methods

__init__(**kwargs) Initializes a new SavedCustomTable object with values from keyword arguments.

Attributes

column_group_by Gets the column_group_by of this SavedCustomTable.
compartment_depth Gets the compartment_depth of this SavedCustomTable.
display_name [Required] Gets the display_name of this SavedCustomTable.
group_by_tag Gets the group_by_tag of this SavedCustomTable.
row_group_by Gets the row_group_by of this SavedCustomTable.
version Gets the version of this SavedCustomTable.
__init__(**kwargs)

Initializes a new SavedCustomTable object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • display_name (str) – The value to assign to the display_name property of this SavedCustomTable.
  • row_group_by (list[str]) – The value to assign to the row_group_by property of this SavedCustomTable.
  • column_group_by (list[str]) – The value to assign to the column_group_by property of this SavedCustomTable.
  • group_by_tag (list[oci.usage_api.models.Tag]) – The value to assign to the group_by_tag property of this SavedCustomTable.
  • compartment_depth (float) – The value to assign to the compartment_depth property of this SavedCustomTable.
  • version (float) – The value to assign to the version property of this SavedCustomTable.
column_group_by

Gets the column_group_by of this SavedCustomTable. The column groupBy key list. example:

`[“tagNamespace”, “tagKey”, “tagValue”, “service”, “skuName”, “skuPartNumber”, “unit”,
“compartmentName”, “compartmentPath”, “compartmentId”, “platform”, “region”, “logicalAd”, “resourceId”, “tenantId”, “tenantName”]`
Returns:The column_group_by of this SavedCustomTable.
Return type:list[str]
compartment_depth

Gets the compartment_depth of this SavedCustomTable. The compartment depth level.

Returns:The compartment_depth of this SavedCustomTable.
Return type:float
display_name

[Required] Gets the display_name of this SavedCustomTable. The name of the custom table.

Returns:The display_name of this SavedCustomTable.
Return type:str
group_by_tag

Gets the group_by_tag of this SavedCustomTable. 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”]
Returns:The group_by_tag of this SavedCustomTable.
Return type:list[oci.usage_api.models.Tag]
row_group_by

Gets the row_group_by of this SavedCustomTable. The row groupBy key list. example:

`[“tagNamespace”, “tagKey”, “tagValue”, “service”, “skuName”, “skuPartNumber”, “unit”,
“compartmentName”, “compartmentPath”, “compartmentId”, “platform”, “region”, “logicalAd”, “resourceId”, “tenantId”, “tenantName”]`
Returns:The row_group_by of this SavedCustomTable.
Return type:list[str]
version

Gets the version of this SavedCustomTable. The version of the custom table.

Returns:The version of this SavedCustomTable.
Return type:float