Class ManagedClusterAddonProfile
- java.lang.Object
-
- com.azure.resourcemanager.containerservice.models.ManagedClusterAddonProfile
-
public final class ManagedClusterAddonProfile extends Object
A Kubernetes add-on profile for a managed cluster.
-
-
Constructor Summary
Constructors Constructor Description ManagedClusterAddonProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>config()Get the config property: Key-value pairs for configuring an add-on.booleanenabled()Get the enabled property: Whether the add-on is enabled or not.ManagedClusterAddonProfileIdentityidentity()Get the identity property: Information of user assigned identity used by this add-on.voidvalidate()Validates the instance.ManagedClusterAddonProfilewithConfig(Map<String,String> config)Set the config property: Key-value pairs for configuring an add-on.ManagedClusterAddonProfilewithEnabled(boolean enabled)Set the enabled property: Whether the add-on is enabled or not.
-
-
-
Method Detail
-
enabled
public boolean enabled()
Get the enabled property: Whether the add-on is enabled or not.- Returns:
- the enabled value.
-
withEnabled
public ManagedClusterAddonProfile withEnabled(boolean enabled)
Set the enabled property: Whether the add-on is enabled or not.- Parameters:
enabled- the enabled value to set.- Returns:
- the ManagedClusterAddonProfile object itself.
-
config
public Map<String,String> config()
Get the config property: Key-value pairs for configuring an add-on.- Returns:
- the config value.
-
withConfig
public ManagedClusterAddonProfile withConfig(Map<String,String> config)
Set the config property: Key-value pairs for configuring an add-on.- Parameters:
config- the config value to set.- Returns:
- the ManagedClusterAddonProfile object itself.
-
identity
public ManagedClusterAddonProfileIdentity identity()
Get the identity property: Information of user assigned identity used by this add-on.- Returns:
- the identity value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-