UpsertLogAnalyticsLabelDetails

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

Bases: object

Upsert LogAnalytics Label Details

Attributes

PRIORITY_HIGH A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
PRIORITY_LOW A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
PRIORITY_MEDIUM A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
PRIORITY_NONE A constant which can be used with the priority property of a UpsertLogAnalyticsLabelDetails.
TYPE_INFO A constant which can be used with the type property of a UpsertLogAnalyticsLabelDetails.
TYPE_PROBLEM A constant which can be used with the type property of a UpsertLogAnalyticsLabelDetails.
aliases Gets the aliases of this UpsertLogAnalyticsLabelDetails.
description Gets the description of this UpsertLogAnalyticsLabelDetails.
display_name Gets the display_name of this UpsertLogAnalyticsLabelDetails.
edit_version Gets the edit_version of this UpsertLogAnalyticsLabelDetails.
impact Gets the impact of this UpsertLogAnalyticsLabelDetails.
is_system Gets the is_system of this UpsertLogAnalyticsLabelDetails.
name Gets the name of this UpsertLogAnalyticsLabelDetails.
priority Gets the priority of this UpsertLogAnalyticsLabelDetails.
recommendation Gets the recommendation of this UpsertLogAnalyticsLabelDetails.
suggest_type Gets the suggest_type of this UpsertLogAnalyticsLabelDetails.
type Gets the type of this UpsertLogAnalyticsLabelDetails.

Methods

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

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

PRIORITY_LOW = 'LOW'

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

PRIORITY_MEDIUM = 'MEDIUM'

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

PRIORITY_NONE = 'NONE'

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

TYPE_INFO = 'INFO'

A constant which can be used with the type property of a UpsertLogAnalyticsLabelDetails. This constant has a value of “INFO”

TYPE_PROBLEM = 'PROBLEM'

A constant which can be used with the type property of a UpsertLogAnalyticsLabelDetails. This constant has a value of “PROBLEM”

__init__(**kwargs)

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

Parameters:
  • aliases (list[oci.log_analytics.models.LogAnalyticsLabelAlias]) – The value to assign to the aliases property of this UpsertLogAnalyticsLabelDetails.
  • suggest_type (int) – The value to assign to the suggest_type property of this UpsertLogAnalyticsLabelDetails.
  • description (str) – The value to assign to the description property of this UpsertLogAnalyticsLabelDetails.
  • display_name (str) – The value to assign to the display_name property of this UpsertLogAnalyticsLabelDetails.
  • edit_version (int) – The value to assign to the edit_version property of this UpsertLogAnalyticsLabelDetails.
  • impact (str) – The value to assign to the impact property of this UpsertLogAnalyticsLabelDetails.
  • is_system (bool) – The value to assign to the is_system property of this UpsertLogAnalyticsLabelDetails.
  • name (str) – The value to assign to the name property of this UpsertLogAnalyticsLabelDetails.
  • priority (str) – The value to assign to the priority property of this UpsertLogAnalyticsLabelDetails. Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”
  • recommendation (str) – The value to assign to the recommendation property of this UpsertLogAnalyticsLabelDetails.
  • type (str) – The value to assign to the type property of this UpsertLogAnalyticsLabelDetails. Allowed values for this property are: “INFO”, “PROBLEM”
aliases

Gets the aliases of this UpsertLogAnalyticsLabelDetails. The alias list.

Returns:The aliases of this UpsertLogAnalyticsLabelDetails.
Return type:list[oci.log_analytics.models.LogAnalyticsLabelAlias]
description

Gets the description of this UpsertLogAnalyticsLabelDetails. The label description.

Returns:The description of this UpsertLogAnalyticsLabelDetails.
Return type:str
display_name

Gets the display_name of this UpsertLogAnalyticsLabelDetails. The label display name.

Returns:The display_name of this UpsertLogAnalyticsLabelDetails.
Return type:str
edit_version

Gets the edit_version of this UpsertLogAnalyticsLabelDetails. The edit version.

Returns:The edit_version of this UpsertLogAnalyticsLabelDetails.
Return type:int
impact

Gets the impact of this UpsertLogAnalyticsLabelDetails. The label impact.

Returns:The impact of this UpsertLogAnalyticsLabelDetails.
Return type:str
is_system

Gets the is_system of this UpsertLogAnalyticsLabelDetails. The system flag. A value of false denotes a custom, or user defined label. A value of true denotes a built in label.

Returns:The is_system of this UpsertLogAnalyticsLabelDetails.
Return type:bool
name

Gets the name of this UpsertLogAnalyticsLabelDetails. The label name.

Returns:The name of this UpsertLogAnalyticsLabelDetails.
Return type:str
priority

Gets the priority of this UpsertLogAnalyticsLabelDetails. The label priority. Valid values are (NONE, LOW, HIGH). NONE is default.

Allowed values for this property are: “NONE”, “LOW”, “MEDIUM”, “HIGH”

Returns:The priority of this UpsertLogAnalyticsLabelDetails.
Return type:str
recommendation

Gets the recommendation of this UpsertLogAnalyticsLabelDetails. The label recommendation.

Returns:The recommendation of this UpsertLogAnalyticsLabelDetails.
Return type:str
suggest_type

Gets the suggest_type of this UpsertLogAnalyticsLabelDetails. suggest type

Returns:The suggest_type of this UpsertLogAnalyticsLabelDetails.
Return type:int
type

Gets the type of this UpsertLogAnalyticsLabelDetails. The label type. Valid values are (INFO, PROBLEM). INFO is default.

Allowed values for this property are: “INFO”, “PROBLEM”

Returns:The type of this UpsertLogAnalyticsLabelDetails.
Return type:str