ComputeHost

class oci.core.models.ComputeHost(**kwargs)

Bases: object

The customer facing object includes host details.

Attributes:

CONFIGURATION_STATE_APPLYING

A constant which can be used with the configuration_state property of a ComputeHost.

CONFIGURATION_STATE_CHECKING

A constant which can be used with the configuration_state property of a ComputeHost.

CONFIGURATION_STATE_CONFORMANT

A constant which can be used with the configuration_state property of a ComputeHost.

CONFIGURATION_STATE_NON_CONFORMANT

A constant which can be used with the configuration_state property of a ComputeHost.

CONFIGURATION_STATE_PRE_APPLYING

A constant which can be used with the configuration_state property of a ComputeHost.

CONFIGURATION_STATE_UNKNOWN

A constant which can be used with the configuration_state property of a ComputeHost.

HEALTH_HEALTHY

A constant which can be used with the health property of a ComputeHost.

HEALTH_UNHEALTHY

A constant which can be used with the health property of a ComputeHost.

LIFECYCLE_STATE_AVAILABLE

A constant which can be used with the lifecycle_state property of a ComputeHost.

LIFECYCLE_STATE_OCCUPIED

A constant which can be used with the lifecycle_state property of a ComputeHost.

LIFECYCLE_STATE_PROVISIONING

A constant which can be used with the lifecycle_state property of a ComputeHost.

LIFECYCLE_STATE_REPAIR

A constant which can be used with the lifecycle_state property of a ComputeHost.

LIFECYCLE_STATE_UNAVAILABLE

A constant which can be used with the lifecycle_state property of a ComputeHost.

additional_data

Gets the additional_data of this ComputeHost.

availability_domain

[Required] Gets the availability_domain of this ComputeHost.

capacity_reservation_id

Gets the capacity_reservation_id of this ComputeHost.

compartment_id

[Required] Gets the compartment_id of this ComputeHost.

compute_host_group_id

Gets the compute_host_group_id of this ComputeHost.

configuration_data

Gets the configuration_data of this ComputeHost.

configuration_state

Gets the configuration_state of this ComputeHost.

defined_tags

Gets the defined_tags of this ComputeHost.

display_name

Gets the display_name of this ComputeHost.

fault_domain

[Required] Gets the fault_domain of this ComputeHost.

firmware_bundle_id

Gets the firmware_bundle_id of this ComputeHost.

freeform_tags

Gets the freeform_tags of this ComputeHost.

gpu_memory_fabric_id

Gets the gpu_memory_fabric_id of this ComputeHost.

health

[Required] Gets the health of this ComputeHost.

host_correlation_id

Gets the host_correlation_id of this ComputeHost.

hpc_island_id

Gets the hpc_island_id of this ComputeHost.

id

[Required] Gets the id of this ComputeHost.

impacted_component_details

Gets the impacted_component_details of this ComputeHost.

instance_id

Gets the instance_id of this ComputeHost.

lifecycle_details

Gets the lifecycle_details of this ComputeHost.

lifecycle_state

[Required] Gets the lifecycle_state of this ComputeHost.

local_block_id

Gets the local_block_id of this ComputeHost.

network_block_id

Gets the network_block_id of this ComputeHost.

platform

Gets the platform of this ComputeHost.

recycle_details

Gets the recycle_details of this ComputeHost.

shape

[Required] Gets the shape of this ComputeHost.

time_configuration_check

Gets 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.

  • host_correlation_id (str) – The value to assign to the host_correlation_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.

  • firmware_bundle_id (str) – The value to assign to the firmware_bundle_id property of this ComputeHost.

  • platform (str) – The value to assign to the platform 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.

property 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)

property 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

property 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

property 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

property 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

property configuration_data

Gets the configuration_data of this ComputeHost.

Returns

The configuration_data of this ComputeHost.

Return type

oci.core.models.ComputeHostConfigurationData

property 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

property defined_tags

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))

property 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

property 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

property firmware_bundle_id

Gets the firmware_bundle_id of this ComputeHost. The OCID for the Customer-unique firmware bundle associated with the Host.

Returns

The firmware_bundle_id of this ComputeHost.

Return type

str

property freeform_tags

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)

property 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

property 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

property host_correlation_id

Gets the host_correlation_id of this ComputeHost. The ID that remains consistent when a host moves between capacity pools within the same tenancy.

Returns

The host_correlation_id of this ComputeHost.

Return type

str

property 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

property id

[Required] Gets the id of this ComputeHost. The OCID for the Customer-unique host

Returns

The id of this ComputeHost.

Return type

str

property 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)

property 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

property 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)

property 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

property 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

property 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

property platform

Gets the platform of this ComputeHost. The platform of the host

Returns

The platform of this ComputeHost.

Return type

str

property recycle_details

Gets the recycle_details of this ComputeHost.

Returns

The recycle_details of this ComputeHost.

Return type

oci.core.models.RecycleDetails

property shape

[Required] Gets the shape of this ComputeHost. The shape of host

Returns

The shape of this ComputeHost.

Return type

str

property 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

property time_created

[Required] Gets the time_created of this ComputeHost. The date and time that the compute host record was created, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

.ietf.org/html/rfc3339

Returns

The time_created of this ComputeHost.

Return type

datetime

property time_updated

[Required] Gets the time_updated of this ComputeHost. The date and time that the compute host record was updated, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns

The time_updated of this ComputeHost.

Return type

datetime