public final class ManagedClusterAddonProfile extends Object
| Constructor and Description |
|---|
ManagedClusterAddonProfile() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
config()
Get the config property: Key-value pairs for configuring an add-on.
|
boolean |
enabled()
Get the enabled property: Whether the add-on is enabled or not.
|
UserAssignedIdentity |
identity()
Get the identity property: Information of user assigned identity used by this add-on.
|
void |
validate()
Validates the instance.
|
ManagedClusterAddonProfile |
withConfig(Map<String,String> config)
Set the config property: Key-value pairs for configuring an add-on.
|
ManagedClusterAddonProfile |
withEnabled(boolean enabled)
Set the enabled property: Whether the add-on is enabled or not.
|
public boolean enabled()
public ManagedClusterAddonProfile withEnabled(boolean enabled)
enabled - the enabled value to set.public Map<String,String> config()
public ManagedClusterAddonProfile withConfig(Map<String,String> config)
config - the config value to set.public UserAssignedIdentity identity()
public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.