LogListTypeEndpoint

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

Bases: oci.log_analytics.models.log_analytics_endpoint.LogAnalyticsEndpoint

The LOG_LIST type endpoint configuration. The list of logs is first fetched using the listEndpoint configuration, and then the logs are subsequently fetched using the logEndpoints, which reference the list endpoint response. For time based incremental collection, specify the START_TIME macro with the desired time format, example: {START_TIME:yyMMddHHmmssZ}. For offset based incremental collection, specify the START_OFFSET macro with offset identifier in the API response, example: {START_OFFSET:$.offset}

Attributes

ENDPOINT_TYPE_LOG str(object=’’) -> str
ENDPOINT_TYPE_LOG_LIST str(object=’’) -> str
endpoint_type [Required] Gets the endpoint_type of this LogAnalyticsEndpoint.
list_endpoint [Required] Gets the list_endpoint of this LogListTypeEndpoint.
log_endpoints [Required] Gets the log_endpoints of this LogListTypeEndpoint.

Methods

__init__(**kwargs) Initializes a new LogListTypeEndpoint object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ENDPOINT_TYPE_LOG = 'LOG'
ENDPOINT_TYPE_LOG_LIST = 'LOG_LIST'
__init__(**kwargs)

Initializes a new LogListTypeEndpoint object with values from keyword arguments. The default value of the endpoint_type attribute of this class is LOG_LIST and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • endpoint_type (str) – The value to assign to the endpoint_type property of this LogListTypeEndpoint. Allowed values for this property are: “LOG_LIST”, “LOG”
  • list_endpoint (oci.log_analytics.models.LogListEndpoint) – The value to assign to the list_endpoint property of this LogListTypeEndpoint.
  • log_endpoints (list[oci.log_analytics.models.LogEndpoint]) – The value to assign to the log_endpoints property of this LogListTypeEndpoint.
endpoint_type

[Required] Gets the endpoint_type of this LogAnalyticsEndpoint. Discriminator.

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

Returns:The endpoint_type of this LogAnalyticsEndpoint.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

list_endpoint

[Required] Gets the list_endpoint of this LogListTypeEndpoint.

Returns:The list_endpoint of this LogListTypeEndpoint.
Return type:oci.log_analytics.models.LogListEndpoint
log_endpoints

[Required] Gets the log_endpoints of this LogListTypeEndpoint. Log endpoints, which reference the listEndpoint response, to fetch log data.

Returns:The log_endpoints of this LogListTypeEndpoint.
Return type:list[oci.log_analytics.models.LogEndpoint]