LogEndpoint

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

Bases: object

An endpoint used to fetch logs.

Methods

__init__(**kwargs) Initializes a new LogEndpoint object with values from keyword arguments.

Attributes

credentials Gets the credentials of this LogEndpoint.
description Gets the description of this LogEndpoint.
endpoint_id Gets the endpoint_id of this LogEndpoint.
endpoint_properties Gets the endpoint_properties of this LogEndpoint.
is_enabled Gets the is_enabled of this LogEndpoint.
is_system Gets the is_system of this LogEndpoint.
model Gets the model of this LogEndpoint.
name [Required] Gets the name of this LogEndpoint.
proxy Gets the proxy of this LogEndpoint.
request [Required] Gets the request of this LogEndpoint.
response Gets the response of this LogEndpoint.
__init__(**kwargs)

Initializes a new LogEndpoint object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this LogEndpoint.
  • description (str) – The value to assign to the description property of this LogEndpoint.
  • model (str) – The value to assign to the model property of this LogEndpoint.
  • endpoint_id (int) – The value to assign to the endpoint_id property of this LogEndpoint.
  • request (oci.log_analytics.models.EndpointRequest) – The value to assign to the request property of this LogEndpoint.
  • response (oci.log_analytics.models.EndpointResponse) – The value to assign to the response property of this LogEndpoint.
  • credentials (oci.log_analytics.models.EndpointCredentials) – The value to assign to the credentials property of this LogEndpoint.
  • proxy (oci.log_analytics.models.EndpointProxy) – The value to assign to the proxy property of this LogEndpoint.
  • is_enabled (bool) – The value to assign to the is_enabled property of this LogEndpoint.
  • is_system (bool) – The value to assign to the is_system property of this LogEndpoint.
  • endpoint_properties (list[oci.log_analytics.models.LogAnalyticsProperty]) – The value to assign to the endpoint_properties property of this LogEndpoint.
credentials

Gets the credentials of this LogEndpoint.

Returns:The credentials of this LogEndpoint.
Return type:oci.log_analytics.models.EndpointCredentials
description

Gets the description of this LogEndpoint. The endpoint description.

Returns:The description of this LogEndpoint.
Return type:str
endpoint_id

Gets the endpoint_id of this LogEndpoint. The endpoint unique identifier.

Returns:The endpoint_id of this LogEndpoint.
Return type:int
endpoint_properties

Gets the endpoint_properties of this LogEndpoint. A list of endpoint properties.

Returns:The endpoint_properties of this LogEndpoint.
Return type:list[oci.log_analytics.models.LogAnalyticsProperty]
is_enabled

Gets the is_enabled of this LogEndpoint. A flag indicating whether or not the endpoint is enabled for log collection.

Returns:The is_enabled of this LogEndpoint.
Return type:bool
is_system

Gets the is_system of this LogEndpoint. The system flag. A value of false denotes a custom, or user defined endpoint. A value of true denotes an Oracle defined endpoint.

Returns:The is_system of this LogEndpoint.
Return type:bool
model

Gets the model of this LogEndpoint. The endpoint model.

Returns:The model of this LogEndpoint.
Return type:str
name

[Required] Gets the name of this LogEndpoint. The endpoint name.

Returns:The name of this LogEndpoint.
Return type:str
proxy

Gets the proxy of this LogEndpoint.

Returns:The proxy of this LogEndpoint.
Return type:oci.log_analytics.models.EndpointProxy
request

[Required] Gets the request of this LogEndpoint.

Returns:The request of this LogEndpoint.
Return type:oci.log_analytics.models.EndpointRequest
response

Gets the response of this LogEndpoint.

Returns:The response of this LogEndpoint.
Return type:oci.log_analytics.models.EndpointResponse