InstanceConfigurationInstanceSourceViaImageDetails¶
-
class
oci.core.models.
InstanceConfigurationInstanceSourceViaImageDetails
(**kwargs)¶ Bases:
oci.core.models.instance_configuration_instance_source_details.InstanceConfigurationInstanceSourceDetails
InstanceConfigurationInstanceSourceViaImageDetails model.
Methods
__init__
(**kwargs)Initializes a new InstanceConfigurationInstanceSourceViaImageDetails 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_size_in_gbs
Gets the boot_volume_size_in_gbs of this InstanceConfigurationInstanceSourceViaImageDetails. boot_volume_vpus_per_gb
Gets the boot_volume_vpus_per_gb of this InstanceConfigurationInstanceSourceViaImageDetails. image_id
Gets the image_id of this InstanceConfigurationInstanceSourceViaImageDetails. instance_source_image_filter_details
Gets the instance_source_image_filter_details of this InstanceConfigurationInstanceSourceViaImageDetails. kms_key_id
Gets the kms_key_id of this InstanceConfigurationInstanceSourceViaImageDetails. source_type
[Required] Gets the source_type of this InstanceConfigurationInstanceSourceDetails. -
__init__
(**kwargs)¶ Initializes a new InstanceConfigurationInstanceSourceViaImageDetails object with values from keyword arguments. The default value of the
source_type
attribute of this class isimage
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 InstanceConfigurationInstanceSourceViaImageDetails.
- boot_volume_size_in_gbs (int) – The value to assign to the boot_volume_size_in_gbs property of this InstanceConfigurationInstanceSourceViaImageDetails.
- image_id (str) – The value to assign to the image_id property of this InstanceConfigurationInstanceSourceViaImageDetails.
- kms_key_id (str) – The value to assign to the kms_key_id property of this InstanceConfigurationInstanceSourceViaImageDetails.
- boot_volume_vpus_per_gb (int) – The value to assign to the boot_volume_vpus_per_gb property of this InstanceConfigurationInstanceSourceViaImageDetails.
- instance_source_image_filter_details (oci.core.models.InstanceConfigurationInstanceSourceImageFilterDetails) – The value to assign to the instance_source_image_filter_details property of this InstanceConfigurationInstanceSourceViaImageDetails.
-
boot_volume_size_in_gbs
¶ Gets the boot_volume_size_in_gbs of this InstanceConfigurationInstanceSourceViaImageDetails. The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
Returns: The boot_volume_size_in_gbs of this InstanceConfigurationInstanceSourceViaImageDetails. Return type: int
-
boot_volume_vpus_per_gb
¶ Gets the boot_volume_vpus_per_gb of this InstanceConfigurationInstanceSourceViaImageDetails. The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service’s elastic performance options. See Block Volume Performance Levels for more information.
Allowed values:
- 10: Represents Balanced option.
- 20: Represents Higher Performance option.
- 30-120: Represents the Ultra High Performance option.
For performance autotune enabled volumes, it would be the Default(Minimum) VPUs/GB.
Returns: The boot_volume_vpus_per_gb of this InstanceConfigurationInstanceSourceViaImageDetails. Return type: int
-
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.
-
image_id
¶ Gets the image_id of this InstanceConfigurationInstanceSourceViaImageDetails. The OCID of the image used to boot the instance.
Returns: The image_id of this InstanceConfigurationInstanceSourceViaImageDetails. Return type: str
-
instance_source_image_filter_details
¶ Gets the instance_source_image_filter_details of this InstanceConfigurationInstanceSourceViaImageDetails.
Returns: The instance_source_image_filter_details of this InstanceConfigurationInstanceSourceViaImageDetails. Return type: oci.core.models.InstanceConfigurationInstanceSourceImageFilterDetails
-
kms_key_id
¶ Gets the kms_key_id of this InstanceConfigurationInstanceSourceViaImageDetails. The OCID of the Vault service key to assign as the master encryption key for the boot volume.
Returns: The kms_key_id of this InstanceConfigurationInstanceSourceViaImageDetails. Return type: str
-
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
-