Interface KubernetesCluster.DefinitionStages.NetworkProfileDefinitionStages.WithNetworkPolicy<ParentT>
-
- Type Parameters:
ParentT- the stage of the network profile definition to return to after attaching this definition
- All Known Subinterfaces:
KubernetesCluster.DefinitionStages.NetworkProfileDefinition<ParentT>,KubernetesCluster.DefinitionStages.NetworkProfileDefinitionStages.Blank<ParentT>,KubernetesCluster.DefinitionStages.NetworkProfileDefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- KubernetesCluster.DefinitionStages.NetworkProfileDefinitionStages
public static interface KubernetesCluster.DefinitionStages.NetworkProfileDefinitionStages.WithNetworkPolicy<ParentT>The stage of a network profile definition allowing to specify the network policy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KubernetesCluster.DefinitionStages.NetworkProfileDefinitionStages.WithAttach<ParentT>withNetworkPolicy(NetworkPolicy networkPolicy)Specifies the network policy to be used for building the Kubernetes network.
-
-
-
Method Detail
-
withNetworkPolicy
KubernetesCluster.DefinitionStages.NetworkProfileDefinitionStages.WithAttach<ParentT> withNetworkPolicy(NetworkPolicy networkPolicy)
Specifies the network policy to be used for building the Kubernetes network.- Parameters:
networkPolicy- the network policy to be used for building the Kubernetes network- Returns:
- the next stage of the definition
-
-