ComputeBareMetalHost¶
- class oci.core.models.ComputeBareMetalHost(**kwargs)¶
Bases:
objectA compute bare metal host.
Attributes:
A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost.
A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost.
A constant which can be used with the lifecycle_details property of a ComputeBareMetalHost.
A constant which can be used with the lifecycle_state property of a ComputeBareMetalHost.
A constant which can be used with the lifecycle_state property of a ComputeBareMetalHost.
[Required] Gets the compute_capacity_topology_id of this ComputeBareMetalHost.
Gets the compute_hpc_island_id of this ComputeBareMetalHost.
Gets the compute_local_block_id of this ComputeBareMetalHost.
Gets the compute_network_block_id of this ComputeBareMetalHost.
[Required] Gets the id of this ComputeBareMetalHost.
Gets the instance_id of this ComputeBareMetalHost.
[Required] Gets the instance_shape of this ComputeBareMetalHost.
Gets the lifecycle_details of this ComputeBareMetalHost.
[Required] Gets the lifecycle_state of this ComputeBareMetalHost.
[Required] Gets the time_created of this ComputeBareMetalHost.
[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.
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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
- property 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