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
Modifier and TypeMethodDescriptionwithNetworkPolicy(NetworkPolicy networkPolicy) Specifies the network policy to be used for building the Kubernetes network.
-
Method Details
-
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
-