📂 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
›
bds
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/bds/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: add_auto_scaling_configuration_details.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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zdd� Z dd� Zdd� ZdS )�"AddAutoScalingConfigurationDetailsz< The information about the autoscale configuration. c K sP ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _dS ) a Initializes a new AddAutoScalingConfigurationDetails 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 AddAutoScalingConfigurationDetails. :type display_name: str :param node_type: The value to assign to the node_type property of this AddAutoScalingConfigurationDetails. :type node_type: str :param is_enabled: The value to assign to the is_enabled property of this AddAutoScalingConfigurationDetails. :type is_enabled: bool :param cluster_admin_password: The value to assign to the cluster_admin_password property of this AddAutoScalingConfigurationDetails. :type cluster_admin_password: str :param policy: The value to assign to the policy property of this AddAutoScalingConfigurationDetails. :type policy: oci.bds.models.AutoScalePolicy :param policy_details: The value to assign to the policy_details property of this AddAutoScalingConfigurationDetails. :type policy_details: oci.bds.models.AddAutoScalePolicyDetails �str�boolZAutoScalePolicyZAddAutoScalePolicyDetails)�display_name� node_type� is_enabled�cluster_admin_password�policy�policy_detailsZdisplayNameZnodeTypeZ isEnabledZclusterAdminPasswordr Z policyDetailsN)Z swagger_typesZ attribute_map� _display_name� _node_type�_is_enabled�_cluster_admin_password�_policy�_policy_details)�self�kwargs� r �Y/usr/lib/python3.9/site-packages/oci/bds/models/add_auto_scaling_configuration_details.py�__init__ s( � � z+AddAutoScalingConfigurationDetails.__init__c C s | j S )a: Gets the display_name of this AddAutoScalingConfigurationDetails. A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information. :return: The display_name of this AddAutoScalingConfigurationDetails. :rtype: str �r �r r r r r I s z/AddAutoScalingConfigurationDetails.display_namec C s || _ dS )aE Sets the display_name of this AddAutoScalingConfigurationDetails. A user-friendly name. The name does not have to be unique, and it may be changed. Avoid entering confidential information. :param display_name: The display_name of this AddAutoScalingConfigurationDetails. :type: str Nr )r r r r r r U s c C s | j S )a@ **[Required]** Gets the node_type of this AddAutoScalingConfigurationDetails. A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER. :return: The node_type of this AddAutoScalingConfigurationDetails. :rtype: str �r r r r r r a s z,AddAutoScalingConfigurationDetails.node_typec C s || _ dS )a9 Sets the node_type of this AddAutoScalingConfigurationDetails. A node type that is managed by an autoscale configuration. The only supported types are WORKER and COMPUTE_ONLY_WORKER. :param node_type: The node_type of this AddAutoScalingConfigurationDetails. :type: str Nr )r r r r r r m s c C s | j S )z� **[Required]** Gets the is_enabled of this AddAutoScalingConfigurationDetails. Whether the autoscale configuration is enabled. :return: The is_enabled of this AddAutoScalingConfigurationDetails. :rtype: bool �r r r r r r y s z-AddAutoScalingConfigurationDetails.is_enabledc C s || _ dS )z� Sets the is_enabled of this AddAutoScalingConfigurationDetails. Whether the autoscale configuration is enabled. :param is_enabled: The is_enabled of this AddAutoScalingConfigurationDetails. :type: bool Nr )r r r r r r � s c C s | j S )a. **[Required]** Gets the cluster_admin_password of this AddAutoScalingConfigurationDetails. Base-64 encoded password for the cluster (and Cloudera Manager) admin user. :return: The cluster_admin_password of this AddAutoScalingConfigurationDetails. :rtype: str �r r r r r r � s z9AddAutoScalingConfigurationDetails.cluster_admin_passwordc C s || _ dS )a4 Sets the cluster_admin_password of this AddAutoScalingConfigurationDetails. Base-64 encoded password for the cluster (and Cloudera Manager) admin user. :param cluster_admin_password: The cluster_admin_password of this AddAutoScalingConfigurationDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the policy of this AddAutoScalingConfigurationDetails. :return: The policy of this AddAutoScalingConfigurationDetails. :rtype: oci.bds.models.AutoScalePolicy �r r r r r r � s z)AddAutoScalingConfigurationDetails.policyc C s || _ dS )z� Sets the policy of this AddAutoScalingConfigurationDetails. :param policy: The policy of this AddAutoScalingConfigurationDetails. :type: oci.bds.models.AutoScalePolicy Nr )r r r r r r � s c C s | j S )z� Gets the policy_details of this AddAutoScalingConfigurationDetails. :return: The policy_details of this AddAutoScalingConfigurationDetails. :rtype: oci.bds.models.AddAutoScalePolicyDetails �r r r r r r � s z1AddAutoScalingConfigurationDetails.policy_detailsc C s || _ dS )z� Sets the policy_details of this AddAutoScalingConfigurationDetails. :param policy_details: The policy_details of this AddAutoScalingConfigurationDetails. :type: oci.bds.models.AddAutoScalePolicyDetails Nr )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z+AddAutoScalingConfigurationDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z)AddAutoScalingConfigurationDetails.__eq__c C s | |k S r! r r$ r r r �__ne__� s z)AddAutoScalingConfigurationDetails.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r"