public final class ManagedClusterApiServerAccessProfile extends Object
| Constructor and Description |
|---|
ManagedClusterApiServerAccessProfile() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
authorizedIpRanges()
Get the authorizedIpRanges property: Authorized IP Ranges to kubernetes API server.
|
Boolean |
enablePrivateCluster()
Get the enablePrivateCluster property: Whether to create the cluster as a private cluster or not.
|
void |
validate()
Validates the instance.
|
ManagedClusterApiServerAccessProfile |
withAuthorizedIpRanges(List<String> authorizedIpRanges)
Set the authorizedIpRanges property: Authorized IP Ranges to kubernetes API server.
|
ManagedClusterApiServerAccessProfile |
withEnablePrivateCluster(Boolean enablePrivateCluster)
Set the enablePrivateCluster property: 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 set.public Boolean enablePrivateCluster()
public ManagedClusterApiServerAccessProfile withEnablePrivateCluster(Boolean enablePrivateCluster)
enablePrivateCluster - the enablePrivateCluster value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.