LogAnalyticsEndpoint

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

Bases: object

Endpoint configuration for REST API based log collection.

Attributes:

ENDPOINT_TYPE_LOG

A constant which can be used with the endpoint_type property of a LogAnalyticsEndpoint.

ENDPOINT_TYPE_LOG_LIST

A constant which can be used with the endpoint_type property of a LogAnalyticsEndpoint.

endpoint_type

[Required] Gets the endpoint_type of this LogAnalyticsEndpoint.

Methods:

__init__(**kwargs)

Initializes a new LogAnalyticsEndpoint 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 LogAnalyticsEndpoint object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 LogAnalyticsEndpoint. 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’.

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.