Class ManagedClusterAPIServerAccessProfile
java.lang.Object
com.microsoft.azure.management.containerservice.ManagedClusterAPIServerAccessProfile
Access profile for managed cluster API server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet authorized IP Ranges to kubernetes API server.Get whether to create the cluster as a private cluster or not.withAuthorizedIPRanges
(List<String> authorizedIPRanges) Set authorized IP Ranges to kubernetes API server.withEnablePrivateCluster
(Boolean enablePrivateCluster) Set whether to create the cluster as a private cluster or not.
-
Constructor Details
-
ManagedClusterAPIServerAccessProfile
public ManagedClusterAPIServerAccessProfile()
-
-
Method Details
-
authorizedIPRanges
Get authorized IP Ranges to kubernetes API server.- Returns:
- the authorizedIPRanges value
-
withAuthorizedIPRanges
Set authorized IP Ranges to kubernetes API server.- Parameters:
authorizedIPRanges
- the authorizedIPRanges value to set- Returns:
- the ManagedClusterAPIServerAccessProfile object itself.
-
enablePrivateCluster
Get whether to create the cluster as a private cluster or not.- Returns:
- the enablePrivateCluster value
-
withEnablePrivateCluster
Set whether to create the cluster as a private cluster or not.- Parameters:
enablePrivateCluster
- the enablePrivateCluster value to set- Returns:
- the ManagedClusterAPIServerAccessProfile object itself.
-