public class ManagedClusterAPIServerAccessProfile extends Object
| Constructor and Description |
|---|
ManagedClusterAPIServerAccessProfile() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
authorizedIPRanges()
Get authorized IP Ranges to kubernetes API server.
|
Boolean |
enablePrivateCluster()
Get whether to create the cluster as a private cluster or not.
|
ManagedClusterAPIServerAccessProfile |
withAuthorizedIPRanges(List<String> authorizedIPRanges)
Set authorized IP Ranges to kubernetes API server.
|
ManagedClusterAPIServerAccessProfile |
withEnablePrivateCluster(Boolean enablePrivateCluster)
Set whether to create the cluster as a private cluster or not.
|
public ManagedClusterAPIServerAccessProfile()
public List<String> authorizedIPRanges()
public ManagedClusterAPIServerAccessProfile withAuthorizedIPRanges(List<String> authorizedIPRanges)
authorizedIPRanges - the authorizedIPRanges value to setpublic Boolean enablePrivateCluster()
public ManagedClusterAPIServerAccessProfile withEnablePrivateCluster(Boolean enablePrivateCluster)
enablePrivateCluster - the enablePrivateCluster value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/