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

Bases: oci.core.models.instance_configuration_instance_details.InstanceConfigurationInstanceDetails

Compute Instance Configuration instance details.


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


Gets the block_volumes of this ComputeInstanceDetails.

Returns:The block_volumes of this ComputeInstanceDetails.
Return type:list[InstanceConfigurationBlockVolumeDetails]

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 instance_type of this InstanceConfigurationInstanceDetails. The type of instance details. Supported instanceType is compute

Returns:The instance_type of this InstanceConfigurationInstanceDetails.
Return type:str

Gets the launch_details of this ComputeInstanceDetails.

Returns:The launch_details of this ComputeInstanceDetails.
Return type:InstanceConfigurationLaunchInstanceDetails

Gets the secondary_vnics of this ComputeInstanceDetails.

Returns:The secondary_vnics of this ComputeInstanceDetails.
Return type:list[InstanceConfigurationAttachVnicDetails]