Class ManagedClusterSecurityProfileWorkloadIdentity

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfileWorkloadIdentity

public final class ManagedClusterSecurityProfileWorkloadIdentity extends Object
Workload identity settings for the security profile.
  • Constructor Details

    • ManagedClusterSecurityProfileWorkloadIdentity

      public ManagedClusterSecurityProfileWorkloadIdentity()
      Creates an instance of ManagedClusterSecurityProfileWorkloadIdentity class.
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Whether to enable workload identity.
      Returns:
      the enabled value.
    • withEnabled

      Set the enabled property: Whether to enable workload identity.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the ManagedClusterSecurityProfileWorkloadIdentity object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.