LogTypeEndpoint¶
-
class
oci.log_analytics.models.
LogTypeEndpoint
(**kwargs)¶ Bases:
oci.log_analytics.models.log_analytics_endpoint.LogAnalyticsEndpoint
The 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
ENDPOINT_TYPE_LOG
str(object=’’) -> str ENDPOINT_TYPE_LOG_LIST
str(object=’’) -> str endpoint_type
[Required] Gets the endpoint_type of this LogAnalyticsEndpoint. log_endpoint
[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'¶
-
ENDPOINT_TYPE_LOG_LIST
= 'LOG_LIST'¶
-
__init__
(**kwargs)¶ Initializes a new LogTypeEndpoint object with values from keyword arguments. The default value of the
endpoint_type
attribute of this class isLOG
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 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.
-
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.
-
log_endpoint
¶ [Required] Gets the log_endpoint of this LogTypeEndpoint.
Returns: The log_endpoint of this LogTypeEndpoint. Return type: oci.log_analytics.models.LogEndpoint
-