StaticDimensionValue

class oci.sch.models.StaticDimensionValue(**kwargs)

Bases: oci.sch.models.dimension_value_details.DimensionValueDetails

Static type of dimension value (passed as-is).

Attributes

KIND_JMES_PATH str(object=’’) -> str
KIND_STATIC str(object=’’) -> str
kind [Required] Gets the kind of this DimensionValueDetails.
value [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'
KIND_STATIC = 'static'
__init__(**kwargs)

Initializes a new StaticDimensionValue object with values from keyword arguments. The default value of the kind attribute of this class is static and 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.

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
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