InstanceConfigurationInstanceSourceViaBootVolumeDetails¶
-
class
oci.core.models.
InstanceConfigurationInstanceSourceViaBootVolumeDetails
(**kwargs)¶ Bases:
oci.core.models.instance_configuration_instance_source_details.InstanceConfigurationInstanceSourceDetails
InstanceConfigurationInstanceSourceViaBootVolumeDetails model.
Methods
__init__
(**kwargs)Initializes a new InstanceConfigurationInstanceSourceViaBootVolumeDetails 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. Attributes
boot_volume_id
Gets the boot_volume_id of this InstanceConfigurationInstanceSourceViaBootVolumeDetails. source_type
[Required] Gets the source_type of this InstanceConfigurationInstanceSourceDetails. -
__init__
(**kwargs)¶ Initializes a new InstanceConfigurationInstanceSourceViaBootVolumeDetails object with values from keyword arguments. The default value of the
source_type
attribute of this class isbootVolume
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - source_type (str) – The value to assign to the source_type property of this InstanceConfigurationInstanceSourceViaBootVolumeDetails.
- boot_volume_id (str) – The value to assign to the boot_volume_id property of this InstanceConfigurationInstanceSourceViaBootVolumeDetails.
-
boot_volume_id
¶ Gets the boot_volume_id of this InstanceConfigurationInstanceSourceViaBootVolumeDetails. The OCID of the boot volume used to boot the instance.
Returns: The boot_volume_id of this InstanceConfigurationInstanceSourceViaBootVolumeDetails. 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.
-
source_type
¶ [Required] Gets the source_type of this InstanceConfigurationInstanceSourceDetails. 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 InstanceConfigurationInstanceSourceDetails. Return type: str
-