LabelPriority

class oci.log_analytics.models.LabelPriority(**kwargs)

Bases: object

The label priority.

Attributes

PRIORITY_HIGH A constant which can be used with the priority property of a LabelPriority.
PRIORITY_LOW A constant which can be used with the priority property of a LabelPriority.
PRIORITY_MEDIUM A constant which can be used with the priority property of a LabelPriority.
PRIORITY_NONE A constant which can be used with the priority property of a LabelPriority.
priority Gets the priority of this LabelPriority.

Methods

__init__(**kwargs) Initializes a new LabelPriority object with values from keyword arguments.
PRIORITY_HIGH = 'HIGH'

A constant which can be used with the priority property of a LabelPriority. This constant has a value of “HIGH”

PRIORITY_LOW = 'LOW'

A constant which can be used with the priority property of a LabelPriority. This constant has a value of “LOW”

PRIORITY_MEDIUM = 'MEDIUM'

A constant which can be used with the priority property of a LabelPriority. This constant has a value of “MEDIUM”

PRIORITY_NONE = 'NONE'

A constant which can be used with the priority property of a LabelPriority. This constant has a value of “NONE”

__init__(**kwargs)

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

Parameters:priority (str) – The value to assign to the priority property of this LabelPriority. Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
priority

Gets the priority of this LabelPriority. The label priority. Default value is NONE.

Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The priority of this LabelPriority.
Return type:str