LogEndpoint¶
- class oci.log_analytics.models.LogEndpoint(**kwargs)¶
Bases:
objectAn endpoint used to fetch logs.
Methods:
__init__(**kwargs)Initializes a new LogEndpoint object with values from keyword arguments.
Attributes:
Gets the credentials of this LogEndpoint.
Gets the description of this LogEndpoint.
Gets the endpoint_id of this LogEndpoint.
Gets the endpoint_properties of this LogEndpoint.
Gets the is_enabled of this LogEndpoint.
Gets the is_system of this LogEndpoint.
Gets the model of this LogEndpoint.
[Required] Gets the name of this LogEndpoint.
Gets the proxy of this LogEndpoint.
[Required] Gets the request of this LogEndpoint.
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.
- property credentials¶
Gets the credentials of this LogEndpoint.
- Returns
The credentials of this LogEndpoint.
- Return type
- property description¶
Gets the description of this LogEndpoint. The endpoint description.
- Returns
The description of this LogEndpoint.
- Return type
str
- property endpoint_id¶
Gets the endpoint_id of this LogEndpoint. The endpoint unique identifier.
- Returns
The endpoint_id of this LogEndpoint.
- Return type
int
- property endpoint_properties¶
Gets the endpoint_properties of this LogEndpoint. A list of endpoint properties.
- Returns
The endpoint_properties of this LogEndpoint.
- Return type
- property 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
- property 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
- property model¶
Gets the model of this LogEndpoint. The endpoint model.
- Returns
The model of this LogEndpoint.
- Return type
str
- property name¶
[Required] Gets the name of this LogEndpoint. The endpoint name.
- Returns
The name of this LogEndpoint.
- Return type
str
- property proxy¶
Gets the proxy of this LogEndpoint.
- Returns
The proxy of this LogEndpoint.
- Return type
- property request¶
[Required] Gets the request of this LogEndpoint.
- Returns
The request of this LogEndpoint.
- Return type
- property response¶
Gets the response of this LogEndpoint.
- Returns
The response of this LogEndpoint.
- Return type