class oci.core.models.ImageSourceViaObjectStorageUriDetails(**kwargs)

Bases: oci.core.models.image_source_details.ImageSourceDetails

ImageSourceViaObjectStorageUriDetails model.


Initializes a new ImageSourceViaObjectStorageUriDetails object with values from keyword arguments. The default value of the source_type attribute of this class is objectStorageUri and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

  • operating_system (str) -- The value to assign to the operating_system property of this ImageSourceViaObjectStorageUriDetails.
  • operating_system_version (str) -- The value to assign to the operating_system_version property of this ImageSourceViaObjectStorageUriDetails.
  • source_image_type (str) -- The value to assign to the source_image_type property of this ImageSourceViaObjectStorageUriDetails. Allowed values for this property are: "QCOW2", "VMDK"
  • source_type (str) -- The value to assign to the source_type property of this ImageSourceViaObjectStorageUriDetails.
  • source_uri (str) -- The value to assign to the source_uri property of this ImageSourceViaObjectStorageUriDetails.

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.


Gets the operating_system of this ImageSourceDetails.

Returns:The operating_system of this ImageSourceDetails.
Return type:str

Gets the operating_system_version of this ImageSourceDetails.

Returns:The operating_system_version of this ImageSourceDetails.
Return type:str

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

[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

[Required] Gets the source_uri of this ImageSourceViaObjectStorageUriDetails. The Object Storage URL for the image.

Returns:The source_uri of this ImageSourceViaObjectStorageUriDetails.
Return type:str