Class ManagedClusterSecurityProfile

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

public final class ManagedClusterSecurityProfile extends Object
Security profile for the container service cluster.
  • Constructor Details

    • ManagedClusterSecurityProfile

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

    • defender

      Get the defender property: Microsoft Defender settings for the security profile.
      Returns:
      the defender value.
    • withDefender

      Set the defender property: Microsoft Defender settings for the security profile.
      Parameters:
      defender - the defender value to set.
      Returns:
      the ManagedClusterSecurityProfile object itself.
    • azureKeyVaultKms

      public AzureKeyVaultKms azureKeyVaultKms()
      Get the azureKeyVaultKms property: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.
      Returns:
      the azureKeyVaultKms value.
    • withAzureKeyVaultKms

      public ManagedClusterSecurityProfile withAzureKeyVaultKms(AzureKeyVaultKms azureKeyVaultKms)
      Set the azureKeyVaultKms property: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.
      Parameters:
      azureKeyVaultKms - the azureKeyVaultKms value to set.
      Returns:
      the ManagedClusterSecurityProfile object itself.
    • workloadIdentity

      Get the workloadIdentity property: Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.
      Returns:
      the workloadIdentity value.
    • withWorkloadIdentity

      public ManagedClusterSecurityProfile withWorkloadIdentity(ManagedClusterSecurityProfileWorkloadIdentity workloadIdentity)
      Set the workloadIdentity property: Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.
      Parameters:
      workloadIdentity - the workloadIdentity value to set.
      Returns:
      the ManagedClusterSecurityProfile object itself.
    • imageCleaner

      Get the imageCleaner property: Image Cleaner settings for the security profile.
      Returns:
      the imageCleaner value.
    • withImageCleaner

      Set the imageCleaner property: Image Cleaner settings for the security profile.
      Parameters:
      imageCleaner - the imageCleaner value to set.
      Returns:
      the ManagedClusterSecurityProfile object itself.
    • validate

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