DedicatedVmHost¶
- class oci.core.models.DedicatedVmHost(**kwargs)¶
Bases:
objectA dedicated virtual machine host lets you host multiple VM 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 DedicatedVmHost.
A constant which can be used with the lifecycle_state property of a DedicatedVmHost.
A constant which can be used with the lifecycle_state property of a DedicatedVmHost.
A constant which can be used with the lifecycle_state property of a DedicatedVmHost.
A constant which can be used with the lifecycle_state property of a DedicatedVmHost.
A constant which can be used with the lifecycle_state property of a DedicatedVmHost.
[Required] Gets the availability_domain of this DedicatedVmHost.
Gets the capacity_bins of this DedicatedVmHost.
Gets the capacity_config of this DedicatedVmHost.
[Required] Gets the compartment_id of this DedicatedVmHost.
Gets the compute_bare_metal_host_id of this DedicatedVmHost.
[Required] Gets the dedicated_vm_host_shape of this DedicatedVmHost.
Gets the defined_tags of this DedicatedVmHost.
[Required] Gets the display_name of this DedicatedVmHost.
Gets the fault_domain of this DedicatedVmHost.
Gets the freeform_tags of this DedicatedVmHost.
[Required] Gets the id of this DedicatedVmHost.
Gets the is_burstable of this DedicatedVmHost.
Gets the is_memory_encryption_enabled of this DedicatedVmHost.
[Required] Gets the lifecycle_state of this DedicatedVmHost.
Gets the placement_constraint_details of this DedicatedVmHost.
Gets the remaining_local_volume_in_gbs of this DedicatedVmHost.
Gets the remaining_memory_in_gbs of this DedicatedVmHost.
[Required] Gets the remaining_ocpus of this DedicatedVmHost.
[Required] Gets the time_created of this DedicatedVmHost.
Gets the total_local_volume_in_gbs of this DedicatedVmHost.
Gets the total_memory_in_gbs of this DedicatedVmHost.
[Required] Gets the total_ocpus of this DedicatedVmHost.
Methods:
__init__(**kwargs)Initializes a new DedicatedVmHost object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a DedicatedVmHost. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a DedicatedVmHost. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a DedicatedVmHost. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a DedicatedVmHost. This constant has a value of “DELETING”
- LIFECYCLE_STATE_FAILED = 'FAILED'¶
A constant which can be used with the lifecycle_state property of a DedicatedVmHost. This constant has a value of “FAILED”
- LIFECYCLE_STATE_UPDATING = 'UPDATING'¶
A constant which can be used with the lifecycle_state property of a DedicatedVmHost. This constant has a value of “UPDATING”
- __init__(**kwargs)¶
Initializes a new DedicatedVmHost 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 DedicatedVmHost.
compartment_id (str) – The value to assign to the compartment_id property of this DedicatedVmHost.
dedicated_vm_host_shape (str) – The value to assign to the dedicated_vm_host_shape property of this DedicatedVmHost.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this DedicatedVmHost.
display_name (str) – The value to assign to the display_name property of this DedicatedVmHost.
fault_domain (str) – The value to assign to the fault_domain property of this DedicatedVmHost.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this DedicatedVmHost.
placement_constraint_details (oci.core.models.PlacementConstraintDetails) – The value to assign to the placement_constraint_details property of this DedicatedVmHost.
id (str) – The value to assign to the id property of this DedicatedVmHost.
capacity_config (str) – The value to assign to the capacity_config property of this DedicatedVmHost.
is_memory_encryption_enabled (bool) – The value to assign to the is_memory_encryption_enabled property of this DedicatedVmHost.
is_burstable (bool) – The value to assign to the is_burstable property of this DedicatedVmHost.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this DedicatedVmHost. 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 DedicatedVmHost.
total_ocpus (float) – The value to assign to the total_ocpus property of this DedicatedVmHost.
remaining_ocpus (float) – The value to assign to the remaining_ocpus property of this DedicatedVmHost.
total_memory_in_gbs (float) – The value to assign to the total_memory_in_gbs property of this DedicatedVmHost.
remaining_memory_in_gbs (float) – The value to assign to the remaining_memory_in_gbs property of this DedicatedVmHost.
total_local_volume_in_gbs (float) – The value to assign to the total_local_volume_in_gbs property of this DedicatedVmHost.
remaining_local_volume_in_gbs (float) – The value to assign to the remaining_local_volume_in_gbs property of this DedicatedVmHost.
capacity_bins (list[oci.core.models.CapacityBin]) – The value to assign to the capacity_bins property of this DedicatedVmHost.
compute_bare_metal_host_id (str) – The value to assign to the compute_bare_metal_host_id property of this DedicatedVmHost.
- property availability_domain¶
[Required] Gets the availability_domain of this DedicatedVmHost. The availability domain the dedicated virtual machine host is running in.
Example: Uocm:PHX-AD-1
- Returns
The availability_domain of this DedicatedVmHost.
- Return type
str
- property capacity_bins¶
Gets the capacity_bins of this DedicatedVmHost. A list of total and remaining CPU, memory, and local volume per capacity bucket.
- Returns
The capacity_bins of this DedicatedVmHost.
- Return type
- property capacity_config¶
Gets the capacity_config of this DedicatedVmHost. The capacity configuration selected to be configured for the Dedicated Virtual Machine host. Run
list_dedicated_vm_host_shapes()API to see details of this capacity configuration.- Returns
The capacity_config of this DedicatedVmHost.
- Return type
str
- property compartment_id¶
[Required] Gets the compartment_id of this DedicatedVmHost. The OCID of the compartment that contains the dedicated virtual machine host.
- Returns
The compartment_id of this DedicatedVmHost.
- Return type
str
- property compute_bare_metal_host_id¶
Gets the compute_bare_metal_host_id of this DedicatedVmHost. The compute bare metal host OCID of the dedicated virtual machine host.
- Returns
The compute_bare_metal_host_id of this DedicatedVmHost.
- Return type
str
- property dedicated_vm_host_shape¶
[Required] Gets the dedicated_vm_host_shape of this DedicatedVmHost. The dedicated virtual machine host shape. The shape determines the number of CPUs and other resources available for VMs.
- Returns
The dedicated_vm_host_shape of this DedicatedVmHost.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this DedicatedVmHost. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this DedicatedVmHost.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this DedicatedVmHost. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
- Returns
The display_name of this DedicatedVmHost.
- Return type
str
- property fault_domain¶
Gets the fault_domain of this DedicatedVmHost. The fault domain for the dedicated virtual machine 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 virtual machine host, delete it, and then create a new dedicated virtual machine 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 DedicatedVmHost.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this DedicatedVmHost. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this DedicatedVmHost.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this DedicatedVmHost. The OCID of the dedicated VM host.
- Returns
The id of this DedicatedVmHost.
- Return type
str
- property is_burstable¶
Gets the is_burstable of this DedicatedVmHost. 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 DedicatedVmHost.
- Return type
bool
- property is_memory_encryption_enabled¶
Gets the is_memory_encryption_enabled of this DedicatedVmHost. Specifies if the Dedicated Virtual Machine Host (DVMH) 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 DedicatedVmHost.
- Return type
bool
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this DedicatedVmHost. 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 DedicatedVmHost.
- Return type
str
- property placement_constraint_details¶
Gets the placement_constraint_details of this DedicatedVmHost.
- Returns
The placement_constraint_details of this DedicatedVmHost.
- Return type
- property remaining_local_volume_in_gbs¶
Gets the remaining_local_volume_in_gbs of this DedicatedVmHost. The remaining local volume of the dedicated VM host, in GBs.
- Returns
The remaining_local_volume_in_gbs of this DedicatedVmHost.
- Return type
float
- property remaining_memory_in_gbs¶
Gets the remaining_memory_in_gbs of this DedicatedVmHost. The remaining memory of the dedicated VM host, in GBs.
- Returns
The remaining_memory_in_gbs of this DedicatedVmHost.
- Return type
float
- property remaining_ocpus¶
[Required] Gets the remaining_ocpus of this DedicatedVmHost. The available OCPUs of the dedicated VM host.
- Returns
The remaining_ocpus of this DedicatedVmHost.
- Return type
float
- property time_created¶
[Required] Gets the time_created of this DedicatedVmHost. 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 DedicatedVmHost.
- Return type
datetime
- property total_local_volume_in_gbs¶
Gets the total_local_volume_in_gbs of this DedicatedVmHost. The total local volume of the dedicated VM host, in GBs.
- Returns
The total_local_volume_in_gbs of this DedicatedVmHost.
- Return type
float
- property total_memory_in_gbs¶
Gets the total_memory_in_gbs of this DedicatedVmHost. The total memory of the dedicated VM host, in GBs.
- Returns
The total_memory_in_gbs of this DedicatedVmHost.
- Return type
float
- property total_ocpus¶
[Required] Gets the total_ocpus of this DedicatedVmHost. The total OCPUs of the dedicated VM host.
- Returns
The total_ocpus of this DedicatedVmHost.
- Return type
float