LogAnalyticsEntityType

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

Bases: object

Description of log analytics entity type.

Attributes:

CLOUD_TYPE_ALL

A constant which can be used with the cloud_type property of a LogAnalyticsEntityType.

CLOUD_TYPE_CLOUD

A constant which can be used with the cloud_type property of a LogAnalyticsEntityType.

CLOUD_TYPE_NON_CLOUD

A constant which can be used with the cloud_type property of a LogAnalyticsEntityType.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a LogAnalyticsEntityType.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a LogAnalyticsEntityType.

MANAGEMENT_AGENT_ELIGIBILITY_STATUS_ELIGIBLE

A constant which can be used with the management_agent_eligibility_status property of a LogAnalyticsEntityType.

MANAGEMENT_AGENT_ELIGIBILITY_STATUS_INELIGIBLE

A constant which can be used with the management_agent_eligibility_status property of a LogAnalyticsEntityType.

MANAGEMENT_AGENT_ELIGIBILITY_STATUS_UNKNOWN

A constant which can be used with the management_agent_eligibility_status property of a LogAnalyticsEntityType.

category

[Required] Gets the category of this LogAnalyticsEntityType.

cloud_type

[Required] Gets the cloud_type of this LogAnalyticsEntityType.

compartment_id

Gets the compartment_id of this LogAnalyticsEntityType.

internal_name

[Required] Gets the internal_name of this LogAnalyticsEntityType.

lifecycle_state

[Required] Gets the lifecycle_state of this LogAnalyticsEntityType.

management_agent_eligibility_status

Gets the management_agent_eligibility_status of this LogAnalyticsEntityType.

name

[Required] Gets the name of this LogAnalyticsEntityType.

properties

Gets the properties of this LogAnalyticsEntityType.

time_created

[Required] Gets the time_created of this LogAnalyticsEntityType.

time_updated

[Required] Gets the time_updated of this LogAnalyticsEntityType.

Methods:

__init__(**kwargs)

Initializes a new LogAnalyticsEntityType object with values from keyword arguments.

CLOUD_TYPE_ALL = 'ALL'

A constant which can be used with the cloud_type property of a LogAnalyticsEntityType. This constant has a value of “ALL”

CLOUD_TYPE_CLOUD = 'CLOUD'

A constant which can be used with the cloud_type property of a LogAnalyticsEntityType. This constant has a value of “CLOUD”

CLOUD_TYPE_NON_CLOUD = 'NON_CLOUD'

A constant which can be used with the cloud_type property of a LogAnalyticsEntityType. This constant has a value of “NON_CLOUD”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a LogAnalyticsEntityType. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a LogAnalyticsEntityType. This constant has a value of “DELETED”

MANAGEMENT_AGENT_ELIGIBILITY_STATUS_ELIGIBLE = 'ELIGIBLE'

A constant which can be used with the management_agent_eligibility_status property of a LogAnalyticsEntityType. This constant has a value of “ELIGIBLE”

MANAGEMENT_AGENT_ELIGIBILITY_STATUS_INELIGIBLE = 'INELIGIBLE'

A constant which can be used with the management_agent_eligibility_status property of a LogAnalyticsEntityType. This constant has a value of “INELIGIBLE”

MANAGEMENT_AGENT_ELIGIBILITY_STATUS_UNKNOWN = 'UNKNOWN'

A constant which can be used with the management_agent_eligibility_status property of a LogAnalyticsEntityType. This constant has a value of “UNKNOWN”

__init__(**kwargs)

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

Parameters
  • name (str) – The value to assign to the name property of this LogAnalyticsEntityType.

  • internal_name (str) – The value to assign to the internal_name property of this LogAnalyticsEntityType.

  • compartment_id (str) – The value to assign to the compartment_id property of this LogAnalyticsEntityType.

  • category (str) – The value to assign to the category property of this LogAnalyticsEntityType.

  • cloud_type (str) – The value to assign to the cloud_type property of this LogAnalyticsEntityType. Allowed values for this property are: “CLOUD”, “NON_CLOUD”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • properties (list[oci.log_analytics.models.EntityTypeProperty]) – The value to assign to the properties property of this LogAnalyticsEntityType.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this LogAnalyticsEntityType. Allowed values for this property are: “ACTIVE”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this LogAnalyticsEntityType.

  • time_updated (datetime) – The value to assign to the time_updated property of this LogAnalyticsEntityType.

  • management_agent_eligibility_status (str) – The value to assign to the management_agent_eligibility_status property of this LogAnalyticsEntityType. Allowed values for this property are: “ELIGIBLE”, “INELIGIBLE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

property category

[Required] Gets the category of this LogAnalyticsEntityType. Log analytics entity type category. Category will be used for grouping and filtering.

Returns

The category of this LogAnalyticsEntityType.

Return type

str

property cloud_type

[Required] Gets the cloud_type of this LogAnalyticsEntityType. Log analytics entity type group. That can be CLOUD (OCI) or NON_CLOUD otherwise.

Allowed values for this property are: “CLOUD”, “NON_CLOUD”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The cloud_type of this LogAnalyticsEntityType.

Return type

str

property compartment_id

Gets the compartment_id of this LogAnalyticsEntityType. Compartment Identifier OCID].

Returns

The compartment_id of this LogAnalyticsEntityType.

Return type

str

property internal_name

[Required] Gets the internal_name of this LogAnalyticsEntityType. Internal name for the log analytics entity type.

Returns

The internal_name of this LogAnalyticsEntityType.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this LogAnalyticsEntityType. The current lifecycle state of the log analytics entity.

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

Returns

The lifecycle_state of this LogAnalyticsEntityType.

Return type

str

property management_agent_eligibility_status

Gets the management_agent_eligibility_status of this LogAnalyticsEntityType. This field indicates whether logs for entities of this type can be collected using a management agent.

Allowed values for this property are: “ELIGIBLE”, “INELIGIBLE”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The management_agent_eligibility_status of this LogAnalyticsEntityType.

Return type

str

property name

[Required] Gets the name of this LogAnalyticsEntityType. Log analytics entity type name.

Returns

The name of this LogAnalyticsEntityType.

Return type

str

property properties

Gets the properties of this LogAnalyticsEntityType. The parameters used in file patterns specified in log sources for this log analytics entity type.

Returns

The properties of this LogAnalyticsEntityType.

Return type

list[oci.log_analytics.models.EntityTypeProperty]

property time_created

[Required] Gets the time_created of this LogAnalyticsEntityType. Time the log analytics entity type was created. An RFC3339 formatted datetime string.

Returns

The time_created of this LogAnalyticsEntityType.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this LogAnalyticsEntityType. Time the log analytics entity type was updated. An RFC3339 formatted datetime string.

Returns

The time_updated of this LogAnalyticsEntityType.

Return type

datetime