📂 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: export_image_details.pyc
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 @ s� e Zd ZdZdZdZdZdZdZdd� Z e d d � �Zedd� �Z e jd d� �Z edd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�ExportImageDetailsa� The destination details for the image export. Set `destinationType` to `objectStorageTuple` and use :func:`export_image_via_object_storage_tuple_details` when specifying the namespace, bucket name, and object name. Set `destinationType` to `objectStorageUri` and use :func:`export_image_via_object_storage_uri_details` when specifying the Object Storage URL. �QCOW2�VMDK�OCI�VHD�VDIc K s( ddd�| _ ddd�| _d| _d| _dS )a� Initializes a new ExportImageDetails 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.core.models.ExportImageViaObjectStorageUriDetails` * :class:`~oci.core.models.ExportImageViaObjectStorageTupleDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param destination_type: The value to assign to the destination_type property of this ExportImageDetails. :type destination_type: str :param export_format: The value to assign to the export_format property of this ExportImageDetails. Allowed values for this property are: "QCOW2", "VMDK", "OCI", "VHD", "VDI" :type export_format: str �str)�destination_type� export_format�destinationType�exportFormatN)� swagger_types� attribute_map�_destination_type�_export_format)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/core/models/export_image_details.py�__init__, s ��zExportImageDetails.__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 �objectStorageUri�%ExportImageViaObjectStorageUriDetails�objectStorageTuple�'ExportImageViaObjectStorageTupleDetailsr Nr )�object_dictionary�typer r r �get_subtypeM s zExportImageDetails.get_subtypec C s | j S )ai **[Required]** Gets the destination_type of this ExportImageDetails. The destination type. Use `objectStorageTuple` when specifying the namespace, bucket name, and object name. Use `objectStorageUri` when specifying the Object Storage URL. :return: The destination_type of this ExportImageDetails. :rtype: str �r �r r r r r ] s z#ExportImageDetails.destination_typec C s || _ dS )ai Sets the destination_type of this ExportImageDetails. The destination type. Use `objectStorageTuple` when specifying the namespace, bucket name, and object name. Use `objectStorageUri` when specifying the Object Storage URL. :param destination_type: The destination_type of this ExportImageDetails. :type: str Nr! )r r r r r r j s c C s | j S )a& Gets the export_format of this ExportImageDetails. The format to export the image to. The default value is `OCI`. The following image formats are available: - `OCI` - Oracle Cloud Infrastructure file with a QCOW2 image and Oracle Cloud Infrastructure metadata (.oci). Use this format to export a custom image that you want to import into other tenancies or regions. - `QCOW2` - QEMU Copy On Write (.qcow2) - `VDI` - Virtual Disk Image (.vdi) for Oracle VM VirtualBox - `VHD` - Virtual Hard Disk (.vhd) for Hyper-V - `VMDK` - Virtual Machine Disk (.vmdk) Allowed values for this property are: "QCOW2", "VMDK", "OCI", "VHD", "VDI" :return: The export_format of this ExportImageDetails. :rtype: str )r r"