📂 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
›
libexec
›
oracle-cloud-agent
›
plugins
›
osms
›
oci
›
events
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/events/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: rule.pyc
a N��frH � @ 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 d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zd/d0� Zd1d2� Zd3d4� Zd5S )6�Rulez� The configuration details of an Events rule. For more information, see `Managing Rules for Events`__. __ https://docs.cloud.oracle.com/iaas/Content/Events/Task/managingrules.htm �CREATING�ACTIVE�INACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s� ddddddddddddd�| _ dd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )aJ Initializes a new Rule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this Rule. :type display_name: str :param description: The value to assign to the description property of this Rule. :type description: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Rule. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param condition: The value to assign to the condition property of this Rule. :type condition: str :param compartment_id: The value to assign to the compartment_id property of this Rule. :type compartment_id: str :param is_enabled: The value to assign to the is_enabled property of this Rule. :type is_enabled: bool :param freeform_tags: The value to assign to the freeform_tags property of this Rule. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Rule. :type defined_tags: dict(str, dict(str, object)) :param actions: The value to assign to the actions property of this Rule. :type actions: oci.events.models.ActionList :param id: The value to assign to the id property of this Rule. :type id: str :param time_created: The value to assign to the time_created property of this Rule. :type time_created: datetime :param lifecycle_message: The value to assign to the lifecycle_message property of this Rule. :type lifecycle_message: str �str�boolzdict(str, str)zdict(str, dict(str, object))� ActionList�datetime)�display_name�description�lifecycle_state� condition�compartment_id� is_enabled� freeform_tags�defined_tags�actions�id�time_created�lifecycle_message�displayNamer �lifecycleStater � compartmentId� isEnabled�freeformTags�definedTagsr r �timeCreated�lifecycleMessageN)� swagger_types� attribute_map� _display_name�_description�_lifecycle_state� _condition�_compartment_id�_is_enabled�_freeform_tags� _defined_tags�_actions�_id� _time_created�_lifecycle_message)�self�kwargs� r6 �z/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/events/models/rule.py�__init__/ sL 9��z Rule.__init__c C s | j S )aq **[Required]** Gets the display_name of this Rule. A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Example: `"This rule sends a notification upon completion of DbaaS backup."` :return: The display_name of this Rule. :rtype: str �r( �r4 r6 r6 r7 r � s zRule.display_namec C s || _ dS )am Sets the display_name of this Rule. A string that describes the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. Example: `"This rule sends a notification upon completion of DbaaS backup."` :param display_name: The display_name of this Rule. :type: str Nr9 )r4 r r6 r6 r7 r � s c C s | j S )a Gets the description of this Rule. A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. :return: The description of this Rule. :rtype: str �r) r: r6 r6 r7 r � s zRule.descriptionc C s || _ dS )a# Sets the description of this Rule. A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. :param description: The description of this Rule. :type: str Nr; )r4 r r6 r6 r7 r � s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Rule. The current state of the rule. Allowed values for this property are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Rule. :rtype: str )r* r: r6 r6 r7 r � s zRule.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Rule. The current state of the rule. :param lifecycle_state: The lifecycle_state of this Rule. :type: str )r r r r r r r �UNKNOWN_ENUM_VALUEN)r r* )r4 r �allowed_valuesr6 r6 r7 r � s c C s | j S )ab **[Required]** Gets the condition of this Rule. A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` For more examples, see `Matching Events with Filters`__. * For a condition with fields to match an event, the event must contain all the field names listed in the condition. Field names must appear in the condition with the same nesting structure used in the event. For a list of reference events, see `Services that Produce Events`__. * Rules apply to events in the compartment in which you create them and any child compartments. This means that a condition specified by a rule only matches events emitted from resources in the compartment or any of its child compartments. * Wildcard matching is supported with the asterisk (*) character. For examples of wildcard matching, see `Matching Events with Filters`__ Example: `\"eventType\": \"com.oraclecloud.databaseservice.autonomous.database.backup.end\"` __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Reference/eventsproducers.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm :return: The condition of this Rule. :rtype: str �r+ r: r6 r6 r7 r � s $zRule.conditionc C s || _ dS )a[ Sets the condition of this Rule. A filter that specifies the event that will trigger actions associated with this rule. A few important things to remember about filters: * Fields not mentioned in the condition are ignored. You can create a valid filter that matches all events with two curly brackets: `{}` For more examples, see `Matching Events with Filters`__. * For a condition with fields to match an event, the event must contain all the field names listed in the condition. Field names must appear in the condition with the same nesting structure used in the event. For a list of reference events, see `Services that Produce Events`__. * Rules apply to events in the compartment in which you create them and any child compartments. This means that a condition specified by a rule only matches events emitted from resources in the compartment or any of its child compartments. * Wildcard matching is supported with the asterisk (*) character. For examples of wildcard matching, see `Matching Events with Filters`__ Example: `\"eventType\": \"com.oraclecloud.databaseservice.autonomous.database.backup.end\"` __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Reference/eventsproducers.htm __ https://docs.cloud.oracle.com/iaas/Content/Events/Concepts/filterevents.htm :param condition: The condition of this Rule. :type: str Nr>