CreateNodePoolNodeConfigDetails¶
-
class
oci.container_engine.models.
CreateNodePoolNodeConfigDetails
(**kwargs)¶ Bases:
object
The size and placement configuration of nodes in the node pool.
Methods
__init__
(**kwargs)Initializes a new CreateNodePoolNodeConfigDetails object with values from keyword arguments. Attributes
placement_configs
[Required] Gets the placement_configs of this CreateNodePoolNodeConfigDetails. size
[Required] Gets the size of this CreateNodePoolNodeConfigDetails. -
__init__
(**kwargs)¶ Initializes a new CreateNodePoolNodeConfigDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - size (int) – The value to assign to the size property of this CreateNodePoolNodeConfigDetails.
- placement_configs (list[oci.container_engine.models.NodePoolPlacementConfigDetails]) – The value to assign to the placement_configs property of this CreateNodePoolNodeConfigDetails.
-
placement_configs
¶ [Required] Gets the placement_configs of this CreateNodePoolNodeConfigDetails. The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node.
To use the node pool with a regional subnet, provide a placement configuration for each availability domain, and include the regional subnet in each placement configuration.
Returns: The placement_configs of this CreateNodePoolNodeConfigDetails. Return type: list[oci.container_engine.models.NodePoolPlacementConfigDetails]
-
size
¶ [Required] Gets the size of this CreateNodePoolNodeConfigDetails. The number of nodes that should be in the node pool.
Returns: The size of this CreateNodePoolNodeConfigDetails. Return type: int
-