ComputeNetworkBlock

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

Bases: object

A compute network block.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a ComputeNetworkBlock.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a ComputeNetworkBlock.
compute_capacity_topology_id [Required] Gets the compute_capacity_topology_id of this ComputeNetworkBlock.
compute_hpc_island_id [Required] Gets the compute_hpc_island_id of this ComputeNetworkBlock.
id [Required] Gets the id of this ComputeNetworkBlock.
lifecycle_state [Required] Gets the lifecycle_state of this ComputeNetworkBlock.
time_created [Required] Gets the time_created of this ComputeNetworkBlock.
time_updated [Required] Gets the time_updated of this ComputeNetworkBlock.
total_compute_bare_metal_host_count [Required] Gets the total_compute_bare_metal_host_count of this ComputeNetworkBlock.

Methods

__init__(**kwargs) Initializes a new ComputeNetworkBlock object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

__init__(**kwargs)

Initializes a new ComputeNetworkBlock 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 ComputeNetworkBlock.
  • compute_hpc_island_id (str) – The value to assign to the compute_hpc_island_id property of this ComputeNetworkBlock.
  • id (str) – The value to assign to the id property of this ComputeNetworkBlock.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this ComputeNetworkBlock. 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 ComputeNetworkBlock.
  • time_updated (datetime) – The value to assign to the time_updated property of this ComputeNetworkBlock.
  • total_compute_bare_metal_host_count (int) – The value to assign to the total_compute_bare_metal_host_count property of this ComputeNetworkBlock.
compute_capacity_topology_id

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

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

[Required] Gets the compute_hpc_island_id of this ComputeNetworkBlock. The OCID of the compute HPC island.

Returns:The compute_hpc_island_id of this ComputeNetworkBlock.
Return type:str
id

[Required] Gets the id of this ComputeNetworkBlock. The OCID of the compute network block.

Returns:The id of this ComputeNetworkBlock.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this ComputeNetworkBlock. The current state of the compute network block.

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 ComputeNetworkBlock.
Return type:str
time_created

[Required] Gets the time_created of this ComputeNetworkBlock. The date and time that the compute network block was created, in the format defined by RFC3339.

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

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

[Required] Gets the time_updated of this ComputeNetworkBlock. The date and time that the compute network block was updated, in the format defined by RFC3339.

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

Returns:The time_updated of this ComputeNetworkBlock.
Return type:datetime
total_compute_bare_metal_host_count

[Required] Gets the total_compute_bare_metal_host_count of this ComputeNetworkBlock. The total number of compute bare metal hosts located in this compute network block.

Returns:The total_compute_bare_metal_host_count of this ComputeNetworkBlock.
Return type:int