ComputeHost¶
-
class
oci.core.models.ComputeHost(**kwargs)¶ Bases:
objectThe customer facing object includes host details.
Attributes
CONFIGURATION_STATE_APPLYINGA constant which can be used with the configuration_state property of a ComputeHost. CONFIGURATION_STATE_CHECKINGA constant which can be used with the configuration_state property of a ComputeHost. CONFIGURATION_STATE_CONFORMANTA constant which can be used with the configuration_state property of a ComputeHost. CONFIGURATION_STATE_NON_CONFORMANTA constant which can be used with the configuration_state property of a ComputeHost. CONFIGURATION_STATE_PRE_APPLYINGA constant which can be used with the configuration_state property of a ComputeHost. CONFIGURATION_STATE_UNKNOWNA constant which can be used with the configuration_state property of a ComputeHost. HEALTH_HEALTHYA constant which can be used with the health property of a ComputeHost. HEALTH_UNHEALTHYA constant which can be used with the health property of a ComputeHost. LIFECYCLE_STATE_AVAILABLEA constant which can be used with the lifecycle_state property of a ComputeHost. LIFECYCLE_STATE_OCCUPIEDA constant which can be used with the lifecycle_state property of a ComputeHost. LIFECYCLE_STATE_PROVISIONINGA constant which can be used with the lifecycle_state property of a ComputeHost. LIFECYCLE_STATE_REPAIRA constant which can be used with the lifecycle_state property of a ComputeHost. LIFECYCLE_STATE_UNAVAILABLEA constant which can be used with the lifecycle_state property of a ComputeHost. additional_dataGets the additional_data of this ComputeHost. availability_domain[Required] Gets the availability_domain of this ComputeHost. capacity_reservation_idGets the capacity_reservation_id of this ComputeHost. compartment_id[Required] Gets the compartment_id of this ComputeHost. compute_host_group_idGets the compute_host_group_id of this ComputeHost. configuration_dataGets the configuration_data of this ComputeHost. configuration_stateGets the configuration_state of this ComputeHost. defined_tagsGets the defined_tags of this ComputeHost. display_nameGets the display_name of this ComputeHost. fault_domain[Required] Gets the fault_domain of this ComputeHost. freeform_tagsGets the freeform_tags of this ComputeHost. gpu_memory_fabric_idGets the gpu_memory_fabric_id of this ComputeHost. health[Required] Gets the health of this ComputeHost. hpc_island_idGets the hpc_island_id of this ComputeHost. id[Required] Gets the id of this ComputeHost. impacted_component_detailsGets the impacted_component_details of this ComputeHost. instance_idGets the instance_id of this ComputeHost. lifecycle_detailsGets the lifecycle_details of this ComputeHost. lifecycle_state[Required] Gets the lifecycle_state of this ComputeHost. local_block_idGets the local_block_id of this ComputeHost. network_block_idGets the network_block_id of this ComputeHost. recycle_detailsGets the recycle_details of this ComputeHost. shape[Required] Gets the shape of this ComputeHost. time_configuration_checkGets the time_configuration_check of this ComputeHost. time_created[Required] Gets the time_created of this ComputeHost. time_updated[Required] Gets the time_updated of this ComputeHost. Methods
__init__(**kwargs)Initializes a new ComputeHost object with values from keyword arguments. -
CONFIGURATION_STATE_APPLYING= 'APPLYING'¶ A constant which can be used with the configuration_state property of a ComputeHost. This constant has a value of “APPLYING”
-
CONFIGURATION_STATE_CHECKING= 'CHECKING'¶ A constant which can be used with the configuration_state property of a ComputeHost. This constant has a value of “CHECKING”
-
CONFIGURATION_STATE_CONFORMANT= 'CONFORMANT'¶ A constant which can be used with the configuration_state property of a ComputeHost. This constant has a value of “CONFORMANT”
-
CONFIGURATION_STATE_NON_CONFORMANT= 'NON_CONFORMANT'¶ A constant which can be used with the configuration_state property of a ComputeHost. This constant has a value of “NON_CONFORMANT”
-
CONFIGURATION_STATE_PRE_APPLYING= 'PRE_APPLYING'¶ A constant which can be used with the configuration_state property of a ComputeHost. This constant has a value of “PRE_APPLYING”
-
CONFIGURATION_STATE_UNKNOWN= 'UNKNOWN'¶ A constant which can be used with the configuration_state property of a ComputeHost. This constant has a value of “UNKNOWN”
-
HEALTH_HEALTHY= 'HEALTHY'¶ A constant which can be used with the health property of a ComputeHost. This constant has a value of “HEALTHY”
-
HEALTH_UNHEALTHY= 'UNHEALTHY'¶ A constant which can be used with the health property of a ComputeHost. This constant has a value of “UNHEALTHY”
-
LIFECYCLE_STATE_AVAILABLE= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a ComputeHost. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_OCCUPIED= 'OCCUPIED'¶ A constant which can be used with the lifecycle_state property of a ComputeHost. This constant has a value of “OCCUPIED”
-
LIFECYCLE_STATE_PROVISIONING= 'PROVISIONING'¶ A constant which can be used with the lifecycle_state property of a ComputeHost. This constant has a value of “PROVISIONING”
-
LIFECYCLE_STATE_REPAIR= 'REPAIR'¶ A constant which can be used with the lifecycle_state property of a ComputeHost. This constant has a value of “REPAIR”
-
LIFECYCLE_STATE_UNAVAILABLE= 'UNAVAILABLE'¶ A constant which can be used with the lifecycle_state property of a ComputeHost. This constant has a value of “UNAVAILABLE”
-
__init__(**kwargs)¶ Initializes a new ComputeHost 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 ComputeHost.
- compartment_id (str) – The value to assign to the compartment_id property of this ComputeHost.
- id (str) – The value to assign to the id property of this ComputeHost.
- fault_domain (str) – The value to assign to the fault_domain property of this ComputeHost.
- hpc_island_id (str) – The value to assign to the hpc_island_id property of this ComputeHost.
- compute_host_group_id (str) – The value to assign to the compute_host_group_id property of this ComputeHost.
- configuration_state (str) – The value to assign to the configuration_state property of this ComputeHost. Allowed values for this property are: “CONFORMANT”, “NON_CONFORMANT”, “CHECKING”, “PRE_APPLYING”, “APPLYING”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_configuration_check (datetime) – The value to assign to the time_configuration_check property of this ComputeHost.
- configuration_data (oci.core.models.ComputeHostConfigurationData) – The value to assign to the configuration_data property of this ComputeHost.
- recycle_details (oci.core.models.RecycleDetails) – The value to assign to the recycle_details property of this ComputeHost.
- network_block_id (str) – The value to assign to the network_block_id property of this ComputeHost.
- local_block_id (str) – The value to assign to the local_block_id property of this ComputeHost.
- gpu_memory_fabric_id (str) – The value to assign to the gpu_memory_fabric_id property of this ComputeHost.
- instance_id (str) – The value to assign to the instance_id property of this ComputeHost.
- shape (str) – The value to assign to the shape property of this ComputeHost.
- health (str) – The value to assign to the health property of this ComputeHost. Allowed values for this property are: “HEALTHY”, “UNHEALTHY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- additional_data (dict(str, object)) – The value to assign to the additional_data property of this ComputeHost.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeHost. Allowed values for this property are: “AVAILABLE”, “OCCUPIED”, “PROVISIONING”, “REPAIR”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- lifecycle_details (dict(str, object)) – The value to assign to the lifecycle_details property of this ComputeHost.
- capacity_reservation_id (str) – The value to assign to the capacity_reservation_id property of this ComputeHost.
- impacted_component_details (dict(str, object)) – The value to assign to the impacted_component_details property of this ComputeHost.
- time_created (datetime) – The value to assign to the time_created property of this ComputeHost.
- time_updated (datetime) – The value to assign to the time_updated property of this ComputeHost.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ComputeHost.
- display_name (str) – The value to assign to the display_name property of this ComputeHost.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ComputeHost.
-
additional_data¶ Gets the additional_data of this ComputeHost. Additional data that can be exposed to the customer. Will include raw fault codes for strategic customers
Returns: The additional_data of this ComputeHost. Return type: dict(str, object)
-
availability_domain¶ [Required] Gets the availability_domain of this ComputeHost. The availability domain of the compute host.
Example: Uocm:US-CHICAGO-1-AD-2
Returns: The availability_domain of this ComputeHost. Return type: str
-
capacity_reservation_id¶ Gets the capacity_reservation_id of this ComputeHost. The OCID for the Capacity Reserver that is currently on host
Returns: The capacity_reservation_id of this ComputeHost. Return type: str
-
compartment_id¶ [Required] Gets the compartment_id of this ComputeHost. The OCID for the compartment. This should always be the root compartment.
Returns: The compartment_id of this ComputeHost. Return type: str
-
compute_host_group_id¶ Gets the compute_host_group_id of this ComputeHost. The OCID for the Customer-unique host group associated with the Compute Bare Metal Host.
Returns: The compute_host_group_id of this ComputeHost. Return type: str
-
configuration_data¶ Gets the configuration_data of this ComputeHost.
Returns: The configuration_data of this ComputeHost. Return type: oci.core.models.ComputeHostConfigurationData
-
configuration_state¶ Gets the configuration_state of this ComputeHost. Configuration state of the Compute Bare Metal Host.
Allowed values for this property are: “CONFORMANT”, “NON_CONFORMANT”, “CHECKING”, “PRE_APPLYING”, “APPLYING”, “UNKNOWN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The configuration_state of this ComputeHost. Return type: str
Gets the defined_tags of this ComputeHost. 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 ComputeHost. Return type: dict(str, dict(str, object))
-
display_name¶ Gets the display_name of this ComputeHost. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this ComputeHost. Return type: str
-
fault_domain¶ [Required] Gets the fault_domain of this ComputeHost. A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains.
This field is the Fault domain of the host
Returns: The fault_domain of this ComputeHost. Return type: str
Gets the freeform_tags of this ComputeHost. 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 ComputeHost. Return type: dict(str, str)
-
gpu_memory_fabric_id¶ Gets the gpu_memory_fabric_id of this ComputeHost. The OCID for Customer-unique GPU Memory Fabric
Returns: The gpu_memory_fabric_id of this ComputeHost. Return type: str
-
health¶ [Required] Gets the health of this ComputeHost. The heathy state of the host
Allowed values for this property are: “HEALTHY”, “UNHEALTHY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The health of this ComputeHost. Return type: str
-
hpc_island_id¶ Gets the hpc_island_id of this ComputeHost. The OCID for Customer-unique HPC Island
Returns: The hpc_island_id of this ComputeHost. Return type: str
-
id¶ [Required] Gets the id of this ComputeHost. The OCID for the Customer-unique host
Returns: The id of this ComputeHost. Return type: str
-
impacted_component_details¶ Gets the impacted_component_details of this ComputeHost. A list that contains impacted components related to an unhealthy host. An impacted component will be a free-form structure of key values pairs that will provide more or less details based on data tiering
Returns: The impacted_component_details of this ComputeHost. Return type: dict(str, object)
-
instance_id¶ Gets the instance_id of this ComputeHost. The public OCID for the Virtual Machine or Bare Metal instance
Returns: The instance_id of this ComputeHost. Return type: str
-
lifecycle_details¶ Gets the lifecycle_details of this ComputeHost. A free-form description detailing why the host is in its current state.
Returns: The lifecycle_details of this ComputeHost. Return type: dict(str, object)
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this ComputeHost. The lifecycle state of the host
Allowed values for this property are: “AVAILABLE”, “OCCUPIED”, “PROVISIONING”, “REPAIR”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this ComputeHost. Return type: str
-
local_block_id¶ Gets the local_block_id of this ComputeHost. The OCID for Customer-unique Local Block
Returns: The local_block_id of this ComputeHost. Return type: str
-
network_block_id¶ Gets the network_block_id of this ComputeHost. The OCID for Customer-unique Network Block
Returns: The network_block_id of this ComputeHost. Return type: str
-
recycle_details¶ Gets the recycle_details of this ComputeHost.
Returns: The recycle_details of this ComputeHost. Return type: oci.core.models.RecycleDetails
-
shape¶ [Required] Gets the shape of this ComputeHost. The shape of host
Returns: The shape of this ComputeHost. Return type: str
-
time_configuration_check¶ Gets the time_configuration_check of this ComputeHost. The date and time that the compute bare metal host configuration check was updated, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_configuration_check of this ComputeHost. Return type: datetime
-