DedicatedVmHostSummary¶
- class oci.core.models.DedicatedVmHostSummary(**kwargs)¶
Bases:
objectA dedicated virtual machine (VM) host lets you host multiple instances on a dedicated server that is not shared with other tenancies.
Attributes:
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary.
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary.
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary.
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary.
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary.
A constant which can be used with the lifecycle_state property of a DedicatedVmHostSummary.
[Required] Gets the availability_domain of this DedicatedVmHostSummary.
[Required] Gets the compartment_id of this DedicatedVmHostSummary.
[Required] Gets the dedicated_vm_host_shape of this DedicatedVmHostSummary.
[Required] Gets the display_name of this DedicatedVmHostSummary.
Gets the fault_domain of this DedicatedVmHostSummary.
[Required] Gets the id of this DedicatedVmHostSummary.
Gets the is_burstable of this DedicatedVmHostSummary.
Gets the is_memory_encryption_enabled of this DedicatedVmHostSummary.
[Required] Gets the lifecycle_state of this DedicatedVmHostSummary.
Gets the remaining_local_volume_in_gbs of this DedicatedVmHostSummary.
Gets the remaining_memory_in_gbs of this DedicatedVmHostSummary.
[Required] Gets the remaining_ocpus of this DedicatedVmHostSummary.
[Required] Gets the time_created of this DedicatedVmHostSummary.
Gets the total_local_volume_in_gbs of this DedicatedVmHostSummary.
Gets the total_memory_in_gbs of this DedicatedVmHostSummary.
[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.
is_memory_encryption_enabled (bool) – The value to assign to the is_memory_encryption_enabled property of this DedicatedVmHostSummary.
is_burstable (bool) – The value to assign to the is_burstable 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.
total_local_volume_in_gbs (float) – The value to assign to the total_local_volume_in_gbs property of this DedicatedVmHostSummary.
remaining_local_volume_in_gbs (float) – The value to assign to the remaining_local_volume_in_gbs property of this DedicatedVmHostSummary.
- property 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
- property 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
- property 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
- property 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
- property 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
- property id¶
[Required] Gets the id of this DedicatedVmHostSummary. The OCID of the dedicated VM host.
- Returns
The id of this DedicatedVmHostSummary.
- Return type
str
- property is_burstable¶
Gets the is_burstable of this DedicatedVmHostSummary. Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If true, only Burstable VMs can be launched. If false, Burstable VMs cannot be launched.
- Returns
The is_burstable of this DedicatedVmHostSummary.
- Return type
bool
- property is_memory_encryption_enabled¶
Gets the is_memory_encryption_enabled of this DedicatedVmHostSummary. Specifies if the Dedicated Virtual Machine Host is restricted to running only Confidential VMs. If true, only Confidential VMs can be launched. If false, Confidential VMs cannot be launched.
- Returns
The is_memory_encryption_enabled of this DedicatedVmHostSummary.
- Return type
bool
- property 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
- property remaining_local_volume_in_gbs¶
Gets the remaining_local_volume_in_gbs of this DedicatedVmHostSummary. The current available local volume of the dedicated VM host, in GBs.
- Returns
The remaining_local_volume_in_gbs of this DedicatedVmHostSummary.
- Return type
float
- property 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
- property 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
- property 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
- property total_local_volume_in_gbs¶
Gets the total_local_volume_in_gbs of this DedicatedVmHostSummary. The current total local volume of the dedicated VM host, in GBs.
- Returns
The total_local_volume_in_gbs of this DedicatedVmHostSummary.
- Return type
float
- property 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
- property 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