Compartilhar via


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

Definição

Especifica a política de rede a ser usada para criar a rede do 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

A política de rede a ser usada para criar a rede do Kubernetes.

Retornos

Aplica-se a