LogAnalyticsConfigWorkRequest

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

Bases: object

Attributes

LIFECYCLE_STATE_ACCEPTED A constant which can be used with the lifecycle_state property of a LogAnalyticsConfigWorkRequest.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a LogAnalyticsConfigWorkRequest.
LIFECYCLE_STATE_IN_PROGRESS A constant which can be used with the lifecycle_state property of a LogAnalyticsConfigWorkRequest.
LIFECYCLE_STATE_SUCCEEDED A constant which can be used with the lifecycle_state property of a LogAnalyticsConfigWorkRequest.
OPERATION_TYPE_APPEND_LOOKUP_DATA A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequest.
OPERATION_TYPE_CREATE_ASSOCIATIONS A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequest.
OPERATION_TYPE_DELETE_ASSOCIATIONS A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequest.
OPERATION_TYPE_DELETE_LOOKUP A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequest.
OPERATION_TYPE_DISABLE_INGEST_TIME_RULE A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequest.
OPERATION_TYPE_ENABLE_INGEST_TIME_RULE A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequest.
OPERATION_TYPE_UPDATE_LOOKUP_DATA A constant which can be used with the operation_type property of a LogAnalyticsConfigWorkRequest.
compartment_id Gets the compartment_id of this LogAnalyticsConfigWorkRequest.
id Gets the id of this LogAnalyticsConfigWorkRequest.
lifecycle_state Gets the lifecycle_state of this LogAnalyticsConfigWorkRequest.
operation_type Gets the operation_type of this LogAnalyticsConfigWorkRequest.
payload Gets the payload of this LogAnalyticsConfigWorkRequest.
percent_complete Gets the percent_complete of this LogAnalyticsConfigWorkRequest.
time_accepted Gets the time_accepted of this LogAnalyticsConfigWorkRequest.
time_finished Gets the time_finished of this LogAnalyticsConfigWorkRequest.
time_started Gets the time_started of this LogAnalyticsConfigWorkRequest.

Methods

__init__(**kwargs) Initializes a new LogAnalyticsConfigWorkRequest object with values from keyword arguments.
LIFECYCLE_STATE_ACCEPTED = 'ACCEPTED'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest. This constant has a value of “UPDATE_LOOKUP_DATA”

__init__(**kwargs)

Initializes a new LogAnalyticsConfigWorkRequest 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 LogAnalyticsConfigWorkRequest.
  • compartment_id (str) – The value to assign to the compartment_id property of this LogAnalyticsConfigWorkRequest.
  • operation_type (str) – The value to assign to the operation_type property of this LogAnalyticsConfigWorkRequest. 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’.
  • payload (list[oci.log_analytics.models.LogAnalyticsConfigWorkRequestPayload]) – The value to assign to the payload property of this LogAnalyticsConfigWorkRequest.
  • percent_complete (int) – The value to assign to the percent_complete property of this LogAnalyticsConfigWorkRequest.
  • time_started (datetime) – The value to assign to the time_started property of this LogAnalyticsConfigWorkRequest.
  • time_accepted (datetime) – The value to assign to the time_accepted property of this LogAnalyticsConfigWorkRequest.
  • time_finished (datetime) – The value to assign to the time_finished property of this LogAnalyticsConfigWorkRequest.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this LogAnalyticsConfigWorkRequest. 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’.
compartment_id

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

Returns:The compartment_id of this LogAnalyticsConfigWorkRequest.
Return type:str
id

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

Returns:The id of this LogAnalyticsConfigWorkRequest.
Return type:str
lifecycle_state

Gets the lifecycle_state of this LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest.
Return type:str
operation_type

Gets the operation_type of this LogAnalyticsConfigWorkRequest. 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 LogAnalyticsConfigWorkRequest.
Return type:str
payload

Gets the payload of this LogAnalyticsConfigWorkRequest. The list of config work request responses.

Returns:The payload of this LogAnalyticsConfigWorkRequest.
Return type:list[oci.log_analytics.models.LogAnalyticsConfigWorkRequestPayload]
percent_complete

Gets the percent_complete of this LogAnalyticsConfigWorkRequest. The completion percentage.

Returns:The percent_complete of this LogAnalyticsConfigWorkRequest.
Return type:int
time_accepted

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

Returns:The time_accepted of this LogAnalyticsConfigWorkRequest.
Return type:datetime
time_finished

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

Returns:The time_finished of this LogAnalyticsConfigWorkRequest.
Return type:datetime
time_started

Gets the time_started of this LogAnalyticsConfigWorkRequest. The time at which the work request was started.

Returns:The time_started of this LogAnalyticsConfigWorkRequest.
Return type:datetime