📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
devops
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/devops/models/__pycache__
💾
Free:
45.4 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: compute_instance_group_rollout_policy.cpython-39.opt-1.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 @ sx e Zd ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Zdd� Z dd� Zdd� ZdS )�!ComputeInstanceGroupRolloutPolicyzI Specifies the rollout policy for compute instance group stages. �5COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT�:COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGEc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new ComputeInstanceGroupRolloutPolicy 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.ComputeInstanceGroupLinearRolloutPolicyByPercentage` * :class:`~oci.devops.models.ComputeInstanceGroupLinearRolloutPolicyByCount` 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 ComputeInstanceGroupRolloutPolicy. Allowed values for this property are: "COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_COUNT", "COMPUTE_INSTANCE_GROUP_LINEAR_ROLLOUT_POLICY_BY_PERCENTAGE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type policy_type: str :param batch_delay_in_seconds: The value to assign to the batch_delay_in_seconds property of this ComputeInstanceGroupRolloutPolicy. :type batch_delay_in_seconds: int �str�int)�policy_type�batch_delay_in_seconds� policyTypeZbatchDelayInSecondsN)Z swagger_typesZ attribute_map�_policy_type�_batch_delay_in_seconds)�self�kwargs� r �[/usr/lib/python3.9/site-packages/oci/devops/models/compute_instance_group_rollout_policy.py�__init__ s ��z*ComputeInstanceGroupRolloutPolicy.__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 Z3ComputeInstanceGroupLinearRolloutPolicyByPercentager Z.ComputeInstanceGroupLinearRolloutPolicyByCountr Nr )Zobject_dictionary�typer r r �get_subtype<