DedicatedVmHostSummary¶
-
class
oci.core.models.
DedicatedVmHostSummary
(**kwargs)¶ Bases:
object
A dedicated virtual machine (VM) host lets you host multiple instances on a dedicated server that is not shared with other tenancies.
Attributes
LIFECYCLE_STATE_ACTIVE
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. LIFECYCLE_STATE_CREATING
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. LIFECYCLE_STATE_DELETED
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. LIFECYCLE_STATE_DELETING
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. availability_domain
[Required] Gets the availability_domain of this DedicatedVmHostSummary. compartment_id
[Required] Gets the compartment_id of this DedicatedVmHostSummary. dedicated_vm_host_shape
[Required] Gets the dedicated_vm_host_shape of this DedicatedVmHostSummary. display_name
[Required] Gets the display_name of this DedicatedVmHostSummary. fault_domain
Gets the fault_domain of this DedicatedVmHostSummary. id
[Required] Gets the id of this DedicatedVmHostSummary. lifecycle_state
[Required] Gets the lifecycle_state of this DedicatedVmHostSummary. remaining_memory_in_gbs
Gets the remaining_memory_in_gbs of this DedicatedVmHostSummary. remaining_ocpus
[Required] Gets the remaining_ocpus of this DedicatedVmHostSummary. time_created
[Required] Gets the time_created of this DedicatedVmHostSummary. total_memory_in_gbs
Gets the total_memory_in_gbs of this DedicatedVmHostSummary. total_ocpus
[Required] Gets the total_ocpus of this DedicatedVmHostSummary. Methods
__init__
(**kwargs)Initializes a new DedicatedVmHostSummary object with values from keyword arguments. -
LIFECYCLE_STATE_ACTIVE
= 'ACTIVE'¶ A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. This constant has a value of “ACTIVE”
-
LIFECYCLE_STATE_CREATING
= 'CREATING'¶ A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. This constant has a value of “CREATING”
-
LIFECYCLE_STATE_DELETED
= 'DELETED'¶ A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. This constant has a value of “DELETED”
-
LIFECYCLE_STATE_DELETING
= 'DELETING'¶ A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. This constant has a value of “DELETING”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary. This constant has a value of “UPDATING”
-
__init__
(**kwargs)¶ Initializes a new DedicatedVmHostSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - availability_domain (str) – The value to assign to the availability_domain property of this DedicatedVmHostSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this DedicatedVmHostSummary.
- dedicated_vm_host_shape (str) – The value to assign to the dedicated_vm_host_shape property of this DedicatedVmHostSummary.
- display_name (str) – The value to assign to the display_name property of this DedicatedVmHostSummary.
- fault_domain (str) – The value to assign to the fault_domain property of this DedicatedVmHostSummary.
- id (str) – The value to assign to the id property of this DedicatedVmHostSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DedicatedVmHostSummary. Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_created (datetime) – The value to assign to the time_created property of this DedicatedVmHostSummary.
- remaining_ocpus (float) – The value to assign to the remaining_ocpus property of this DedicatedVmHostSummary.
- total_ocpus (float) – The value to assign to the total_ocpus property of this DedicatedVmHostSummary.
- total_memory_in_gbs (float) – The value to assign to the total_memory_in_gbs property of this DedicatedVmHostSummary.
- remaining_memory_in_gbs (float) – The value to assign to the remaining_memory_in_gbs property of this DedicatedVmHostSummary.
-
availability_domain
¶ [Required] Gets the availability_domain of this DedicatedVmHostSummary. The availability domain the dedicated VM host is running in.
Example: Uocm:PHX-AD-1
Returns: The availability_domain of this DedicatedVmHostSummary. Return type: str
-
compartment_id
¶ [Required] Gets the compartment_id of this DedicatedVmHostSummary. The OCID of the compartment that contains the dedicated VM host.
Returns: The compartment_id of this DedicatedVmHostSummary. Return type: str
-
dedicated_vm_host_shape
¶ [Required] Gets the dedicated_vm_host_shape of this DedicatedVmHostSummary. The shape of the dedicated VM host. The shape determines the number of CPUs and other resources available for VMs.
Returns: The dedicated_vm_host_shape of this DedicatedVmHostSummary. Return type: str
-
display_name
¶ [Required] Gets the display_name of this DedicatedVmHostSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this DedicatedVmHostSummary. Return type: str
-
fault_domain
¶ Gets the fault_domain of this DedicatedVmHostSummary. The fault domain for the dedicated VM host’s assigned instances. For more information, see Fault Domains.
If you do not specify the fault domain, the system selects one for you. To change the fault domain for a dedicated VM host, delete it and create a new dedicated VM host in the preferred fault domain.
To get a list of fault domains, use the ListFaultDomains operation in the Identity and Access Management Service API.
Example: FAULT-DOMAIN-1
Returns: The fault_domain of this DedicatedVmHostSummary. Return type: str
-
id
¶ [Required] Gets the id of this DedicatedVmHostSummary. The OCID of the dedicated VM host.
Returns: The id of this DedicatedVmHostSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this DedicatedVmHostSummary. The current state of the dedicated VM host.
Allowed values for this property are: “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DedicatedVmHostSummary. Return type: str
-
remaining_memory_in_gbs
¶ Gets the remaining_memory_in_gbs of this DedicatedVmHostSummary. The current available memory of the dedicated VM host, in GBs.
Returns: The remaining_memory_in_gbs of this DedicatedVmHostSummary. Return type: float
-
remaining_ocpus
¶ [Required] Gets the remaining_ocpus of this DedicatedVmHostSummary. The current available OCPUs of the dedicated VM host.
Returns: The remaining_ocpus of this DedicatedVmHostSummary. Return type: float
-
time_created
¶ [Required] Gets the time_created of this DedicatedVmHostSummary. The date and time the dedicated VM host was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this DedicatedVmHostSummary. Return type: datetime
-
total_memory_in_gbs
¶ Gets the total_memory_in_gbs of this DedicatedVmHostSummary. The current total memory of the dedicated VM host, in GBs.
Returns: The total_memory_in_gbs of this DedicatedVmHostSummary. Return type: float
-
total_ocpus
¶ [Required] Gets the total_ocpus of this DedicatedVmHostSummary. The current total OCPUs of the dedicated VM host.
Returns: The total_ocpus of this DedicatedVmHostSummary. Return type: float
-