ComputeInstanceDetails¶
- class oci.core.models.ComputeInstanceDetails(**kwargs)¶
Bases:
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:
Gets the block_volumes of this ComputeInstanceDetails.
[Required] Gets the instance_type of this InstanceConfigurationInstanceDetails.
Gets the launch_details of this ComputeInstanceDetails.
Gets 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.
- property 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.
- property 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
- property launch_details¶
Gets the launch_details of this ComputeInstanceDetails.
- Returns
The launch_details of this ComputeInstanceDetails.
- Return type
- property 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]