CreateVirtualNodePoolDetails

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

Bases: object

The properties that define a request to create a virtual node pool.

Methods

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

Attributes

cluster_id [Required] Gets the cluster_id of this CreateVirtualNodePoolDetails.
compartment_id [Required] Gets the compartment_id of this CreateVirtualNodePoolDetails.
defined_tags Gets the defined_tags of this CreateVirtualNodePoolDetails.
display_name [Required] Gets the display_name of this CreateVirtualNodePoolDetails.
freeform_tags Gets the freeform_tags of this CreateVirtualNodePoolDetails.
initial_virtual_node_labels Gets the initial_virtual_node_labels of this CreateVirtualNodePoolDetails.
nsg_ids Gets the nsg_ids of this CreateVirtualNodePoolDetails.
placement_configurations [Required] Gets the placement_configurations of this CreateVirtualNodePoolDetails.
pod_configuration Gets the pod_configuration of this CreateVirtualNodePoolDetails.
size Gets the size of this CreateVirtualNodePoolDetails.
taints Gets the taints of this CreateVirtualNodePoolDetails.
virtual_node_tags Gets the virtual_node_tags of this CreateVirtualNodePoolDetails.
__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateVirtualNodePoolDetails.
  • cluster_id (str) – The value to assign to the cluster_id property of this CreateVirtualNodePoolDetails.
  • display_name (str) – The value to assign to the display_name property of this CreateVirtualNodePoolDetails.
  • initial_virtual_node_labels (list[oci.container_engine.models.InitialVirtualNodeLabel]) – The value to assign to the initial_virtual_node_labels property of this CreateVirtualNodePoolDetails.
  • taints (list[oci.container_engine.models.Taint]) – The value to assign to the taints property of this CreateVirtualNodePoolDetails.
  • size (int) – The value to assign to the size property of this CreateVirtualNodePoolDetails.
  • placement_configurations (list[oci.container_engine.models.PlacementConfiguration]) – The value to assign to the placement_configurations property of this CreateVirtualNodePoolDetails.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this CreateVirtualNodePoolDetails.
  • pod_configuration (oci.container_engine.models.PodConfiguration) – The value to assign to the pod_configuration property of this CreateVirtualNodePoolDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateVirtualNodePoolDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateVirtualNodePoolDetails.
  • virtual_node_tags (oci.container_engine.models.VirtualNodeTags) – The value to assign to the virtual_node_tags property of this CreateVirtualNodePoolDetails.
cluster_id

[Required] Gets the cluster_id of this CreateVirtualNodePoolDetails. The cluster the virtual node pool is associated with. A virtual node pool can only be associated with one cluster.

Returns:The cluster_id of this CreateVirtualNodePoolDetails.
Return type:str
compartment_id

[Required] Gets the compartment_id of this CreateVirtualNodePoolDetails. Compartment of the virtual node pool.

Returns:The compartment_id of this CreateVirtualNodePoolDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateVirtualNodePoolDetails. 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 CreateVirtualNodePoolDetails.
Return type:dict(str, dict(str, object))
display_name

[Required] Gets the display_name of this CreateVirtualNodePoolDetails. Display name of the virtual node pool. This is a non-unique value.

Returns:The display_name of this CreateVirtualNodePoolDetails.
Return type:str
freeform_tags

Gets the freeform_tags of this CreateVirtualNodePoolDetails. 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 CreateVirtualNodePoolDetails.
Return type:dict(str, str)
initial_virtual_node_labels

Gets the initial_virtual_node_labels of this CreateVirtualNodePoolDetails. Initial labels that will be added to the Kubernetes Virtual Node object when it registers.

Returns:The initial_virtual_node_labels of this CreateVirtualNodePoolDetails.
Return type:list[oci.container_engine.models.InitialVirtualNodeLabel]
nsg_ids

Gets the nsg_ids of this CreateVirtualNodePoolDetails. List of network security group id’s applied to the Virtual Node VNIC.

Returns:The nsg_ids of this CreateVirtualNodePoolDetails.
Return type:list[str]
placement_configurations

[Required] Gets the placement_configurations of this CreateVirtualNodePoolDetails. The list of placement configurations which determines where Virtual Nodes will be provisioned across as it relates to the subnet and availability domains. The size attribute determines how many we evenly spread across these placement configurations

Returns:The placement_configurations of this CreateVirtualNodePoolDetails.
Return type:list[oci.container_engine.models.PlacementConfiguration]
pod_configuration

Gets the pod_configuration of this CreateVirtualNodePoolDetails. The pod configuration for pods run on virtual nodes of this virtual node pool.

Returns:The pod_configuration of this CreateVirtualNodePoolDetails.
Return type:oci.container_engine.models.PodConfiguration
size

Gets the size of this CreateVirtualNodePoolDetails. The number of Virtual Nodes that should be in the Virtual Node Pool. The placement configurations determine where these virtual nodes are placed.

Returns:The size of this CreateVirtualNodePoolDetails.
Return type:int
taints

Gets the taints of this CreateVirtualNodePoolDetails. A taint is a collection of <key, value, effect>. These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling.

Returns:The taints of this CreateVirtualNodePoolDetails.
Return type:list[oci.container_engine.models.Taint]
virtual_node_tags

Gets the virtual_node_tags of this CreateVirtualNodePoolDetails.

Returns:The virtual_node_tags of this CreateVirtualNodePoolDetails.
Return type:oci.container_engine.models.VirtualNodeTags