ruạṛ
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 ZdZdZdZdZdZdZdZ dZ d ZdZdZ dZdZdZdZdZd d� Zedd � �Zejdd � �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zdd� Zd d!� Zd"d#� Zd$S )%� LaunchOptionsz� Options for tuning the compatibility and performance of VM shapes. The values that you specify override any default values. �ISCSI�SCSI�IDE�VFIO�PARAVIRTUALIZED�BIOS�UEFI_64�E1000c K sP ddddddd�| _ dddddd d�| _d | _d | _d | _d | _d | _d | _d S )a' Initializes a new LaunchOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param boot_volume_type: The value to assign to the boot_volume_type property of this LaunchOptions. Allowed values for this property are: "ISCSI", "SCSI", "IDE", "VFIO", "PARAVIRTUALIZED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type boot_volume_type: str :param firmware: The value to assign to the firmware property of this LaunchOptions. Allowed values for this property are: "BIOS", "UEFI_64", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type firmware: str :param network_type: The value to assign to the network_type property of this LaunchOptions. Allowed values for this property are: "E1000", "VFIO", "PARAVIRTUALIZED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type network_type: str :param remote_data_volume_type: The value to assign to the remote_data_volume_type property of this LaunchOptions. Allowed values for this property are: "ISCSI", "SCSI", "IDE", "VFIO", "PARAVIRTUALIZED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type remote_data_volume_type: str :param is_pv_encryption_in_transit_enabled: The value to assign to the is_pv_encryption_in_transit_enabled property of this LaunchOptions. :type is_pv_encryption_in_transit_enabled: bool :param is_consistent_volume_naming_enabled: The value to assign to the is_consistent_volume_naming_enabled property of this LaunchOptions. :type is_consistent_volume_naming_enabled: bool �str�bool)�boot_volume_type�firmware�network_type�remote_data_volume_type�#is_pv_encryption_in_transit_enabled�#is_consistent_volume_naming_enabledZbootVolumeTyper ZnetworkTypeZremoteDataVolumeTypeZisPvEncryptionInTransitEnabledZisConsistentVolumeNamingEnabledN)Z swagger_typesZ attribute_map�_boot_volume_type� _firmware� _network_type�_remote_data_volume_type�$_is_pv_encryption_in_transit_enabled�$_is_consistent_volume_naming_enabled)�self�kwargs� r �B/usr/lib/python3.9/site-packages/oci/core/models/launch_options.py�__init__O s( '� � zLaunchOptions.__init__c C s | j S )a= Gets the boot_volume_type of this LaunchOptions. Emulation type for the boot volume. * `ISCSI` - ISCSI attached block storage device. * `SCSI` - Emulated SCSI disk. * `IDE` - Emulated IDE disk. * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data volumes on platform images. * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images. Allowed values for this property are: "ISCSI", "SCSI", "IDE", "VFIO", "PARAVIRTUALIZED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The boot_volume_type of this LaunchOptions. :rtype: str )r �r r r r r � s zLaunchOptions.boot_volume_typec C s g d�}t ||�sd}|| _dS )av Sets the boot_volume_type of this LaunchOptions. Emulation type for the boot volume. * `ISCSI` - ISCSI attached block storage device. * `SCSI` - Emulated SCSI disk. * `IDE` - Emulated IDE disk. * `VFIO` - Direct attached Virtual Function storage. This is the default option for local data volumes on platform images. * `PARAVIRTUALIZED` - Paravirtualized disk. This is the default for boot volumes and remote block storage volumes on platform images. :param boot_volume_type: The boot_volume_type of this LaunchOptions. :type: str �r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r � s c C s | j S )a� Gets the firmware of this LaunchOptions. Firmware used to boot VM. Select the option that matches your operating system. * `BIOS` - Boot VM using BIOS style firmware. This is compatible with both 32 bit and 64 bit operating systems that boot using MBR style bootloaders. * `UEFI_64` - Boot VM using UEFI style firmware compatible with 64 bit operating systems. This is the default for platform images. Allowed values for this property are: "BIOS", "UEFI_64", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The firmware of this LaunchOptions. :rtype: str )r r"