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

Bases: oci.core.models.instance_source_details.InstanceSourceDetails

InstanceSourceViaBootVolumeDetails model.


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

  • source_type (str) -- The value to assign to the source_type property of this InstanceSourceViaBootVolumeDetails.
  • boot_volume_id (str) -- The value to assign to the boot_volume_id property of this InstanceSourceViaBootVolumeDetails.

[Required] Gets the boot_volume_id of this InstanceSourceViaBootVolumeDetails. The OCID of the boot volume used to boot the instance.

Returns:The boot_volume_id of this InstanceSourceViaBootVolumeDetails.
Return type:str

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


[Required] Gets the source_type of this InstanceSourceDetails. The source type for the instance. Use image when specifying the image OCID. Use bootVolume when specifying the boot volume OCID.

Returns:The source_type of this InstanceSourceDetails.
Return type:str