LogAnalyticsConfigWorkRequestSummary

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

Bases: object

Attributes:

LIFECYCLE_STATE_ACCEPTED

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_IN_PROGRESS

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

LIFECYCLE_STATE_SUCCEEDED

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

OPERATION_TYPE_APPEND_LOOKUP_DATA

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary.

OPERATION_TYPE_CREATE_ASSOCIATIONS

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary.

OPERATION_TYPE_DELETE_ASSOCIATIONS

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary.

OPERATION_TYPE_DELETE_LOOKUP

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary.

OPERATION_TYPE_DISABLE_INGEST_TIME_RULE

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary.

OPERATION_TYPE_ENABLE_INGEST_TIME_RULE

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary.

OPERATION_TYPE_UPDATE_LOOKUP_DATA

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary.

compartment_id

Gets the compartment_id of this LogAnalyticsConfigWorkRequestSummary.

id

Gets the id of this LogAnalyticsConfigWorkRequestSummary.

lifecycle_state

Gets the lifecycle_state of this LogAnalyticsConfigWorkRequestSummary.

operation_type

Gets the operation_type of this LogAnalyticsConfigWorkRequestSummary.

percent_complete

Gets the percent_complete of this LogAnalyticsConfigWorkRequestSummary.

time_accepted

Gets the time_accepted of this LogAnalyticsConfigWorkRequestSummary.

time_finished

Gets the time_finished of this LogAnalyticsConfigWorkRequestSummary.

Methods:

__init__(**kwargs)

Initializes a new LogAnalyticsConfigWorkRequestSummary object with values from keyword arguments.

LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_IN_PROGRESS = 'IN_PROGRESS'

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

LIFECYCLE_STATE_SUCCEEDED = 'SUCCEEDED'

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

OPERATION_TYPE_APPEND_LOOKUP_DATA = 'APPEND_LOOKUP_DATA'

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary. This constant has a value of “APPEND_LOOKUP_DATA”

OPERATION_TYPE_CREATE_ASSOCIATIONS = 'CREATE_ASSOCIATIONS'

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary. This constant has a value of “CREATE_ASSOCIATIONS”

OPERATION_TYPE_DELETE_ASSOCIATIONS = 'DELETE_ASSOCIATIONS'

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary. This constant has a value of “DELETE_ASSOCIATIONS”

OPERATION_TYPE_DELETE_LOOKUP = 'DELETE_LOOKUP'

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary. This constant has a value of “DELETE_LOOKUP”

OPERATION_TYPE_DISABLE_INGEST_TIME_RULE = 'DISABLE_INGEST_TIME_RULE'

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary. This constant has a value of “DISABLE_INGEST_TIME_RULE”

OPERATION_TYPE_ENABLE_INGEST_TIME_RULE = 'ENABLE_INGEST_TIME_RULE'

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary. This constant has a value of “ENABLE_INGEST_TIME_RULE”

OPERATION_TYPE_UPDATE_LOOKUP_DATA = 'UPDATE_LOOKUP_DATA'

A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequestSummary. This constant has a value of “UPDATE_LOOKUP_DATA”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this LogAnalyticsConfigWorkRequestSummary.

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

  • operation_type (str) – The value to assign to the operation_type property of this LogAnalyticsConfigWorkRequestSummary. Allowed values for this property are: “CREATE_ASSOCIATIONS”, “DELETE_ASSOCIATIONS”, “APPEND_LOOKUP_DATA”, “UPDATE_LOOKUP_DATA”, “DELETE_LOOKUP”, “ENABLE_INGEST_TIME_RULE”, “DISABLE_INGEST_TIME_RULE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • percent_complete (int) – The value to assign to the percent_complete property of this LogAnalyticsConfigWorkRequestSummary.

  • time_finished (datetime) – The value to assign to the time_finished property of this LogAnalyticsConfigWorkRequestSummary.

  • time_accepted (datetime) – The value to assign to the time_accepted property of this LogAnalyticsConfigWorkRequestSummary.

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

property compartment_id

Gets the compartment_id of this LogAnalyticsConfigWorkRequestSummary. The compartment unique identifier.

Returns

The compartment_id of this LogAnalyticsConfigWorkRequestSummary.

Return type

str

property id

Gets the id of this LogAnalyticsConfigWorkRequestSummary. The workrequest unique identifier.

Returns

The id of this LogAnalyticsConfigWorkRequestSummary.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this LogAnalyticsConfigWorkRequestSummary. The lifecycle status. Valid values are ACCEPTED, IN_PROGRESS, SUCCEEDED or FAILED.

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

Returns

The lifecycle_state of this LogAnalyticsConfigWorkRequestSummary.

Return type

str

property operation_type

Gets the operation_type of this LogAnalyticsConfigWorkRequestSummary. The operation type

Allowed values for this property are: “CREATE_ASSOCIATIONS”, “DELETE_ASSOCIATIONS”, “APPEND_LOOKUP_DATA”, “UPDATE_LOOKUP_DATA”, “DELETE_LOOKUP”, “ENABLE_INGEST_TIME_RULE”, “DISABLE_INGEST_TIME_RULE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The operation_type of this LogAnalyticsConfigWorkRequestSummary.

Return type

str

property percent_complete

Gets the percent_complete of this LogAnalyticsConfigWorkRequestSummary. The completion percentage.

Returns

The percent_complete of this LogAnalyticsConfigWorkRequestSummary.

Return type

int

property time_accepted

Gets the time_accepted of this LogAnalyticsConfigWorkRequestSummary. The time at which the work request was accepted.

Returns

The time_accepted of this LogAnalyticsConfigWorkRequestSummary.

Return type

datetime

property time_finished

Gets the time_finished of this LogAnalyticsConfigWorkRequestSummary. The time at which the work request finished.

Returns

The time_finished of this LogAnalyticsConfigWorkRequestSummary.

Return type

datetime