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 Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterIngressProfileWebAppRouting class. -
Method Summary
Modifier and TypeMethodDescriptionGet the dnsZoneResourceIds property: Resource IDs of the DNS zones to be associated with the Application Routing add-on.enabled()Get the enabled property: Whether to enable the Application Routing add-on.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedClusterIngressProfileWebAppRouting from the JsonReader.identity()Get the identity property: Managed identity of the Application Routing add-on.nginx()Get the nginx property: Configuration for the default NginxIngressController.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withDnsZoneResourceIds(List<String> dnsZoneResourceIds) Set the dnsZoneResourceIds property: Resource IDs of the DNS zones to be associated with the Application Routing add-on.withEnabled(Boolean enabled) Set the enabled property: Whether to enable the Application Routing add-on.Set the nginx property: Configuration for the default NginxIngressController.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedClusterIngressProfileWebAppRouting
public ManagedClusterIngressProfileWebAppRouting()Creates an instance of ManagedClusterIngressProfileWebAppRouting class.
-
-
Method Details
-
enabled
Get the enabled property: Whether to enable the Application Routing add-on.- Returns:
- the enabled value.
-
withEnabled
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
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.
-
nginx
Get the nginx property: Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.- Returns:
- the nginx value.
-
withNginx
Set the nginx property: Configuration for the default NginxIngressController. See more at https://learn.microsoft.com/en-us/azure/aks/app-routing-nginx-configuration#the-default-nginx-ingress-controller.- Parameters:
nginx- the nginx value to set.- Returns:
- the ManagedClusterIngressProfileWebAppRouting object itself.
-
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
- Specified by:
toJsonin interfacecom.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.
-