StaticDimensionValue¶
- class oci.sch.models.StaticDimensionValue(**kwargs)¶
Bases:
DimensionValueDetailsStatic type of dimension value (passed as-is).
Attributes:
A constant which can be used with the kind property of a DimensionValueDetails.
A constant which can be used with the kind property of a DimensionValueDetails.
[Required] Gets the kind of this DimensionValueDetails.
[Required] Gets the value of this StaticDimensionValue.
Methods:
__init__(**kwargs)Initializes a new StaticDimensionValue object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- KIND_JMES_PATH = 'jmesPath'¶
A constant which can be used with the kind property of a DimensionValueDetails. This constant has a value of “jmesPath”
- KIND_STATIC = 'static'¶
A constant which can be used with the kind property of a DimensionValueDetails. This constant has a value of “static”
- __init__(**kwargs)¶
Initializes a new StaticDimensionValue object with values from keyword arguments. The default value of the
kindattribute of this class isstaticand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
kind (str) – The value to assign to the kind property of this StaticDimensionValue. Allowed values for this property are: “jmesPath”, “static”
value (str) – The value to assign to the value property of this StaticDimensionValue.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property kind¶
[Required] Gets the kind of this DimensionValueDetails. The type of dimension value: static or evaluated.
Allowed values for this property are: “jmesPath”, “static”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The kind of this DimensionValueDetails.
- Return type
str
- property value¶
[Required] Gets the value of this StaticDimensionValue. The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see
metric_data_details().- Returns
The value of this StaticDimensionValue.
- Return type
str