Class ManagedClusterIngressProfileWebAppRouting

java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterIngressProfileWebAppRouting
All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedClusterIngressProfileWebAppRouting>

public final class ManagedClusterIngressProfileWebAppRouting extends Object implements com.azure.json.JsonSerializable<ManagedClusterIngressProfileWebAppRouting>
Application Routing add-on settings for the ingress profile.
  • Constructor Details

    • ManagedClusterIngressProfileWebAppRouting

      public ManagedClusterIngressProfileWebAppRouting()
      Creates an instance of ManagedClusterIngressProfileWebAppRouting class.
  • Method Details

    • enabled

      public Boolean enabled()
      Get the enabled property: Whether to enable the Application Routing add-on.
      Returns:
      the enabled value.
    • withEnabled

      public ManagedClusterIngressProfileWebAppRouting withEnabled(Boolean enabled)
      Set the enabled property: Whether to enable the Application Routing add-on.
      Parameters:
      enabled - the enabled value to set.
      Returns:
      the ManagedClusterIngressProfileWebAppRouting object itself.
    • dnsZoneResourceIds

      public List<String> dnsZoneResourceIds()
      Get the dnsZoneResourceIds property: Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
      Returns:
      the dnsZoneResourceIds value.
    • withDnsZoneResourceIds

      public ManagedClusterIngressProfileWebAppRouting withDnsZoneResourceIds(List<String> dnsZoneResourceIds)
      Set the dnsZoneResourceIds property: Resource IDs of the DNS zones to be associated with the Application Routing add-on. Used only when Application Routing add-on is enabled. Public and private DNS zones can be in different resource groups, but all public DNS zones must be in the same resource group and all private DNS zones must be in the same resource group.
      Parameters:
      dnsZoneResourceIds - the dnsZoneResourceIds value to set.
      Returns:
      the ManagedClusterIngressProfileWebAppRouting object itself.
    • identity

      public UserAssignedIdentity identity()
      Get the identity property: Managed identity of the Application Routing add-on. This is the identity that should be granted permissions, for example, to manage the associated Azure DNS resource and get certificates from Azure Key Vault. See [this overview of the add-on](https://learn.microsoft.com/en-us/azure/aks/web-app-routing?tabs=with-osm) for more instructions.
      Returns:
      the identity value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ManagedClusterIngressProfileWebAppRouting>
      Throws:
      IOException
    • fromJson

      public static ManagedClusterIngressProfileWebAppRouting fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ManagedClusterIngressProfileWebAppRouting from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ManagedClusterIngressProfileWebAppRouting if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the ManagedClusterIngressProfileWebAppRouting.