FlannelOverlayClusterPodNetworkOptionDetails¶
-
class
oci.container_engine.models.
FlannelOverlayClusterPodNetworkOptionDetails
(**kwargs)¶ Bases:
oci.container_engine.models.cluster_pod_network_option_details.ClusterPodNetworkOptionDetails
Network options specific to using the flannel (FLANNEL_OVERLAY) CNI
Attributes
CNI_TYPE_FLANNEL_OVERLAY
str(object=’’) -> str CNI_TYPE_OCI_VCN_IP_NATIVE
str(object=’’) -> str cni_type
[Required] Gets the cni_type of this ClusterPodNetworkOptionDetails. Methods
__init__
(**kwargs)Initializes a new FlannelOverlayClusterPodNetworkOptionDetails 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'¶
-
CNI_TYPE_OCI_VCN_IP_NATIVE
= 'OCI_VCN_IP_NATIVE'¶
-
__init__
(**kwargs)¶ Initializes a new FlannelOverlayClusterPodNetworkOptionDetails object with values from keyword arguments. The default value of the
cni_type
attribute of this class isFLANNEL_OVERLAY
and it should not be changed. 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 FlannelOverlayClusterPodNetworkOptionDetails. Allowed values for this property are: “OCI_VCN_IP_NATIVE”, “FLANNEL_OVERLAY”
-
cni_type
¶ [Required] Gets the cni_type of this ClusterPodNetworkOptionDetails. The CNI used by the node pools of this cluster
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 ClusterPodNetworkOptionDetails. 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.
-