ComputeInstanceDetails¶
-
class
oci.core.models.ComputeInstanceDetails(**kwargs)¶ Bases:
oci.core.models.instance_configuration_instance_details.InstanceConfigurationInstanceDetailsCompute Instance Configuration instance details.
Methods
__init__(**kwargs)Initializes a new ComputeInstanceDetails 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
block_volumesGets the block_volumes of this ComputeInstanceDetails. instance_type[Required] Gets the instance_type of this InstanceConfigurationInstanceDetails. launch_detailsGets the launch_details of this ComputeInstanceDetails. secondary_vnicsGets the secondary_vnics of this ComputeInstanceDetails. -
__init__(**kwargs)¶ Initializes a new ComputeInstanceDetails object with values from keyword arguments. The default value of the
instance_typeattribute of this class iscomputeand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - instance_type (str) – The value to assign to the instance_type property of this ComputeInstanceDetails.
- block_volumes (list[oci.core.models.InstanceConfigurationBlockVolumeDetails]) – The value to assign to the block_volumes property of this ComputeInstanceDetails.
- launch_details (oci.core.models.InstanceConfigurationLaunchInstanceDetails) – The value to assign to the launch_details property of this ComputeInstanceDetails.
- secondary_vnics (list[oci.core.models.InstanceConfigurationAttachVnicDetails]) – The value to assign to the secondary_vnics property of this ComputeInstanceDetails.
-
block_volumes¶ Gets the block_volumes of this ComputeInstanceDetails. Block volume parameters.
Returns: The block_volumes of this ComputeInstanceDetails. Return type: list[oci.core.models.InstanceConfigurationBlockVolumeDetails]
-
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.
-
instance_type¶ [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
-
launch_details¶ Gets the launch_details of this ComputeInstanceDetails.
Returns: The launch_details of this ComputeInstanceDetails. Return type: oci.core.models.InstanceConfigurationLaunchInstanceDetails
-
secondary_vnics¶ Gets the secondary_vnics of this ComputeInstanceDetails. Secondary VNIC parameters.
Returns: The secondary_vnics of this ComputeInstanceDetails. Return type: list[oci.core.models.InstanceConfigurationAttachVnicDetails]
-