NodePoolOptions¶
- class oci.container_engine.models.NodePoolOptions(**kwargs)¶
Bases:
objectOptions for creating or updating node pools.
Methods:
__init__(**kwargs)Initializes a new NodePoolOptions object with values from keyword arguments.
Attributes:
Gets the images of this NodePoolOptions.
Gets the kubernetes_versions of this NodePoolOptions.
Gets the shapes of this NodePoolOptions.
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[oci.container_engine.models.NodeSourceOption]) – The value to assign to the sources property of this NodePoolOptions.
- property 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]
- property kubernetes_versions¶
Gets the kubernetes_versions of this NodePoolOptions. Available Kubernetes versions.
- Returns
The kubernetes_versions of this NodePoolOptions.
- Return type
list[str]
- property shapes¶
Gets the shapes of this NodePoolOptions. Available shapes for nodes.
- Returns
The shapes of this NodePoolOptions.
- Return type
list[str]
- property sources¶
Gets the sources of this NodePoolOptions. Available source of the node.
- Returns
The sources of this NodePoolOptions.
- Return type