📂 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
›
vault
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/vault/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: secret_expiry_rule.cpython-39.opt-1.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� SecretRule� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s~ e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z d d� Z dd� Zdd� ZdS )�SecretExpiryRulezJ A rule that helps enforce the expiration of a secret's contents. c K sB ddddd�| _ ddddd�| _d | _d | _d | _d | _d | _d S )a� Initializes a new SecretExpiryRule object with values from keyword arguments. The default value of the :py:attr:`~oci.vault.models.SecretExpiryRule.rule_type` attribute of this class is ``SECRET_EXPIRY_RULE`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param rule_type: The value to assign to the rule_type property of this SecretExpiryRule. Allowed values for this property are: "SECRET_EXPIRY_RULE", "SECRET_REUSE_RULE" :type rule_type: str :param secret_version_expiry_interval: The value to assign to the secret_version_expiry_interval property of this SecretExpiryRule. :type secret_version_expiry_interval: str :param time_of_absolute_expiry: The value to assign to the time_of_absolute_expiry property of this SecretExpiryRule. :type time_of_absolute_expiry: datetime :param is_secret_content_retrieval_blocked_on_expiry: The value to assign to the is_secret_content_retrieval_blocked_on_expiry property of this SecretExpiryRule. :type is_secret_content_retrieval_blocked_on_expiry: bool �strZdatetime�bool)Z rule_type�secret_version_expiry_interval�time_of_absolute_expiry�-is_secret_content_retrieval_blocked_on_expiryZruleTypeZsecretVersionExpiryIntervalZtimeOfAbsoluteExpiryZ'isSecretContentRetrievalBlockedOnExpiryNZSECRET_EXPIRY_RULE)Z swagger_typesZ attribute_mapZ _rule_type�_secret_version_expiry_interval�_time_of_absolute_expiry�._is_secret_content_retrieval_blocked_on_expiry)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/vault/models/secret_expiry_rule.py�__init__ s ��zSecretExpiryRule.__init__c C s | j S )a� Gets the secret_version_expiry_interval of this SecretExpiryRule. A property indicating how long the secret contents will be considered valid, expressed in `ISO 8601`__ format. The secret needs to be updated when the secret content expires. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days. __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals :return: The secret_version_expiry_interval of this SecretExpiryRule. :rtype: str �r �r r r r r >