ManagedClusterPodIdentityProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterPodIdentityProfile
- com.
Implements
public final class ManagedClusterPodIdentityProfile
implements JsonSerializable<ManagedClusterPodIdentityProfile>
The pod identity profile of the Managed Cluster. See [use AAD pod identity](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity) for more details on pod identity integration.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterPodIdentityProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowNetworkPluginKubenet()
Get the allow |
Boolean |
enabled()
Get the enabled property: Whether the pod identity addon is enabled. |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
List<Managed |
userAssignedIdentities()
Get the user |
List<Managed |
userAssignedIdentityExceptions()
Get the user |
void |
validate()
Validates the instance. |
Managed |
withAllowNetworkPluginKubenet(Boolean allowNetworkPluginKubenet)
Set the allow |
Managed |
withEnabled(Boolean enabled)
Set the enabled property: Whether the pod identity addon is enabled. |
Managed |
withUserAssignedIdentities(List<ManagedClusterPodIdentity> userAssignedIdentities)
Set the user |
Managed |
withUserAssignedIdentityExceptions(List<ManagedClusterPodIdentityException> userAssignedIdentityExceptions)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterPodIdentityProfile
public ManagedClusterPodIdentityProfile()
Creates an instance of ManagedClusterPodIdentityProfile class.
Method Details
allowNetworkPluginKubenet
public Boolean allowNetworkPluginKubenet()
Get the allowNetworkPluginKubenet property: 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](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity\#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information.
Returns:
enabled
public Boolean enabled()
Get the enabled property: Whether the pod identity addon is enabled.
Returns:
fromJson
public static ManagedClusterPodIdentityProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterPodIdentityProfile from the JsonReader.
Parameters:
Returns:
Throws:
toJson
userAssignedIdentities
public List
Get the userAssignedIdentities property: The pod identities to use in the cluster.
Returns:
userAssignedIdentityExceptions
public List
Get the userAssignedIdentityExceptions property: The pod identity exceptions to allow.
Returns:
validate
public void validate()
Validates the instance.
withAllowNetworkPluginKubenet
public ManagedClusterPodIdentityProfile withAllowNetworkPluginKubenet(Boolean allowNetworkPluginKubenet)
Set the allowNetworkPluginKubenet property: 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](https://docs.microsoft.com/azure/aks/use-azure-ad-pod-identity\#using-kubenet-network-plugin-with-azure-active-directory-pod-managed-identities) for more information.
Parameters:
Returns:
withEnabled
public ManagedClusterPodIdentityProfile withEnabled(Boolean enabled)
Set the enabled property: Whether the pod identity addon is enabled.
Parameters:
Returns:
withUserAssignedIdentities
public ManagedClusterPodIdentityProfile withUserAssignedIdentities(List
Set the userAssignedIdentities property: The pod identities to use in the cluster.
Parameters:
Returns:
withUserAssignedIdentityExceptions
public ManagedClusterPodIdentityProfile withUserAssignedIdentityExceptions(List
Set the userAssignedIdentityExceptions property: The pod identity exceptions to allow.
Parameters:
Returns:
Applies to
Azure SDK for Java