ManagedClusterIngressProfileWebAppRouting Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.ManagedClusterIngressProfileWebAppRouting

Implements

public final class ManagedClusterIngressProfileWebAppRouting
implements JsonSerializable<ManagedClusterIngressProfileWebAppRouting>

Application Routing add-on settings for the ingress profile.

Constructor Summary

Constructor Description
ManagedClusterIngressProfileWebAppRouting()

Creates an instance of ManagedClusterIngressProfileWebAppRouting class.

Method Summary

Modifier and Type Method and Description
List<String> dnsZoneResourceIds()

Get the dnsZoneResourceIds property: Resource IDs of the DNS zones to be associated with the Application Routing add-on.

Boolean enabled()

Get the enabled property: Whether to enable the Application Routing add-on.

static ManagedClusterIngressProfileWebAppRouting fromJson(JsonReader jsonReader)

Reads an instance of ManagedClusterIngressProfileWebAppRouting from the JsonReader.

UserAssignedIdentity identity()

Get the identity property: Managed identity of the Application Routing add-on.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ManagedClusterIngressProfileWebAppRouting withDnsZoneResourceIds(List<String> dnsZoneResourceIds)

Set the dnsZoneResourceIds property: Resource IDs of the DNS zones to be associated with the Application Routing add-on.

ManagedClusterIngressProfileWebAppRouting withEnabled(Boolean enabled)

Set the enabled property: Whether to enable the Application Routing add-on.

Methods inherited from java.lang.Object

Constructor Details

ManagedClusterIngressProfileWebAppRouting

public ManagedClusterIngressProfileWebAppRouting()

Creates an instance of ManagedClusterIngressProfileWebAppRouting class.

Method Details

dnsZoneResourceIds

public List 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.

enabled

public Boolean enabled()

Get the enabled property: Whether to enable the Application Routing add-on.

Returns:

the enabled value.

fromJson

public static ManagedClusterIngressProfileWebAppRouting fromJson(JsonReader jsonReader)

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withDnsZoneResourceIds

public ManagedClusterIngressProfileWebAppRouting withDnsZoneResourceIds(List 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.

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.

Applies to