Node

class oci.container_engine.models.Node(**kwargs)

Bases: object

The properties that define a node.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a Node. This constant has a value of "ACTIVE"

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a Node. This constant has a value of "CREATING"

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a Node. This constant has a value of "DELETED"

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a Node. This constant has a value of "DELETING"

LIFECYCLE_STATE_FAILING = 'FAILING'

A constant which can be used with the lifecycle_state property of a Node. This constant has a value of "FAILING"

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a Node. This constant has a value of "INACTIVE"

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a Node. This constant has a value of "UPDATING"

__init__(**kwargs)

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

Parameters:
  • id (str) -- The value to assign to the id property of this Node.
  • name (str) -- The value to assign to the name property of this Node.
  • availability_domain (str) -- The value to assign to the availability_domain property of this Node.
  • subnet_id (str) -- The value to assign to the subnet_id property of this Node.
  • node_pool_id (str) -- The value to assign to the node_pool_id property of this Node.
  • public_ip (str) -- The value to assign to the public_ip property of this Node.
  • node_error (NodeError) -- The value to assign to the node_error property of this Node.
  • lifecycle_state (str) -- The value to assign to the lifecycle_state property of this Node. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILING", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
  • lifecycle_details (str) -- The value to assign to the lifecycle_details property of this Node.
availability_domain

Gets the availability_domain of this Node. The name of the availability domain in which this node is placed.

Returns:The availability_domain of this Node.
Return type:str
id

Gets the id of this Node. The OCID of the compute instance backing this node.

Returns:The id of this Node.
Return type:str
lifecycle_details

Gets the lifecycle_details of this Node. Details about the state of the node.

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

Gets the lifecycle_state of this Node. The state of the node.

Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILING", "INACTIVE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.

Returns:The lifecycle_state of this Node.
Return type:str
name

Gets the name of this Node. The name of the node.

Returns:The name of this Node.
Return type:str
node_error

Gets the node_error of this Node. An error that may be associated with the node.

Returns:The node_error of this Node.
Return type:NodeError
node_pool_id

Gets the node_pool_id of this Node. The OCID of the node pool to which this node belongs.

Returns:The node_pool_id of this Node.
Return type:str
public_ip

Gets the public_ip of this Node. The public IP address of this node.

Returns:The public_ip of this Node.
Return type:str
subnet_id

Gets the subnet_id of this Node. The OCID of the subnet in which this node is placed.

Returns:The subnet_id of this Node.
Return type:str