NodePoolPodNetworkOptionDetails¶
-
class
oci.container_engine.models.
NodePoolPodNetworkOptionDetails
(**kwargs)¶ Bases:
object
The CNI type and relevant network details for the pods of a given node pool
Attributes
CNI_TYPE_FLANNEL_OVERLAY
A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails. CNI_TYPE_OCI_VCN_IP_NATIVE
A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails. cni_type
[Required] Gets the cni_type of this NodePoolPodNetworkOptionDetails. Methods
__init__
(**kwargs)Initializes a new NodePoolPodNetworkOptionDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
CNI_TYPE_FLANNEL_OVERLAY
= 'FLANNEL_OVERLAY'¶ A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails. This constant has a value of “FLANNEL_OVERLAY”
-
CNI_TYPE_OCI_VCN_IP_NATIVE
= 'OCI_VCN_IP_NATIVE'¶ A constant which can be used with the cni_type property of a NodePoolPodNetworkOptionDetails. This constant has a value of “OCI_VCN_IP_NATIVE”
-
__init__
(**kwargs)¶ Initializes a new NodePoolPodNetworkOptionDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: cni_type (str) – The value to assign to the cni_type property of this NodePoolPodNetworkOptionDetails. Allowed values for this property are: “OCI_VCN_IP_NATIVE”, “FLANNEL_OVERLAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
-
cni_type
¶ [Required] Gets the cni_type of this NodePoolPodNetworkOptionDetails. The CNI plugin used by this node pool
Allowed values for this property are: “OCI_VCN_IP_NATIVE”, “FLANNEL_OVERLAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The cni_type of this NodePoolPodNetworkOptionDetails. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-