Node

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

Bases: object

The properties that define a node.

Attributes:

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILING

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

LIFECYCLE_STATE_INACTIVE

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

LIFECYCLE_STATE_UPDATING

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

availability_domain

Gets the availability_domain of this Node.

defined_tags

Gets the defined_tags of this Node.

fault_domain

Gets the fault_domain of this Node.

freeform_tags

Gets the freeform_tags of this Node.

id

Gets the id of this Node.

kubernetes_version

Gets the kubernetes_version of this Node.

lifecycle_details

Gets the lifecycle_details of this Node.

lifecycle_state

Gets the lifecycle_state of this Node.

name

Gets the name of this Node.

node_error

Gets the node_error of this Node.

node_pool_id

Gets the node_pool_id of this Node.

private_ip

Gets the private_ip of this Node.

public_ip

Gets the public_ip of this Node.

subnet_id

Gets the subnet_id of this Node.

system_tags

Gets the system_tags of this Node.

Methods:

__init__(**kwargs)

Initializes a new Node object with values from keyword arguments.

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.

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

  • fault_domain (str) – The value to assign to the fault_domain property of this Node.

  • private_ip (str) – The value to assign to the private_ip property of this Node.

  • public_ip (str) – The value to assign to the public_ip property of this Node.

  • node_error (oci.container_engine.models.NodeError) – The value to assign to the node_error property of this Node.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this Node.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this Node.

  • system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags 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.

property 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

property defined_tags

Gets the defined_tags of this Node. 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 Node.

Return type

dict(str, dict(str, object))

property fault_domain

Gets the fault_domain of this Node. The fault domain of this node.

Returns

The fault_domain of this Node.

Return type

str

property freeform_tags

Gets the freeform_tags of this Node. 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 Node.

Return type

dict(str, str)

property 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

property kubernetes_version

Gets the kubernetes_version of this Node. The version of Kubernetes this node is running.

Returns

The kubernetes_version of this Node.

Return type

str

property 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

property lifecycle_state

Gets the lifecycle_state of this Node. The state of the node. For more information, see Monitoring Clusters

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

property name

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

Returns

The name of this Node.

Return type

str

property 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

oci.container_engine.models.NodeError

property 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

property private_ip

Gets the private_ip of this Node. The private IP address of this node.

Returns

The private_ip of this Node.

Return type

str

property 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

property 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

property system_tags

Gets the system_tags of this Node. Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}}

Returns

The system_tags of this Node.

Return type

dict(str, dict(str, object))