ComputeInstanceDetails

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

Bases: InstanceConfigurationInstanceDetails

Compute 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_volumes

Gets the block_volumes of this ComputeInstanceDetails.

instance_type

[Required] Gets the instance_type of this InstanceConfigurationInstanceDetails.

launch_details

Gets the launch_details of this ComputeInstanceDetails.

secondary_vnics

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_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):

Parameters
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

oci.core.models.InstanceConfigurationLaunchInstanceDetails

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]