ArmContainerServiceModelFactory.ManagedClusterPodIdentityProfile Method

Definition

The pod identity profile of the Managed Cluster. See use AAD pod identity for more details on pod identity integration.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile ManagedClusterPodIdentityProfile(bool? isEnabled = default, bool? isKubenetNetworkPluginAllowed = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentity> userAssignedIdentities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityException> userAssignedIdentityExceptions = default);
static member ManagedClusterPodIdentityProfile : Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentity> * seq<Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityException> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityProfile
Public Shared Function ManagedClusterPodIdentityProfile (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional isKubenetNetworkPluginAllowed As Nullable(Of Boolean) = Nothing, Optional userAssignedIdentities As IEnumerable(Of ManagedClusterPodIdentity) = Nothing, Optional userAssignedIdentityExceptions As IEnumerable(Of ManagedClusterPodIdentityException) = Nothing) As ManagedClusterPodIdentityProfile

Parameters

isEnabled
Nullable<Boolean>

Whether the pod identity addon is enabled.

isKubenetNetworkPluginAllowed
Nullable<Boolean>

Whether pod identity is allowed to run on clusters with Kubenet networking. Running in Kubenet is disabled by default due to the security related nature of AAD Pod Identity and the risks of IP spoofing. See using Kubenet network plugin with AAD Pod Identity for more information.

userAssignedIdentities
IEnumerable<ManagedClusterPodIdentity>

The pod identities to use in the cluster.

userAssignedIdentityExceptions
IEnumerable<ManagedClusterPodIdentityException>

The pod identity exceptions to allow.

Returns

A new ManagedClusterPodIdentityProfile instance for mocking.

Applies to