📂 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
›
core
›
📁 models
📍
Lokasi:
/usr/libexec/oracle-cloud-agent/plugins/osms/oci/core/models
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: update_instance_availability_config_details.pyc
a N��f2 � @ 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 @ sl e Zd ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z dd � Zdd� Zdd� Z dS )�'UpdateInstanceAvailabilityConfigDetailsz� Options for defining the availability of a VM instance after a maintenance event that impacts the underlying hardware, including whether to live migrate supported VM instances when possible without sending a prior customer notification. �RESTORE_INSTANCE� STOP_INSTANCEc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new UpdateInstanceAvailabilityConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param is_live_migration_preferred: The value to assign to the is_live_migration_preferred property of this UpdateInstanceAvailabilityConfigDetails. :type is_live_migration_preferred: bool :param recovery_action: The value to assign to the recovery_action property of this UpdateInstanceAvailabilityConfigDetails. Allowed values for this property are: "RESTORE_INSTANCE", "STOP_INSTANCE" :type recovery_action: str �bool�str)�is_live_migration_preferred�recovery_action�isLiveMigrationPreferred�recoveryActionN)� swagger_types� attribute_map�_is_live_migration_preferred�_recovery_action)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/update_instance_availability_config_details.py�__init__ s ��z0UpdateInstanceAvailabilityConfigDetails.__init__c C s | j S )a� Gets the is_live_migration_preferred of this UpdateInstanceAvailabilityConfigDetails. Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :return: The is_live_migration_preferred of this UpdateInstanceAvailabilityConfigDetails. :rtype: bool �r �r r r r r 5 s zCUpdateInstanceAvailabilityConfigDetails.is_live_migration_preferredc C s || _ dS )a Sets the is_live_migration_preferred of this UpdateInstanceAvailabilityConfigDetails. Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param is_live_migration_preferred: The is_live_migration_preferred of this UpdateInstanceAvailabilityConfigDetails. :type: bool Nr )r r r r r r C s c C s | j S )a� Gets the recovery_action of this UpdateInstanceAvailabilityConfigDetails. 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" :return: The recovery_action of this UpdateInstanceAvailabilityConfigDetails. :rtype: str )r r r r r r Q s z7UpdateInstanceAvailabilityConfigDetails.recovery_actionc C s* ddg}t ||�s td�|���|| _dS )ar Sets the recovery_action of this UpdateInstanceAvailabilityConfigDetails. 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 UpdateInstanceAvailabilityConfigDetails. :type: str r r z?Invalid value for `recovery_action`, must be None or one of {0}N)r � ValueError�formatr )r r �allowed_valuesr r r r b s ��c C s t | �S �N)r r r r r �__repr__w s z0UpdateInstanceAvailabilityConfigDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__z s z.UpdateInstanceAvailabilityConfigDetails.__eq__c C s | |k S r r r r r r �__ne__� s z.UpdateInstanceAvailabilityConfigDetails.__ne__N)�__name__� __module__�__qualname__�__doc__� RECOVERY_ACTION_RESTORE_INSTANCE�RECOVERY_ACTION_STOP_INSTANCEr �propertyr �setterr r r"