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
defined_tags
Gets the defined_tags of this CreateNodePoolNodeConfigDetails. freeform_tags
Gets the freeform_tags of this CreateNodePoolNodeConfigDetails. is_pv_encryption_in_transit_enabled
Gets the is_pv_encryption_in_transit_enabled of this CreateNodePoolNodeConfigDetails. kms_key_id
Gets the kms_key_id of this CreateNodePoolNodeConfigDetails. node_pool_pod_network_option_details
Gets the node_pool_pod_network_option_details of this CreateNodePoolNodeConfigDetails. nsg_ids
Gets the nsg_ids of this CreateNodePoolNodeConfigDetails. 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.
- nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateNodePoolNodeConfigDetails.
- kms_key_id (str) – The value to assign to the kms_key_id property of this CreateNodePoolNodeConfigDetails.
- is_pv_encryption_in_transit_enabled (bool) – The value to assign to the is_pv_encryption_in_transit_enabled property of this CreateNodePoolNodeConfigDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateNodePoolNodeConfigDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateNodePoolNodeConfigDetails.
- placement_configs (list[oci.container_engine.models.NodePoolPlacementConfigDetails]) – The value to assign to the placement_configs property of this CreateNodePoolNodeConfigDetails.
- node_pool_pod_network_option_details (oci.container_engine.models.NodePoolPodNetworkOptionDetails) – The value to assign to the node_pool_pod_network_option_details property of this CreateNodePoolNodeConfigDetails.
Gets the defined_tags of this CreateNodePoolNodeConfigDetails. 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 CreateNodePoolNodeConfigDetails. Return type: dict(str, dict(str, object))
Gets the freeform_tags of this CreateNodePoolNodeConfigDetails. 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 CreateNodePoolNodeConfigDetails. Return type: dict(str, str)
-
is_pv_encryption_in_transit_enabled
¶ Gets the is_pv_encryption_in_transit_enabled of this CreateNodePoolNodeConfigDetails. Whether to enable in-transit encryption for the data volume’s paravirtualized attachment. This field applies to both block volumes and boot volumes. The default value is false.
Returns: The is_pv_encryption_in_transit_enabled of this CreateNodePoolNodeConfigDetails. Return type: bool
-
kms_key_id
¶ Gets the kms_key_id of this CreateNodePoolNodeConfigDetails. The OCID of the Key Management Service key assigned to the boot volume.
Returns: The kms_key_id of this CreateNodePoolNodeConfigDetails. Return type: str
-
node_pool_pod_network_option_details
¶ Gets the node_pool_pod_network_option_details of this CreateNodePoolNodeConfigDetails. The CNI related configuration of pods in the node pool.
Returns: The node_pool_pod_network_option_details of this CreateNodePoolNodeConfigDetails. Return type: oci.container_engine.models.NodePoolPodNetworkOptionDetails
-
nsg_ids
¶ Gets the nsg_ids of this CreateNodePoolNodeConfigDetails. The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see
NetworkSecurityGroup
.Returns: The nsg_ids of this CreateNodePoolNodeConfigDetails. Return type: list[str]
-
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
-