Compartir a través de


IWithNetworkPolicy<ParentT>.WithNetworkPolicy(NetworkPolicy) Método

Definición

Especifica la directiva de red que se usará para compilar la red de Kubernetes.

public Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithAttach<ParentT> WithNetworkPolicy (Microsoft.Azure.Management.ContainerService.Fluent.Models.NetworkPolicy networkPolicy);
abstract member WithNetworkPolicy : Microsoft.Azure.Management.ContainerService.Fluent.Models.NetworkPolicy -> Microsoft.Azure.Management.ContainerService.Fluent.KubernetesCluster.Definition.IWithAttach<'ParentT>
Public Function WithNetworkPolicy (networkPolicy As NetworkPolicy) As IWithAttach(Of ParentT)

Parámetros

networkPolicy
NetworkPolicy

Directiva de red que se va a usar para compilar la red de Kubernetes.

Devoluciones

Se aplica a