ComputeInstanceOptions¶
- class oci.core.models.ComputeInstanceOptions(**kwargs)¶
Bases:
InstanceConfigurationInstanceDetailsMultiple Compute Instance Configuration instance details.
Methods:
__init__(**kwargs)Initializes a new ComputeInstanceOptions 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:
[Required] Gets the instance_type of this InstanceConfigurationInstanceDetails.
Gets the options of this ComputeInstanceOptions.
- __init__(**kwargs)¶
Initializes a new ComputeInstanceOptions object with values from keyword arguments. The default value of the
instance_typeattribute of this class isinstance_optionsand 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 ComputeInstanceOptions.
options (list[oci.core.models.ComputeInstanceDetails]) – The value to assign to the options property of this ComputeInstanceOptions.
- 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 options¶
Gets the options of this ComputeInstanceOptions. The Compute Instance Configuration parameters.
- Returns
The options of this ComputeInstanceOptions.
- Return type