ScaleVmInstanceDetails¶
-
class
oci.datacc.models.ScaleVmInstanceDetails(**kwargs)¶ Bases:
objectScale the VM instance.
Methods
__init__(**kwargs)Initializes a new ScaleVmInstanceDetails object with values from keyword arguments. Attributes
cpus_enabledGets the cpus_enabled of this ScaleVmInstanceDetails. memory_size_in_gbsGets the memory_size_in_gbs of this ScaleVmInstanceDetails. -
__init__(**kwargs)¶ Initializes a new ScaleVmInstanceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - memory_size_in_gbs (float) – The value to assign to the memory_size_in_gbs property of this ScaleVmInstanceDetails.
- cpus_enabled (int) – The value to assign to the cpus_enabled property of this ScaleVmInstanceDetails.
-
cpus_enabled¶ Gets the cpus_enabled of this ScaleVmInstanceDetails. The number of CPU cores to be enabled for VM instance.
Returns: The cpus_enabled of this ScaleVmInstanceDetails. Return type: int
-
memory_size_in_gbs¶ Gets the memory_size_in_gbs of this ScaleVmInstanceDetails. The memory to be allocated in GBs.
Returns: The memory_size_in_gbs of this ScaleVmInstanceDetails. Return type: float
-