📂 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
›
opsi
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/opsi/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: credential_by_vault.cpython-39.opt-1.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�CredentialDetails� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdd� Zedd� �Zejdd� �Zedd � �Z e jd d � �Z edd� �Z e jd d� �Z edd� �Zejdd� �Zdd� Zdd� Z dd� ZdS )�CredentialByVaultz> Vault Credential Details to connect to the database. �NORMALc K sV ddddddd�| _ ddddddd�| _d | _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new CredentialByVault object with values from keyword arguments. The default value of the :py:attr:`~oci.opsi.models.CredentialByVault.credential_type` attribute of this class is ``CREDENTIALS_BY_VAULT`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param credential_source_name: The value to assign to the credential_source_name property of this CredentialByVault. :type credential_source_name: str :param credential_type: The value to assign to the credential_type property of this CredentialByVault. Allowed values for this property are: "CREDENTIALS_BY_SOURCE", "CREDENTIALS_BY_VAULT", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type credential_type: str :param user_name: The value to assign to the user_name property of this CredentialByVault. :type user_name: str :param password_secret_id: The value to assign to the password_secret_id property of this CredentialByVault. :type password_secret_id: str :param wallet_secret_id: The value to assign to the wallet_secret_id property of this CredentialByVault. :type wallet_secret_id: str :param role: The value to assign to the role property of this CredentialByVault. Allowed values for this property are: "NORMAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type role: str �str)Zcredential_source_nameZcredential_type� user_name�password_secret_id�wallet_secret_id�roleZcredentialSourceNameZcredentialTypeZuserNameZpasswordSecretIdZwalletSecretIdr NZCREDENTIALS_BY_VAULT)Z swagger_typesZ attribute_mapZ_credential_source_nameZ_credential_type� _user_name�_password_secret_id�_wallet_secret_id�_role)�self�kwargs� r �G/usr/lib/python3.9/site-packages/oci/opsi/models/credential_by_vault.py�__init__ s* $� � zCredentialByVault.__init__c C s | j S )z� Gets the user_name of this CredentialByVault. database user name. :return: The user_name of this CredentialByVault. :rtype: str �r �r r r r r S s zCredentialByVault.user_namec C s || _ dS )z� Sets the user_name of this CredentialByVault. database user name. :param user_name: The user_name of this CredentialByVault. :type: str Nr )r r r r r r _ s c C s | j S )a5 Gets the password_secret_id of this CredentialByVault. The secret `OCID`__ mapping to the database credentials. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The password_secret_id of this CredentialByVault. :rtype: str �r r r r r r k s z$CredentialByVault.password_secret_idc C s || _ dS )aF Sets the password_secret_id of this CredentialByVault. The secret `OCID`__ mapping to the database credentials. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param password_secret_id: The password_secret_id of this CredentialByVault. :type: str Nr )r r r r r r y s c C s | j S )ax Gets the wallet_secret_id of this CredentialByVault. The `OCID`__ of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The wallet_secret_id of this CredentialByVault. :rtype: str �r r r r r r � s z"CredentialByVault.wallet_secret_idc C s || _ dS )a� Sets the wallet_secret_id of this CredentialByVault. The `OCID`__ of the Secret where the database keystore contents are stored. This is used for TCPS support in BM/VM/ExaCS cases. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param wallet_secret_id: The wallet_secret_id of this CredentialByVault. :type: str Nr )r r r r r r � s c C s | j S )aN Gets the role of this CredentialByVault. database user role. Allowed values for this property are: "NORMAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The role of this CredentialByVault. :rtype: str )r r r r r r � s zCredentialByVault.rolec C s dg}t ||�sd}|| _dS )z� Sets the role of this CredentialByVault. database user role. :param role: The role of this CredentialByVault. :type: str r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s zCredentialByVault.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zCredentialByVault.__eq__c C s | |k S r r r r r r �__ne__� s zCredentialByVault.__ne__N)�__name__� __module__�__qualname__�__doc__ZROLE_NORMALr �propertyr �setterr r r r r! r"