NodePoolSummary

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

Bases: object

The properties that define a node pool summary.

Attributes:

LIFECYCLE_STATE_ACTIVE

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

LIFECYCLE_STATE_CREATING

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

LIFECYCLE_STATE_DELETED

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

LIFECYCLE_STATE_DELETING

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

LIFECYCLE_STATE_FAILED

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

LIFECYCLE_STATE_INACTIVE

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

LIFECYCLE_STATE_NEEDS_ATTENTION

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

LIFECYCLE_STATE_UPDATING

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

NETWORK_LAUNCH_TYPE_E1000

A constant which can be used with the network_launch_type property of a NodePoolSummary.

NETWORK_LAUNCH_TYPE_PARAVIRTUALIZED

A constant which can be used with the network_launch_type property of a NodePoolSummary.

NETWORK_LAUNCH_TYPE_VFIO

A constant which can be used with the network_launch_type property of a NodePoolSummary.

cluster_id

Gets the cluster_id of this NodePoolSummary.

compartment_id

Gets the compartment_id of this NodePoolSummary.

defined_tags

Gets the defined_tags of this NodePoolSummary.

freeform_tags

Gets the freeform_tags of this NodePoolSummary.

id

Gets the id of this NodePoolSummary.

initial_node_labels

Gets the initial_node_labels of this NodePoolSummary.

kubernetes_version

Gets the kubernetes_version of this NodePoolSummary.

lifecycle_details

Gets the lifecycle_details of this NodePoolSummary.

lifecycle_state

Gets the lifecycle_state of this NodePoolSummary.

name

Gets the name of this NodePoolSummary.

network_launch_type

Gets the network_launch_type of this NodePoolSummary.

node_config_details

Gets the node_config_details of this NodePoolSummary.

node_eviction_node_pool_settings

Gets the node_eviction_node_pool_settings of this NodePoolSummary.

node_image_id

Gets the node_image_id of this NodePoolSummary.

node_image_name

Gets the node_image_name of this NodePoolSummary.

node_pool_cycling_details

Gets the node_pool_cycling_details of this NodePoolSummary.

node_shape

Gets the node_shape of this NodePoolSummary.

node_shape_config

Gets the node_shape_config of this NodePoolSummary.

node_source

Gets the node_source of this NodePoolSummary.

node_source_details

Gets the node_source_details of this NodePoolSummary.

primary_vnic

Gets the primary_vnic of this NodePoolSummary.

quantity_per_subnet

Gets the quantity_per_subnet of this NodePoolSummary.

secondary_vnics

Gets the secondary_vnics of this NodePoolSummary.

ssh_public_key

Gets the ssh_public_key of this NodePoolSummary.

subnet_ids

Gets the subnet_ids of this NodePoolSummary.

system_tags

Gets the system_tags of this NodePoolSummary.

Methods:

__init__(**kwargs)

Initializes a new NodePoolSummary object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

NETWORK_LAUNCH_TYPE_E1000 = 'E1000'

A constant which can be used with the network_launch_type property of a NodePoolSummary. This constant has a value of “E1000”

NETWORK_LAUNCH_TYPE_PARAVIRTUALIZED = 'PARAVIRTUALIZED'

A constant which can be used with the network_launch_type property of a NodePoolSummary. This constant has a value of “PARAVIRTUALIZED”

NETWORK_LAUNCH_TYPE_VFIO = 'VFIO'

A constant which can be used with the network_launch_type property of a NodePoolSummary. This constant has a value of “VFIO”

__init__(**kwargs)

Initializes a new NodePoolSummary 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 NodePoolSummary.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NodePoolSummary. Allowed values for this property are: “DELETED”, “CREATING”, “ACTIVE”, “UPDATING”, “DELETING”, “FAILED”, “INACTIVE”, “NEEDS_ATTENTION”, ‘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 NodePoolSummary.

  • compartment_id (str) – The value to assign to the compartment_id property of this NodePoolSummary.

  • cluster_id (str) – The value to assign to the cluster_id property of this NodePoolSummary.

  • name (str) – The value to assign to the name property of this NodePoolSummary.

  • kubernetes_version (str) – The value to assign to the kubernetes_version property of this NodePoolSummary.

  • node_image_id (str) – The value to assign to the node_image_id property of this NodePoolSummary.

  • node_image_name (str) – The value to assign to the node_image_name property of this NodePoolSummary.

  • node_shape_config (oci.container_engine.models.NodeShapeConfig) – The value to assign to the node_shape_config property of this NodePoolSummary.

  • node_source (oci.container_engine.models.NodeSourceOption) – The value to assign to the node_source property of this NodePoolSummary.

  • node_source_details (oci.container_engine.models.NodeSourceDetails) – The value to assign to the node_source_details property of this NodePoolSummary.

  • node_shape (str) – The value to assign to the node_shape property of this NodePoolSummary.

  • initial_node_labels (list[oci.container_engine.models.KeyValue]) – The value to assign to the initial_node_labels property of this NodePoolSummary.

  • ssh_public_key (str) – The value to assign to the ssh_public_key property of this NodePoolSummary.

  • quantity_per_subnet (int) – The value to assign to the quantity_per_subnet property of this NodePoolSummary.

  • subnet_ids (list[str]) – The value to assign to the subnet_ids property of this NodePoolSummary.

  • node_config_details (oci.container_engine.models.NodePoolNodeConfigDetails) – The value to assign to the node_config_details property of this NodePoolSummary.

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

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

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

  • node_eviction_node_pool_settings (oci.container_engine.models.NodeEvictionNodePoolSettings) – The value to assign to the node_eviction_node_pool_settings property of this NodePoolSummary.

  • node_pool_cycling_details (oci.container_engine.models.NodePoolCyclingDetails) – The value to assign to the node_pool_cycling_details property of this NodePoolSummary.

  • secondary_vnics (list[oci.container_engine.models.NodePoolSecondaryVnicDetails]) – The value to assign to the secondary_vnics property of this NodePoolSummary.

  • network_launch_type (str) – The value to assign to the network_launch_type property of this NodePoolSummary. Allowed values for this property are: “VFIO”, “E1000”, “PARAVIRTUALIZED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • primary_vnic (oci.container_engine.models.NodePoolPrimaryVnicDetails) – The value to assign to the primary_vnic property of this NodePoolSummary.

property cluster_id

Gets the cluster_id of this NodePoolSummary. The OCID of the cluster to which this node pool is attached.

Returns

The cluster_id of this NodePoolSummary.

Return type

str

property compartment_id

Gets the compartment_id of this NodePoolSummary. The OCID of the compartment in which the node pool exists.

Returns

The compartment_id of this NodePoolSummary.

Return type

str

property defined_tags

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

Return type

dict(str, dict(str, object))

property freeform_tags

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

Return type

dict(str, str)

property id

Gets the id of this NodePoolSummary. The OCID of the node pool.

Returns

The id of this NodePoolSummary.

Return type

str

property initial_node_labels

Gets the initial_node_labels of this NodePoolSummary. A list of key/value pairs to add to nodes after they join the Kubernetes cluster.

Returns

The initial_node_labels of this NodePoolSummary.

Return type

list[oci.container_engine.models.KeyValue]

property kubernetes_version

Gets the kubernetes_version of this NodePoolSummary. The version of Kubernetes running on the nodes in the node pool.

Returns

The kubernetes_version of this NodePoolSummary.

Return type

str

property lifecycle_details

Gets the lifecycle_details of this NodePoolSummary. Details about the state of the nodepool.

Returns

The lifecycle_details of this NodePoolSummary.

Return type

str

property lifecycle_state

Gets the lifecycle_state of this NodePoolSummary. The state of the nodepool. For more information, see Monitoring Clusters

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

Returns

The lifecycle_state of this NodePoolSummary.

Return type

str

property name

Gets the name of this NodePoolSummary. The name of the node pool.

Returns

The name of this NodePoolSummary.

Return type

str

property network_launch_type

Gets the network_launch_type of this NodePoolSummary. Emulation type for the physical network interface card (NIC) for nodes

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

Returns

The network_launch_type of this NodePoolSummary.

Return type

str

property node_config_details

Gets the node_config_details of this NodePoolSummary. The configuration of nodes in the node pool.

Returns

The node_config_details of this NodePoolSummary.

Return type

oci.container_engine.models.NodePoolNodeConfigDetails

property node_eviction_node_pool_settings

Gets the node_eviction_node_pool_settings of this NodePoolSummary.

Returns

The node_eviction_node_pool_settings of this NodePoolSummary.

Return type

oci.container_engine.models.NodeEvictionNodePoolSettings

property node_image_id

Gets the node_image_id of this NodePoolSummary. Deprecated. see nodeSource. The OCID of the image running on the nodes in the node pool.

Returns

The node_image_id of this NodePoolSummary.

Return type

str

property node_image_name

Gets the node_image_name of this NodePoolSummary. Deprecated. see nodeSource. The name of the image running on the nodes in the node pool.

Returns

The node_image_name of this NodePoolSummary.

Return type

str

property node_pool_cycling_details

Gets the node_pool_cycling_details of this NodePoolSummary.

Returns

The node_pool_cycling_details of this NodePoolSummary.

Return type

oci.container_engine.models.NodePoolCyclingDetails

property node_shape

Gets the node_shape of this NodePoolSummary. The name of the node shape of the nodes in the node pool.

Returns

The node_shape of this NodePoolSummary.

Return type

str

property node_shape_config

Gets the node_shape_config of this NodePoolSummary. The shape configuration of the nodes.

Returns

The node_shape_config of this NodePoolSummary.

Return type

oci.container_engine.models.NodeShapeConfig

property node_source

Gets the node_source of this NodePoolSummary. Deprecated. see nodeSourceDetails. Source running on the nodes in the node pool.

Returns

The node_source of this NodePoolSummary.

Return type

oci.container_engine.models.NodeSourceOption

property node_source_details

Gets the node_source_details of this NodePoolSummary. Source running on the nodes in the node pool.

Returns

The node_source_details of this NodePoolSummary.

Return type

oci.container_engine.models.NodeSourceDetails

property primary_vnic

Gets the primary_vnic of this NodePoolSummary.

Returns

The primary_vnic of this NodePoolSummary.

Return type

oci.container_engine.models.NodePoolPrimaryVnicDetails

property quantity_per_subnet

Gets the quantity_per_subnet of this NodePoolSummary. The number of nodes in each subnet.

Returns

The quantity_per_subnet of this NodePoolSummary.

Return type

int

property secondary_vnics

Gets the secondary_vnics of this NodePoolSummary. A list of secondary vnics to attach to nodes

Returns

The secondary_vnics of this NodePoolSummary.

Return type

list[oci.container_engine.models.NodePoolSecondaryVnicDetails]

property ssh_public_key

Gets the ssh_public_key of this NodePoolSummary. The SSH public key on each node in the node pool on launch.

Returns

The ssh_public_key of this NodePoolSummary.

Return type

str

property subnet_ids

Gets the subnet_ids of this NodePoolSummary. The OCIDs of the subnets in which to place nodes for this node pool.

Returns

The subnet_ids of this NodePoolSummary.

Return type

list[str]

property system_tags

Gets the system_tags of this NodePoolSummary. 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 NodePoolSummary.

Return type

dict(str, dict(str, object))