ExportImageViaObjectStorageTupleDetails¶
-
class
oci.core.models.ExportImageViaObjectStorageTupleDetails(**kwargs)¶ Bases:
oci.core.models.export_image_details.ExportImageDetailsExportImageViaObjectStorageTupleDetails model.
Attributes
EXPORT_FORMAT_OCIstr(object=’’) -> str EXPORT_FORMAT_QCOW2str(object=’’) -> str EXPORT_FORMAT_VDIstr(object=’’) -> str EXPORT_FORMAT_VHDstr(object=’’) -> str EXPORT_FORMAT_VMDKstr(object=’’) -> str bucket_name[Required] Gets the bucket_name of this ExportImageViaObjectStorageTupleDetails. destination_type[Required] Gets the destination_type of this ExportImageDetails. export_formatGets the export_format of this ExportImageDetails. namespace_name[Required] Gets the namespace_name of this ExportImageViaObjectStorageTupleDetails. object_name[Required] Gets the object_name of this ExportImageViaObjectStorageTupleDetails. Methods
__init__(**kwargs)Initializes a new ExportImageViaObjectStorageTupleDetails object with values from keyword arguments. get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
EXPORT_FORMAT_OCI= 'OCI'¶
-
EXPORT_FORMAT_QCOW2= 'QCOW2'¶
-
EXPORT_FORMAT_VDI= 'VDI'¶
-
EXPORT_FORMAT_VHD= 'VHD'¶
-
EXPORT_FORMAT_VMDK= 'VMDK'¶
-
__init__(**kwargs)¶ Initializes a new ExportImageViaObjectStorageTupleDetails object with values from keyword arguments. The default value of the
destination_typeattribute of this class isobjectStorageTupleand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - destination_type (str) – The value to assign to the destination_type property of this ExportImageViaObjectStorageTupleDetails.
- export_format (str) – The value to assign to the export_format property of this ExportImageViaObjectStorageTupleDetails. Allowed values for this property are: “QCOW2”, “VMDK”, “OCI”, “VHD”, “VDI”
- bucket_name (str) – The value to assign to the bucket_name property of this ExportImageViaObjectStorageTupleDetails.
- namespace_name (str) – The value to assign to the namespace_name property of this ExportImageViaObjectStorageTupleDetails.
- object_name (str) – The value to assign to the object_name property of this ExportImageViaObjectStorageTupleDetails.
-
bucket_name¶ [Required] Gets the bucket_name of this ExportImageViaObjectStorageTupleDetails. The Object Storage bucket to export the image to.
Returns: The bucket_name of this ExportImageViaObjectStorageTupleDetails. Return type: str
-
destination_type¶ [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.
Returns: The destination_type of this ExportImageDetails. Return type: str
-
export_format¶ 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”
Returns: The export_format of this ExportImageDetails. Return type: str
-
static
get_subtype(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
namespace_name¶ [Required] Gets the namespace_name of this ExportImageViaObjectStorageTupleDetails. The Object Storage namespace to export the image to.
Returns: The namespace_name of this ExportImageViaObjectStorageTupleDetails. Return type: str
-
object_name¶ [Required] Gets the object_name of this ExportImageViaObjectStorageTupleDetails. The Object Storage object name for the exported image.
Returns: The object_name of this ExportImageViaObjectStorageTupleDetails. Return type: str
-