📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
log_analytics
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/log_analytics/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: log_analytics_object_collection_rule.cpython-39.pyc
a ���fɖ � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s, e Zd ZdZdZdZdZdZdZdZ dZ d Zd Zdd� Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Zejd3d2� �Zed4d5� �Zejd6d5� �Zed7d8� �Zejd9d8� �Zed:d;� �Zejd<d;� �Zed=d>� �Z e jd?d>� �Z ed@dA� �Z!e!jdBdA� �Z!edCdD� �Z"e"jdEdD� �Z"edFdG� �Z#e#jdHdG� �Z#edIdJ� �Z$e$jdKdJ� �Z$edLdM� �Z%e%jdNdM� �Z%edOdP� �Z&e&jdQdP� �Z&edRdS� �Z'e'jdTdS� �Z'edUdV� �Z(e(jdWdV� �Z(edXdY� �Z)e)jdZdY� �Z)ed[d\� �Z*e*jd]d\� �Z*ed^d_� �Z+e+jd`d_� �Z+dadb� Z,dcdd� Z-dedf� Z.dgS )h� LogAnalyticsObjectCollectionRulezO The configuration details of an Object Storage based collection rule. �LIVE�HISTORIC� HISTORIC_LIVE�OBJECT_PATH�ACTIVE�DELETED�INACTIVE�LOG� LOG_EVENTSc K s, ddddddddddddddddddddddddddddd�| _ d d ddd ddddddddddddddddddd d!d"d#d$d�| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _ d%| _ d%| _d%| _d%| _ d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%| _d%S )&aT Initializes a new LogAnalyticsObjectCollectionRule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this LogAnalyticsObjectCollectionRule. :type id: str :param name: The value to assign to the name property of this LogAnalyticsObjectCollectionRule. :type name: str :param description: The value to assign to the description property of this LogAnalyticsObjectCollectionRule. :type description: str :param compartment_id: The value to assign to the compartment_id property of this LogAnalyticsObjectCollectionRule. :type compartment_id: str :param os_namespace: The value to assign to the os_namespace property of this LogAnalyticsObjectCollectionRule. :type os_namespace: str :param os_bucket_name: The value to assign to the os_bucket_name property of this LogAnalyticsObjectCollectionRule. :type os_bucket_name: str :param collection_type: The value to assign to the collection_type property of this LogAnalyticsObjectCollectionRule. Allowed values for this property are: "LIVE", "HISTORIC", "HISTORIC_LIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type collection_type: str :param poll_since: The value to assign to the poll_since property of this LogAnalyticsObjectCollectionRule. :type poll_since: str :param poll_till: The value to assign to the poll_till property of this LogAnalyticsObjectCollectionRule. :type poll_till: str :param log_group_id: The value to assign to the log_group_id property of this LogAnalyticsObjectCollectionRule. :type log_group_id: str :param log_source_name: The value to assign to the log_source_name property of this LogAnalyticsObjectCollectionRule. :type log_source_name: str :param entity_id: The value to assign to the entity_id property of this LogAnalyticsObjectCollectionRule. :type entity_id: str :param char_encoding: The value to assign to the char_encoding property of this LogAnalyticsObjectCollectionRule. :type char_encoding: str :param timezone: The value to assign to the timezone property of this LogAnalyticsObjectCollectionRule. :type timezone: str :param log_set: The value to assign to the log_set property of this LogAnalyticsObjectCollectionRule. :type log_set: str :param log_set_key: The value to assign to the log_set_key property of this LogAnalyticsObjectCollectionRule. Allowed values for this property are: "OBJECT_PATH", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type log_set_key: str :param log_set_ext_regex: The value to assign to the log_set_ext_regex property of this LogAnalyticsObjectCollectionRule. :type log_set_ext_regex: str :param overrides: The value to assign to the overrides property of this LogAnalyticsObjectCollectionRule. :type overrides: dict(str, list[PropertyOverride]) :param lifecycle_state: The value to assign to the lifecycle_state property of this LogAnalyticsObjectCollectionRule. Allowed values for this property are: "ACTIVE", "DELETED", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this LogAnalyticsObjectCollectionRule. :type lifecycle_details: str :param time_created: The value to assign to the time_created property of this LogAnalyticsObjectCollectionRule. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this LogAnalyticsObjectCollectionRule. :type time_updated: datetime :param is_enabled: The value to assign to the is_enabled property of this LogAnalyticsObjectCollectionRule. :type is_enabled: bool :param object_name_filters: The value to assign to the object_name_filters property of this LogAnalyticsObjectCollectionRule. :type object_name_filters: list[str] :param log_type: The value to assign to the log_type property of this LogAnalyticsObjectCollectionRule. Allowed values for this property are: "LOG", "LOG_EVENTS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type log_type: str :param is_force_historic_collection: The value to assign to the is_force_historic_collection property of this LogAnalyticsObjectCollectionRule. :type is_force_historic_collection: bool :param defined_tags: The value to assign to the defined_tags property of this LogAnalyticsObjectCollectionRule. :type defined_tags: dict(str, dict(str, object)) :param freeform_tags: The value to assign to the freeform_tags property of this LogAnalyticsObjectCollectionRule. :type freeform_tags: dict(str, str) �strz!dict(str, list[PropertyOverride])Zdatetime�boolz list[str]zdict(str, dict(str, object))zdict(str, str))�id�name�description�compartment_id�os_namespace�os_bucket_name�collection_type� poll_since� poll_till�log_group_id�log_source_name� entity_id� char_encoding�timezone�log_set�log_set_key�log_set_ext_regex� overrides�lifecycle_state�lifecycle_details�time_created�time_updated� is_enabled�object_name_filters�log_type�is_force_historic_collection�defined_tags� freeform_tagsr r r Z compartmentIdZosNamespaceZosBucketNameZcollectionTypeZ pollSinceZpollTillZ logGroupIdZ logSourceNameZentityIdZcharEncodingr ZlogSetZ logSetKeyZlogSetExtRegexr# ZlifecycleStateZlifecycleDetailsZtimeCreatedZtimeUpdatedZ isEnabledZobjectNameFiltersZlogTypeZisForceHistoricCollectionZdefinedTagsZfreeformTagsN)Z swagger_typesZ attribute_map�_id�_name�_description�_compartment_id� _os_namespace�_os_bucket_name�_collection_type�_poll_since� _poll_till� _log_group_id�_log_source_name� _entity_id�_char_encoding� _timezone�_log_set�_log_set_key�_log_set_ext_regex� _overrides�_lifecycle_state�_lifecycle_details� _time_created� _time_updated�_is_enabled�_object_name_filters� _log_type�_is_force_historic_collection� _defined_tags�_freeform_tags)�self�kwargs� rL �a/usr/lib/python3.9/site-packages/oci/log_analytics/models/log_analytics_object_collection_rule.py�__init__6 s� � �z)LogAnalyticsObjectCollectionRule.__init__c C s | j S )a) **[Required]** Gets the id of this LogAnalyticsObjectCollectionRule. The `OCID`__ of this rule. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The id of this LogAnalyticsObjectCollectionRule. :rtype: str �r. �rJ rL rL rM r s z#LogAnalyticsObjectCollectionRule.idc C s || _ dS )a Sets the id of this LogAnalyticsObjectCollectionRule. The `OCID`__ of this rule. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param id: The id of this LogAnalyticsObjectCollectionRule. :type: str NrO )rJ r rL rL rM r s c C s | j S )a **[Required]** Gets the name of this LogAnalyticsObjectCollectionRule. A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed. :return: The name of this LogAnalyticsObjectCollectionRule. :rtype: str �r/ rP rL rL rM r + s z%LogAnalyticsObjectCollectionRule.namec C s || _ dS )a Sets the name of this LogAnalyticsObjectCollectionRule. A unique name to the rule. The name must be unique, within the tenancy, and cannot be changed. :param name: The name of this LogAnalyticsObjectCollectionRule. :type: str NrQ )rJ r rL rL rM r 7 s c C s | j S )aN Gets the description of this LogAnalyticsObjectCollectionRule. A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information. :return: The description of this LogAnalyticsObjectCollectionRule. :rtype: str �r0 rP rL rL rM r C s z,LogAnalyticsObjectCollectionRule.descriptionc C s || _ dS )aX Sets the description of this LogAnalyticsObjectCollectionRule. A string that describes the details of the rule. It does not have to be unique, and can be changed. Avoid entering confidential information. :param description: The description of this LogAnalyticsObjectCollectionRule. :type: str NrR )rJ r rL rL rM r P s c C s | j S )ab **[Required]** Gets the compartment_id of this LogAnalyticsObjectCollectionRule. The `OCID`__ of the compartment to which this rule belongs. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :return: The compartment_id of this LogAnalyticsObjectCollectionRule. :rtype: str �r1 rP rL rL rM r ] s z/LogAnalyticsObjectCollectionRule.compartment_idc C s || _ dS )a` Sets the compartment_id of this LogAnalyticsObjectCollectionRule. The `OCID`__ of the compartment to which this rule belongs. __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this LogAnalyticsObjectCollectionRule. :type: str NrS )rJ r rL rL rM r k s c C s | j S )z� **[Required]** Gets the os_namespace of this LogAnalyticsObjectCollectionRule. Object Storage namespace. :return: The os_namespace of this LogAnalyticsObjectCollectionRule. :rtype: str �r2 rP rL rL rM r y s z-LogAnalyticsObjectCollectionRule.os_namespacec C s || _ dS )z� Sets the os_namespace of this LogAnalyticsObjectCollectionRule. Object Storage namespace. :param os_namespace: The os_namespace of this LogAnalyticsObjectCollectionRule. :type: str NrT )rJ r rL rL rM r � s c C s | j S )z� **[Required]** Gets the os_bucket_name of this LogAnalyticsObjectCollectionRule. Name of the Object Storage bucket. :return: The os_bucket_name of this LogAnalyticsObjectCollectionRule. :rtype: str �r3 rP rL rL rM r � s z/LogAnalyticsObjectCollectionRule.os_bucket_namec C s || _ dS )z� Sets the os_bucket_name of this LogAnalyticsObjectCollectionRule. Name of the Object Storage bucket. :param os_bucket_name: The os_bucket_name of this LogAnalyticsObjectCollectionRule. :type: str NrU )rJ r rL rL rM r � s c C s | j S )a� **[Required]** Gets the collection_type of this LogAnalyticsObjectCollectionRule. The type of log collection. Allowed values for this property are: "LIVE", "HISTORIC", "HISTORIC_LIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The collection_type of this LogAnalyticsObjectCollectionRule. :rtype: str )r4 rP rL rL rM r � s z0LogAnalyticsObjectCollectionRule.collection_typec C s g d�}t ||�sd}|| _dS )z� Sets the collection_type of this LogAnalyticsObjectCollectionRule. The type of log collection. :param collection_type: The collection_type of this LogAnalyticsObjectCollectionRule. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r4 )rJ r �allowed_valuesrL rL rM r � s c C s | j S )a **[Required]** Gets the poll_since of this LogAnalyticsObjectCollectionRule. The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error. :return: The poll_since of this LogAnalyticsObjectCollectionRule. :rtype: str �r5 rP rL rL rM r � s z+LogAnalyticsObjectCollectionRule.poll_sincec C s || _ dS )a Sets the poll_since of this LogAnalyticsObjectCollectionRule. The oldest time of the file in the bucket to consider for collection. Accepted values are: BEGINNING or CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC or HISTORIC_LIVE collection types. When collectionType is LIVE, specifying pollSince value other than CURRENT_TIME will result in error. :param poll_since: The poll_since of this LogAnalyticsObjectCollectionRule. :type: str NrX )rJ r rL rL rM r � s c C s | j S )a� Gets the poll_till of this LogAnalyticsObjectCollectionRule. The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error. :return: The poll_till of this LogAnalyticsObjectCollectionRule. :rtype: str �r6 rP rL rL rM r � s z*LogAnalyticsObjectCollectionRule.poll_tillc C s || _ dS )a� Sets the poll_till of this LogAnalyticsObjectCollectionRule. The newest time of the file in the bucket to consider for collection. Accepted values are: CURRENT_TIME or RFC3339 formatted datetime string. Use this for HISTORIC collection type. When collectionType is LIVE or HISTORIC_LIVE, specifying pollTill will result in error. :param poll_till: The poll_till of this LogAnalyticsObjectCollectionRule. :type: str NrY )rJ r rL rL rM r � s c C s | j S )a **[Required]** Gets the log_group_id of this LogAnalyticsObjectCollectionRule. Logging Analytics Log group OCID to associate the processed logs with. :return: The log_group_id of this LogAnalyticsObjectCollectionRule. :rtype: str �r7 rP rL rL rM r � s z-LogAnalyticsObjectCollectionRule.log_group_idc C s || _ dS )a Sets the log_group_id of this LogAnalyticsObjectCollectionRule. Logging Analytics Log group OCID to associate the processed logs with. :param log_group_id: The log_group_id of this LogAnalyticsObjectCollectionRule. :type: str NrZ )rJ r rL rL rM r s c C s | j S )a **[Required]** Gets the log_source_name of this LogAnalyticsObjectCollectionRule. Name of the Logging Analytics Source to use for the processing. :return: The log_source_name of this LogAnalyticsObjectCollectionRule. :rtype: str �r8 rP rL rL rM r s z0LogAnalyticsObjectCollectionRule.log_source_namec C s || _ dS )a Sets the log_source_name of this LogAnalyticsObjectCollectionRule. Name of the Logging Analytics Source to use for the processing. :param log_source_name: The log_source_name of this LogAnalyticsObjectCollectionRule. :type: str Nr[ )rJ r rL rL rM r # s c C s | j S )z� Gets the entity_id of this LogAnalyticsObjectCollectionRule. Logging Analytics entity OCID to associate the processed logs with. :return: The entity_id of this LogAnalyticsObjectCollectionRule. :rtype: str �r9 rP rL rL rM r / s z*LogAnalyticsObjectCollectionRule.entity_idc C s || _ dS )a Sets the entity_id of this LogAnalyticsObjectCollectionRule. Logging Analytics entity OCID to associate the processed logs with. :param entity_id: The entity_id of this LogAnalyticsObjectCollectionRule. :type: str Nr\ )rJ r rL rL rM r ; s c C s | j S )a Gets the char_encoding of this LogAnalyticsObjectCollectionRule. An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8859_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs. :return: The char_encoding of this LogAnalyticsObjectCollectionRule. :rtype: str �r: rP rL rL rM r G s z.LogAnalyticsObjectCollectionRule.char_encodingc C s || _ dS )a$ Sets the char_encoding of this LogAnalyticsObjectCollectionRule. An optional character encoding to aid in detecting the character encoding of the contents of the objects while processing. It is recommended to set this value as ISO_8859_1 when configuring content of the objects having more numeric characters, and very few alphabets. For e.g. this applies when configuring VCN Flow Logs. :param char_encoding: The char_encoding of this LogAnalyticsObjectCollectionRule. :type: str Nr] )rJ r rL rL rM r V s c C s | j S )a� Gets the timezone of this LogAnalyticsObjectCollectionRule. Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used. :return: The timezone of this LogAnalyticsObjectCollectionRule. :rtype: str �r; rP rL rL rM r e s z)LogAnalyticsObjectCollectionRule.timezonec C s || _ dS )a� Sets the timezone of this LogAnalyticsObjectCollectionRule. Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used. :param timezone: The timezone of this LogAnalyticsObjectCollectionRule. :type: str Nr^ )rJ r rL rL rM r s s c C s | j S )a0 Gets the log_set of this LogAnalyticsObjectCollectionRule. The logSet to be associated with the processed logs. The logSet feature can be used by customers with high volume of data and this feature has to be enabled for a given tenancy prior to its usage. When logSetExtRegex value is provided, it will take precedence over this logSet value and logSet will be computed dynamically using logSetKey and logSetExtRegex. :return: The log_set of this LogAnalyticsObjectCollectionRule. :rtype: str �r<