NodePoolOptions

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

Bases: object

Options for creating or updating node pools.

Methods

__init__(**kwargs) Initializes a new NodePoolOptions object with values from keyword arguments.

Attributes

images Gets the images of this NodePoolOptions.
kubernetes_versions Gets the kubernetes_versions of this NodePoolOptions.
shapes Gets the shapes of this NodePoolOptions.
sources Gets the sources of this NodePoolOptions.
__init__(**kwargs)

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

Parameters:
  • kubernetes_versions (list[str]) – The value to assign to the kubernetes_versions property of this NodePoolOptions.
  • shapes (list[str]) – The value to assign to the shapes property of this NodePoolOptions.
  • images (list[str]) – The value to assign to the images property of this NodePoolOptions.
  • sources (list[NodeSourceOption]) – The value to assign to the sources property of this NodePoolOptions.
images

Gets the images of this NodePoolOptions. Deprecated. See sources. When creating a node pool using the CreateNodePoolDetails object, only image names contained in this property can be passed to the nodeImageName property.

Returns:The images of this NodePoolOptions.
Return type:list[str]
kubernetes_versions

Gets the kubernetes_versions of this NodePoolOptions. Available Kubernetes versions.

Returns:The kubernetes_versions of this NodePoolOptions.
Return type:list[str]
shapes

Gets the shapes of this NodePoolOptions. Available shapes for nodes.

Returns:The shapes of this NodePoolOptions.
Return type:list[str]
sources

Gets the sources of this NodePoolOptions. Available source of the node.

Returns:The sources of this NodePoolOptions.
Return type:list[NodeSourceOption]