LogTypeEndpoint¶
- class oci.log_analytics.models.LogTypeEndpoint(**kwargs)¶
Bases:
LogAnalyticsEndpointThe LOG type endpoint configuration. Logs are fetched from the specified endpoint. 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:
A constant which can be used with the endpoint_type property of a LogAnalyticsEndpoint.
A constant which can be used with the endpoint_type property of a LogAnalyticsEndpoint.
[Required] Gets the endpoint_type of this LogAnalyticsEndpoint.
[Required] Gets the log_endpoint of this LogTypeEndpoint.
Methods:
__init__(**kwargs)Initializes a new LogTypeEndpoint 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'¶
A constant which can be used with the endpoint_type property of a LogAnalyticsEndpoint. This constant has a value of “LOG”
- ENDPOINT_TYPE_LOG_LIST = 'LOG_LIST'¶
A constant which can be used with the endpoint_type property of a LogAnalyticsEndpoint. This constant has a value of “LOG_LIST”
- __init__(**kwargs)¶
Initializes a new LogTypeEndpoint object with values from keyword arguments. The default value of the
endpoint_typeattribute of this class isLOGand 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 LogTypeEndpoint. Allowed values for this property are: “LOG_LIST”, “LOG”
log_endpoint (oci.log_analytics.models.LogEndpoint) – The value to assign to the log_endpoint property of this LogTypeEndpoint.
- property 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.
- property log_endpoint¶
[Required] Gets the log_endpoint of this LogTypeEndpoint.
- Returns
The log_endpoint of this LogTypeEndpoint.
- Return type