ruạṛ
a N��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 @ sR e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zd d � Z dd� Zd d� ZdS )�'InstanceConfigurationAvailabilityConfigz Options for defining the availabiity of a VM instance after a maintenance event that impacts the underlying hardware. �RESTORE_INSTANCE� STOP_INSTANCEc K s ddi| _ ddi| _d| _dS )ag Initializes a new InstanceConfigurationAvailabilityConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param recovery_action: The value to assign to the recovery_action property of this InstanceConfigurationAvailabilityConfig. Allowed values for this property are: "RESTORE_INSTANCE", "STOP_INSTANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type recovery_action: str �recovery_action�str�recoveryActionN)� swagger_types� attribute_map�_recovery_action)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/instance_configuration_availability_config.py�__init__ s ��z0InstanceConfigurationAvailabilityConfig.__init__c C s | j S )a, Gets the recovery_action of this InstanceConfigurationAvailabilityConfig. The lifecycle state for an instance when it is recovered after infrastructure maintenance. * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set. * `STOP_INSTANCE` - The instance is recovered in the stopped state. Allowed values for this property are: "RESTORE_INSTANCE", "STOP_INSTANCE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The recovery_action of this InstanceConfigurationAvailabilityConfig. :rtype: str )r �r r r r r . s z7InstanceConfigurationAvailabilityConfig.recovery_actionc C s ddg}t ||�sd}|| _dS )ar Sets the recovery_action of this InstanceConfigurationAvailabilityConfig. The lifecycle state for an instance when it is recovered after infrastructure maintenance. * `RESTORE_INSTANCE` - The instance is restored to the lifecycle state it was in before the maintenance event. If the instance was running, it is automatically rebooted. This is the default action when a value is not set. * `STOP_INSTANCE` - The instance is recovered in the stopped state. :param recovery_action: The recovery_action of this InstanceConfigurationAvailabilityConfig. :type: str r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r @ s c C s t | �S �N)r r r r r �__repr__R s z0InstanceConfigurationAvailabilityConfig.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__U s z.InstanceConfigurationAvailabilityConfig.__eq__c C s | |k S r r r r r r �__ne__[ s z.InstanceConfigurationAvailabilityConfig.__ne__N) �__name__� __module__�__qualname__�__doc__� RECOVERY_ACTION_RESTORE_INSTANCE�RECOVERY_ACTION_STOP_INSTANCEr �propertyr �setterr r r r r r r r s r N)�oci.utilr r r �oci.decoratorsr �objectr r r r r �<module> s
cải xoăn