📂 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
›
devops
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/devops/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: compute_instance_group_failure_policy.pyc
a N��fv � @ 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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z dd� Zd d� Z dd� ZdS )�!ComputeInstanceGroupFailurePolicyz[ Specifies a failure policy for a compute instance group rolling deployment stage. �.COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_COUNT�3COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_PERCENTAGEc K s ddi| _ ddi| _d| _dS )a� Initializes a new ComputeInstanceGroupFailurePolicy object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.devops.models.ComputeInstanceGroupFailurePolicyByPercentage` * :class:`~oci.devops.models.ComputeInstanceGroupFailurePolicyByCount` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param policy_type: The value to assign to the policy_type property of this ComputeInstanceGroupFailurePolicy. Allowed values for this property are: "COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_COUNT", "COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_PERCENTAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type policy_type: str �policy_type�str� policyTypeN)� swagger_types� attribute_map�_policy_type)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/compute_instance_group_failure_policy.py�__init__ s ��z*ComputeInstanceGroupFailurePolicy.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r �-ComputeInstanceGroupFailurePolicyByPercentager �(ComputeInstanceGroupFailurePolicyByCountr Nr )�object_dictionary�typer r r �get_subtype3 s z-ComputeInstanceGroupFailurePolicy.get_subtypec C s | j S )a+ **[Required]** Gets the policy_type of this ComputeInstanceGroupFailurePolicy. Specifies if the failure instance size is given by absolute number or by percentage. Allowed values for this property are: "COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_COUNT", "COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_PERCENTAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The policy_type of this ComputeInstanceGroupFailurePolicy. :rtype: str )r �r r r r r C s z-ComputeInstanceGroupFailurePolicy.policy_typec C s ddg}t ||�sd}|| _dS )a Sets the policy_type of this ComputeInstanceGroupFailurePolicy. Specifies if the failure instance size is given by absolute number or by percentage. :param policy_type: The policy_type of this ComputeInstanceGroupFailurePolicy. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r R s c C s t | �S �N)r r r r r �__repr__a s z*ComputeInstanceGroupFailurePolicy.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__d s z(ComputeInstanceGroupFailurePolicy.__eq__c C s | |k S r r r r r r �__ne__j s z(ComputeInstanceGroupFailurePolicy.__ne__N)�__name__� __module__�__qualname__�__doc__�:POLICY_TYPE_COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_COUNT�?POLICY_TYPE_COMPUTE_INSTANCE_GROUP_FAILURE_POLICY_BY_PERCENTAGEr �staticmethodr �propertyr �setterr r! r"