Dimension¶
- class oci.costad.models.Dimension(**kwargs)¶
Bases:
objectThe dimension used for filtering. Available dimensions are: “service”, “skuName”, “skuPartNumber”, “unit”, “compartmentName”, “compartmentPath”, “compartmentId”, “tenantName, “tenantId”, “platform”, “region”, “logicalAd”, “resourceId”. For example: [{value: “COMPUTE”, key: “service”}]
Methods:
__init__(**kwargs)Initializes a new Dimension object with values from keyword arguments.
Attributes:
[Required] Gets the key of this Dimension.
[Required] Gets the value of this Dimension.
- __init__(**kwargs)¶
Initializes a new Dimension object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
key (str) – The value to assign to the key property of this Dimension.
value (str) – The value to assign to the value property of this Dimension.
- property key¶
[Required] Gets the key of this Dimension. The dimension key.
- Returns
The key of this Dimension.
- Return type
str
- property value¶
[Required] Gets the value of this Dimension. The dimension value.
- Returns
The value of this Dimension.
- Return type
str