ImageSourceViaObjectStorageTupleDetails¶
- class oci.core.models.ImageSourceViaObjectStorageTupleDetails(**kwargs)¶
Bases:
ImageSourceDetailsImageSourceViaObjectStorageTupleDetails model.
Attributes:
A constant which can be used with the source_image_type property of a ImageSourceDetails.
A constant which can be used with the source_image_type property of a ImageSourceDetails.
[Required] Gets the bucket_name of this ImageSourceViaObjectStorageTupleDetails.
[Required] Gets the namespace_name of this ImageSourceViaObjectStorageTupleDetails.
[Required] Gets the object_name of this ImageSourceViaObjectStorageTupleDetails.
Gets the operating_system of this ImageSourceDetails.
Gets the operating_system_version of this ImageSourceDetails.
Gets the source_image_type of this ImageSourceDetails.
[Required] Gets the source_type of this ImageSourceDetails.
Methods:
__init__(**kwargs)Initializes a new ImageSourceViaObjectStorageTupleDetails 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.
- SOURCE_IMAGE_TYPE_QCOW2 = 'QCOW2'¶
A constant which can be used with the source_image_type property of a ImageSourceDetails. This constant has a value of “QCOW2”
- SOURCE_IMAGE_TYPE_VMDK = 'VMDK'¶
A constant which can be used with the source_image_type property of a ImageSourceDetails. This constant has a value of “VMDK”
- __init__(**kwargs)¶
Initializes a new ImageSourceViaObjectStorageTupleDetails object with values from keyword arguments. The default value of the
source_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
operating_system (str) – The value to assign to the operating_system property of this ImageSourceViaObjectStorageTupleDetails.
operating_system_version (str) – The value to assign to the operating_system_version property of this ImageSourceViaObjectStorageTupleDetails.
source_image_type (str) – The value to assign to the source_image_type property of this ImageSourceViaObjectStorageTupleDetails. Allowed values for this property are: “QCOW2”, “VMDK”
source_type (str) – The value to assign to the source_type property of this ImageSourceViaObjectStorageTupleDetails.
bucket_name (str) – The value to assign to the bucket_name property of this ImageSourceViaObjectStorageTupleDetails.
namespace_name (str) – The value to assign to the namespace_name property of this ImageSourceViaObjectStorageTupleDetails.
object_name (str) – The value to assign to the object_name property of this ImageSourceViaObjectStorageTupleDetails.
- property bucket_name¶
[Required] Gets the bucket_name of this ImageSourceViaObjectStorageTupleDetails. The Object Storage bucket for the image.
- Returns
The bucket_name of this ImageSourceViaObjectStorageTupleDetails.
- 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.
- property namespace_name¶
[Required] Gets the namespace_name of this ImageSourceViaObjectStorageTupleDetails. The Object Storage namespace for the image.
- Returns
The namespace_name of this ImageSourceViaObjectStorageTupleDetails.
- Return type
str
- property object_name¶
[Required] Gets the object_name of this ImageSourceViaObjectStorageTupleDetails. The Object Storage name for the image.
- Returns
The object_name of this ImageSourceViaObjectStorageTupleDetails.
- Return type
str
- property operating_system¶
Gets the operating_system of this ImageSourceDetails.
- Returns
The operating_system of this ImageSourceDetails.
- Return type
str
- property operating_system_version¶
Gets the operating_system_version of this ImageSourceDetails.
- Returns
The operating_system_version of this ImageSourceDetails.
- Return type
str
- property source_image_type¶
Gets the source_image_type of this ImageSourceDetails. The format of the image to be imported. Only monolithic images are supported. This attribute is not used for exported Oracle images with the OCI image format.
Allowed values for this property are: “QCOW2”, “VMDK”
- Returns
The source_image_type of this ImageSourceDetails.
- Return type
str
- property source_type¶
[Required] Gets the source_type of this ImageSourceDetails. The source type for the image. Use objectStorageTuple when specifying the namespace, bucket name, and object name. Use objectStorageUri when specifying the Object Storage URL.
- Returns
The source_type of this ImageSourceDetails.
- Return type
str