ComputeBareMetalHost

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

Bases: object

A compute bare metal host.

Attributes

LIFECYCLE_DETAILS_AVAILABLE A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost.
LIFECYCLE_DETAILS_DEGRADED A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost.
LIFECYCLE_DETAILS_UNAVAILABLE A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost.
LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ComputeBareMetalHost.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a ComputeBareMetalHost.
compute_capacity_topology_id [Required] Gets the compute_capacity_topology_id of this ComputeBareMetalHost.
compute_hpc_island_id Gets the compute_hpc_island_id of this ComputeBareMetalHost.
compute_local_block_id Gets the compute_local_block_id of this ComputeBareMetalHost.
compute_network_block_id Gets the compute_network_block_id of this ComputeBareMetalHost.
id [Required] Gets the id of this ComputeBareMetalHost.
instance_id Gets the instance_id of this ComputeBareMetalHost.
instance_shape [Required] Gets the instance_shape of this ComputeBareMetalHost.
lifecycle_details Gets the lifecycle_details of this ComputeBareMetalHost.
lifecycle_state [Required] Gets the lifecycle_state of this ComputeBareMetalHost.
time_created [Required] Gets the time_created of this ComputeBareMetalHost.
time_updated [Required] Gets the time_updated of this ComputeBareMetalHost.

Methods

__init__(**kwargs) Initializes a new ComputeBareMetalHost object with values from keyword arguments.
LIFECYCLE_DETAILS_AVAILABLE = 'AVAILABLE'

A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost. This constant has a value of “AVAILABLE”

LIFECYCLE_DETAILS_DEGRADED = 'DEGRADED'

A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost. This constant has a value of “DEGRADED”

LIFECYCLE_DETAILS_UNAVAILABLE = 'UNAVAILABLE'

A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost. This constant has a value of “UNAVAILABLE”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a ComputeBareMetalHost. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a ComputeBareMetalHost. This constant has a value of “INACTIVE”

__init__(**kwargs)

Initializes a new ComputeBareMetalHost object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • compute_capacity_topology_id (str) – The value to assign to the compute_capacity_topology_id property of this ComputeBareMetalHost.
  • compute_hpc_island_id (str) – The value to assign to the compute_hpc_island_id property of this ComputeBareMetalHost.
  • compute_local_block_id (str) – The value to assign to the compute_local_block_id property of this ComputeBareMetalHost.
  • compute_network_block_id (str) – The value to assign to the compute_network_block_id property of this ComputeBareMetalHost.
  • id (str) – The value to assign to the id property of this ComputeBareMetalHost.
  • instance_id (str) – The value to assign to the instance_id property of this ComputeBareMetalHost.
  • instance_shape (str) – The value to assign to the instance_shape property of this ComputeBareMetalHost.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this ComputeBareMetalHost. Allowed values for this property are: “AVAILABLE”, “DEGRADED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeBareMetalHost. Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘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 ComputeBareMetalHost.
  • time_updated (datetime) – The value to assign to the time_updated property of this ComputeBareMetalHost.
compute_capacity_topology_id

[Required] Gets the compute_capacity_topology_id of this ComputeBareMetalHost. The OCID of the compute capacity topology.

Returns:The compute_capacity_topology_id of this ComputeBareMetalHost.
Return type:str
compute_hpc_island_id

Gets the compute_hpc_island_id of this ComputeBareMetalHost. The OCID of the compute HPC island.

Returns:The compute_hpc_island_id of this ComputeBareMetalHost.
Return type:str
compute_local_block_id

Gets the compute_local_block_id of this ComputeBareMetalHost. The OCID of the compute local block.

Returns:The compute_local_block_id of this ComputeBareMetalHost.
Return type:str
compute_network_block_id

Gets the compute_network_block_id of this ComputeBareMetalHost. The OCID of the compute network block.

Returns:The compute_network_block_id of this ComputeBareMetalHost.
Return type:str
id

[Required] Gets the id of this ComputeBareMetalHost. The OCID of the compute bare metal host.

Returns:The id of this ComputeBareMetalHost.
Return type:str
instance_id

Gets the instance_id of this ComputeBareMetalHost. The OCID of the compute instance that runs on the compute bare metal host.

Returns:The instance_id of this ComputeBareMetalHost.
Return type:str
instance_shape

[Required] Gets the instance_shape of this ComputeBareMetalHost. The shape of the compute instance that runs on the compute bare metal host.

Returns:The instance_shape of this ComputeBareMetalHost.
Return type:str
lifecycle_details

Gets the lifecycle_details of this ComputeBareMetalHost. The lifecycle state details of the compute bare metal host.

Allowed values for this property are: “AVAILABLE”, “DEGRADED”, “UNAVAILABLE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_details of this ComputeBareMetalHost.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ComputeBareMetalHost. The current state of the compute bare metal host.

Allowed values for this property are: “ACTIVE”, “INACTIVE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The lifecycle_state of this ComputeBareMetalHost.
Return type:str
time_created

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

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

Returns:The time_created of this ComputeBareMetalHost.
Return type:datetime
time_updated

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

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

Returns:The time_updated of this ComputeBareMetalHost.
Return type:datetime