Class ManagedClusterAPIServerAccessProfile

java.lang.Object
com.microsoft.azure.management.containerservice.ManagedClusterAPIServerAccessProfile

public class ManagedClusterAPIServerAccessProfile extends Object
Access profile for managed cluster API server.
  • Constructor Details

    • ManagedClusterAPIServerAccessProfile

      public ManagedClusterAPIServerAccessProfile()
  • Method Details

    • authorizedIPRanges

      public List<String> authorizedIPRanges()
      Get authorized IP Ranges to kubernetes API server.
      Returns:
      the authorizedIPRanges value
    • withAuthorizedIPRanges

      public ManagedClusterAPIServerAccessProfile withAuthorizedIPRanges(List<String> authorizedIPRanges)
      Set authorized IP Ranges to kubernetes API server.
      Parameters:
      authorizedIPRanges - the authorizedIPRanges value to set
      Returns:
      the ManagedClusterAPIServerAccessProfile object itself.
    • enablePrivateCluster

      public Boolean enablePrivateCluster()
      Get whether to create the cluster as a private cluster or not.
      Returns:
      the enablePrivateCluster value
    • withEnablePrivateCluster

      public ManagedClusterAPIServerAccessProfile withEnablePrivateCluster(Boolean enablePrivateCluster)
      Set whether to create the cluster as a private cluster or not.
      Parameters:
      enablePrivateCluster - the enablePrivateCluster value to set
      Returns:
      the ManagedClusterAPIServerAccessProfile object itself.