ManagedClusterAddonProfile Class

  • java.lang.Object
    • com.microsoft.azure.management.containerservice.ManagedClusterAddonProfile

public class ManagedClusterAddonProfile

A Kubernetes add-on profile for a managed cluster.

Method Summary

Modifier and Type Method and Description
Map<String, String> config()

Get key-value pairs for configuring an add-on.

boolean enabled()

Get whether the add-on is enabled or not.

ManagedClusterAddonProfileIdentity identity()

Get information of user assigned identity used by this add-on.

ManagedClusterAddonProfile withConfig(Map<String, String> config)

Set key-value pairs for configuring an add-on.

ManagedClusterAddonProfile withEnabled(boolean enabled)

Set whether the add-on is enabled or not.

Method Details

config

public Map config()

Get key-value pairs for configuring an add-on.

Returns:

the config value

enabled

public boolean enabled()

Get whether the add-on is enabled or not.

Returns:

the enabled value

identity

public ManagedClusterAddonProfileIdentity identity()

Get information of user assigned identity used by this add-on.

Returns:

the identity value

withConfig

public ManagedClusterAddonProfile withConfig(Map config)

Set key-value pairs for configuring an add-on.

Parameters:

config - the config value to set

Returns:

the ManagedClusterAddonProfile object itself.

withEnabled

public ManagedClusterAddonProfile withEnabled(boolean enabled)

Set whether the add-on is enabled or not.

Parameters:

enabled - the enabled value to set

Returns:

the ManagedClusterAddonProfile object itself.

Applies to