UpsertLogAnalyticsSourceDetails

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

Bases: object

Methods:

__init__(**kwargs)

Initializes a new UpsertLogAnalyticsSourceDetails object with values from keyword arguments.

Attributes:

categories

Gets the categories of this UpsertLogAnalyticsSourceDetails.

data_filter_definitions

Gets the data_filter_definitions of this UpsertLogAnalyticsSourceDetails.

database_credential

Gets the database_credential of this UpsertLogAnalyticsSourceDetails.

description

Gets the description of this UpsertLogAnalyticsSourceDetails.

display_name

Gets the display_name of this UpsertLogAnalyticsSourceDetails.

edit_version

Gets the edit_version of this UpsertLogAnalyticsSourceDetails.

endpoints

Gets the endpoints of this UpsertLogAnalyticsSourceDetails.

entity_types

Gets the entity_types of this UpsertLogAnalyticsSourceDetails.

extended_field_definitions

Gets the extended_field_definitions of this UpsertLogAnalyticsSourceDetails.

functions

Gets the functions of this UpsertLogAnalyticsSourceDetails.

is_for_cloud

Gets the is_for_cloud of this UpsertLogAnalyticsSourceDetails.

is_secure_content

Gets the is_secure_content of this UpsertLogAnalyticsSourceDetails.

is_system

Gets the is_system of this UpsertLogAnalyticsSourceDetails.

is_timezone_override

Gets the is_timezone_override of this UpsertLogAnalyticsSourceDetails.

label_conditions

Gets the label_conditions of this UpsertLogAnalyticsSourceDetails.

label_definitions

Gets the label_definitions of this UpsertLogAnalyticsSourceDetails.

labels

Gets the labels of this UpsertLogAnalyticsSourceDetails.

metadata_fields

Gets the metadata_fields of this UpsertLogAnalyticsSourceDetails.

metric_definitions

Gets the metric_definitions of this UpsertLogAnalyticsSourceDetails.

metrics

Gets the metrics of this UpsertLogAnalyticsSourceDetails.

name

Gets the name of this UpsertLogAnalyticsSourceDetails.

oob_parsers

Gets the oob_parsers of this UpsertLogAnalyticsSourceDetails.

parameters

Gets the parameters of this UpsertLogAnalyticsSourceDetails.

parsers

Gets the parsers of this UpsertLogAnalyticsSourceDetails.

patterns

Gets the patterns of this UpsertLogAnalyticsSourceDetails.

rule_id

Gets the rule_id of this UpsertLogAnalyticsSourceDetails.

source_id

Gets the source_id of this UpsertLogAnalyticsSourceDetails.

source_properties

Gets the source_properties of this UpsertLogAnalyticsSourceDetails.

type_name

Gets the type_name of this UpsertLogAnalyticsSourceDetails.

user_parsers

Gets the user_parsers of this UpsertLogAnalyticsSourceDetails.

warning_config

Gets the warning_config of this UpsertLogAnalyticsSourceDetails.

__init__(**kwargs)

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

Parameters
  • label_conditions (list[oci.log_analytics.models.LogAnalyticsSourceLabelCondition]) – The value to assign to the label_conditions property of this UpsertLogAnalyticsSourceDetails.

  • data_filter_definitions (list[oci.log_analytics.models.LogAnalyticsSourceDataFilter]) – The value to assign to the data_filter_definitions property of this UpsertLogAnalyticsSourceDetails.

  • database_credential (str) – The value to assign to the database_credential property of this UpsertLogAnalyticsSourceDetails.

  • extended_field_definitions (list[oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition]) – The value to assign to the extended_field_definitions property of this UpsertLogAnalyticsSourceDetails.

  • is_for_cloud (bool) – The value to assign to the is_for_cloud property of this UpsertLogAnalyticsSourceDetails.

  • labels (list[oci.log_analytics.models.LogAnalyticsLabelView]) – The value to assign to the labels property of this UpsertLogAnalyticsSourceDetails.

  • metric_definitions (list[oci.log_analytics.models.LogAnalyticsMetric]) – The value to assign to the metric_definitions property of this UpsertLogAnalyticsSourceDetails.

  • metrics (list[oci.log_analytics.models.LogAnalyticsSourceMetric]) – The value to assign to the metrics property of this UpsertLogAnalyticsSourceDetails.

  • oob_parsers (list[oci.log_analytics.models.LogAnalyticsParser]) – The value to assign to the oob_parsers property of this UpsertLogAnalyticsSourceDetails.

  • parameters (list[oci.log_analytics.models.LogAnalyticsParameter]) – The value to assign to the parameters property of this UpsertLogAnalyticsSourceDetails.

  • patterns (list[oci.log_analytics.models.LogAnalyticsSourcePattern]) – The value to assign to the patterns property of this UpsertLogAnalyticsSourceDetails.

  • description (str) – The value to assign to the description property of this UpsertLogAnalyticsSourceDetails.

  • display_name (str) – The value to assign to the display_name property of this UpsertLogAnalyticsSourceDetails.

  • edit_version (int) – The value to assign to the edit_version property of this UpsertLogAnalyticsSourceDetails.

  • functions (list[oci.log_analytics.models.LogAnalyticsSourceFunction]) – The value to assign to the functions property of this UpsertLogAnalyticsSourceDetails.

  • source_id (int) – The value to assign to the source_id property of this UpsertLogAnalyticsSourceDetails.

  • name (str) – The value to assign to the name property of this UpsertLogAnalyticsSourceDetails.

  • is_secure_content (bool) – The value to assign to the is_secure_content property of this UpsertLogAnalyticsSourceDetails.

  • is_system (bool) – The value to assign to the is_system property of this UpsertLogAnalyticsSourceDetails.

  • parsers (list[oci.log_analytics.models.LogAnalyticsParser]) – The value to assign to the parsers property of this UpsertLogAnalyticsSourceDetails.

  • rule_id (int) – The value to assign to the rule_id property of this UpsertLogAnalyticsSourceDetails.

  • type_name (str) – The value to assign to the type_name property of this UpsertLogAnalyticsSourceDetails.

  • warning_config (int) – The value to assign to the warning_config property of this UpsertLogAnalyticsSourceDetails.

  • metadata_fields (list[oci.log_analytics.models.LogAnalyticsSourceMetadataField]) – The value to assign to the metadata_fields property of this UpsertLogAnalyticsSourceDetails.

  • label_definitions (list[oci.log_analytics.models.LogAnalyticsLabelDefinition]) – The value to assign to the label_definitions property of this UpsertLogAnalyticsSourceDetails.

  • entity_types (list[oci.log_analytics.models.LogAnalyticsSourceEntityType]) – The value to assign to the entity_types property of this UpsertLogAnalyticsSourceDetails.

  • is_timezone_override (bool) – The value to assign to the is_timezone_override property of this UpsertLogAnalyticsSourceDetails.

  • user_parsers (list[oci.log_analytics.models.LogAnalyticsParser]) – The value to assign to the user_parsers property of this UpsertLogAnalyticsSourceDetails.

  • categories (list[oci.log_analytics.models.LogAnalyticsCategory]) – The value to assign to the categories property of this UpsertLogAnalyticsSourceDetails.

  • endpoints (list[oci.log_analytics.models.LogAnalyticsEndpoint]) – The value to assign to the endpoints property of this UpsertLogAnalyticsSourceDetails.

  • source_properties (list[oci.log_analytics.models.LogAnalyticsProperty]) – The value to assign to the source_properties property of this UpsertLogAnalyticsSourceDetails.

property categories

Gets the categories of this UpsertLogAnalyticsSourceDetails. An array of categories to assign to the source. Specifying the name attribute for each category would suffice. Oracle-defined category assignments cannot be removed.

Returns

The categories of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsCategory]

property data_filter_definitions

Gets the data_filter_definitions of this UpsertLogAnalyticsSourceDetails. An array of data filter definitions.

Returns

The data_filter_definitions of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceDataFilter]

property database_credential

Gets the database_credential of this UpsertLogAnalyticsSourceDetails. The database credential name.

Returns

The database_credential of this UpsertLogAnalyticsSourceDetails.

Return type

str

property description

Gets the description of this UpsertLogAnalyticsSourceDetails. The source description.

Returns

The description of this UpsertLogAnalyticsSourceDetails.

Return type

str

property display_name

Gets the display_name of this UpsertLogAnalyticsSourceDetails. The source display name.

Returns

The display_name of this UpsertLogAnalyticsSourceDetails.

Return type

str

property edit_version

Gets the edit_version of this UpsertLogAnalyticsSourceDetails. The source edit version.

Returns

The edit_version of this UpsertLogAnalyticsSourceDetails.

Return type

int

property endpoints

Gets the endpoints of this UpsertLogAnalyticsSourceDetails. An array of REST API endpoints for log collection.

Returns

The endpoints of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsEndpoint]

property entity_types

Gets the entity_types of this UpsertLogAnalyticsSourceDetails. An array of entity types.

Returns

The entity_types of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceEntityType]

property extended_field_definitions

Gets the extended_field_definitions of this UpsertLogAnalyticsSourceDetails. An array of extended field definitions.

Returns

The extended_field_definitions of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceExtendedFieldDefinition]

property functions

Gets the functions of this UpsertLogAnalyticsSourceDetails. An array of source functions.

Returns

The functions of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceFunction]

property is_for_cloud

Gets the is_for_cloud of this UpsertLogAnalyticsSourceDetails. A flag indicating whether or not this is a cloud source.

Returns

The is_for_cloud of this UpsertLogAnalyticsSourceDetails.

Return type

bool

property is_secure_content

Gets the is_secure_content of this UpsertLogAnalyticsSourceDetails. A flag indicating whether or not the source content is secure.

Returns

The is_secure_content of this UpsertLogAnalyticsSourceDetails.

Return type

bool

property is_system

Gets the is_system of this UpsertLogAnalyticsSourceDetails. The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.

Returns

The is_system of this UpsertLogAnalyticsSourceDetails.

Return type

bool

property is_timezone_override

Gets the is_timezone_override of this UpsertLogAnalyticsSourceDetails. A flag indicating whether or not the source has a time zone override.

Returns

The is_timezone_override of this UpsertLogAnalyticsSourceDetails.

Return type

bool

property label_conditions

Gets the label_conditions of this UpsertLogAnalyticsSourceDetails. An array of source label conditions.

Returns

The label_conditions of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceLabelCondition]

property label_definitions

Gets the label_definitions of this UpsertLogAnalyticsSourceDetails. An array of labels.

Returns

The label_definitions of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsLabelDefinition]

property labels

Gets the labels of this UpsertLogAnalyticsSourceDetails. An array of labels.

Returns

The labels of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsLabelView]

property metadata_fields

Gets the metadata_fields of this UpsertLogAnalyticsSourceDetails. An array of source metadata fields.

Returns

The metadata_fields of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceMetadataField]

property metric_definitions

Gets the metric_definitions of this UpsertLogAnalyticsSourceDetails. An array of metric definitions.

Returns

The metric_definitions of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsMetric]

property metrics

Gets the metrics of this UpsertLogAnalyticsSourceDetails. An array of metrics.

Returns

The metrics of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourceMetric]

property name

Gets the name of this UpsertLogAnalyticsSourceDetails. The source internal name.

Returns

The name of this UpsertLogAnalyticsSourceDetails.

Return type

str

property oob_parsers

Gets the oob_parsers of this UpsertLogAnalyticsSourceDetails. An array of built in source parsers.

Returns

The oob_parsers of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsParser]

property parameters

Gets the parameters of this UpsertLogAnalyticsSourceDetails. An array of parameters.

Returns

The parameters of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsParameter]

property parsers

Gets the parsers of this UpsertLogAnalyticsSourceDetails. An array of parser.

Returns

The parsers of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsParser]

property patterns

Gets the patterns of this UpsertLogAnalyticsSourceDetails. An array of patterns.

Returns

The patterns of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsSourcePattern]

property rule_id

Gets the rule_id of this UpsertLogAnalyticsSourceDetails. The rule unique identifier.

Returns

The rule_id of this UpsertLogAnalyticsSourceDetails.

Return type

int

property source_id

Gets the source_id of this UpsertLogAnalyticsSourceDetails. The source unique identifier.

Returns

The source_id of this UpsertLogAnalyticsSourceDetails.

Return type

int

property source_properties

Gets the source_properties of this UpsertLogAnalyticsSourceDetails. A list of source properties.

Returns

The source_properties of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsProperty]

property type_name

Gets the type_name of this UpsertLogAnalyticsSourceDetails. The source type internal name.

Returns

The type_name of this UpsertLogAnalyticsSourceDetails.

Return type

str

property user_parsers

Gets the user_parsers of this UpsertLogAnalyticsSourceDetails. An array of custom parsers.

Returns

The user_parsers of this UpsertLogAnalyticsSourceDetails.

Return type

list[oci.log_analytics.models.LogAnalyticsParser]

property warning_config

Gets the warning_config of this UpsertLogAnalyticsSourceDetails. The source warning configuration.

Returns

The warning_config of this UpsertLogAnalyticsSourceDetails.

Return type

int