ApplicationGateway Interface

Implements

public interface ApplicationGateway
extends GroupableResource<NetworkManager,ApplicationGatewayInner>, Refreshable<ApplicationGateway>, Updatable<Update>, UpdatableWithTags<ApplicationGateway>, HasSubnet, HasPrivateIpAddress

Entry point for application gateway management API in Azure.

Method Summary

Modifier and Type Method and Description
abstract Map<String,ApplicationGatewayAuthenticationCertificate> authenticationCertificates()

Gets authentication certificates.

abstract ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration()

Gets the autoscaleConfiguration value.

abstract Set<AvailabilityZoneId> availabilityZones()

The availability zones assigned to the application gateway.

abstract Map<String,ApplicationGatewayBackendHttpConfiguration> backendHttpConfigurations()

Gets backend HTTP configurations of this application gateway.

abstract Map<String,ApplicationGatewayBackend> backends()

Gets backend address pools of this application gateway.

abstract Map<String,ApplicationGatewayBackendHealth> checkBackendHealth()

Checks the backend health.

abstract Mono<Map<String,ApplicationGatewayBackendHealth>> checkBackendHealthAsync()

Checks the backend health asynchronously.

abstract ApplicationGatewayIpConfiguration defaultIPConfiguration()

Gets the existing IP configurations.

abstract ApplicationGatewayFrontend defaultPrivateFrontend()

Gets the frontend IP configuration associated with a private IP address.

abstract ApplicationGatewayFrontend defaultPublicFrontend()

Gets the frontend IP configuration associated with a public IP address.

abstract Collection<ApplicationGatewaySslProtocol> disabledSslProtocols()

Deprecated

Application Gateway V1 is officially deprecated on April 28, 2023. This attribute has no effect for V2 gateways, instead, use sslPolicy().

Get the disabled SSL protocols.

abstract String frontendPortNameFromNumber(int portNumber)

Returns the name of the existing port, if any, that is associated with the specified port number.

abstract Map<String,Integer> frontendPorts()

Gets named frontend ports of this application gateway.

abstract Map<String,ApplicationGatewayFrontend> frontends()

Gets frontend IP configurations.

abstract WebApplicationFirewallPolicy getWebApplicationFirewallPolicy()

Get the Web Application Firewall Policy (if any) associated with the application gateway by calling REST API.

abstract Mono<WebApplicationFirewallPolicy> getWebApplicationFirewallPolicyAsync()

Get the Web Application Firewall Policy (if any) associated with the application gateway by calling REST API in async manner.

abstract String getWebApplicationFirewallPolicyId()

Gets resource ID of the Web Application Firewall Policy (if any) associated with the application gateway.

abstract int instanceCount()

Gets number of instances.

abstract Map<String,ApplicationGatewayIpConfiguration> ipConfigurations()

Gets IP configurations of this application gateway.

abstract boolean isHttp2Enabled()

Checks whether HTTP2 is enabled for the application gateway.

abstract boolean isPrivate()

Checks whether the application gateway has at least one internally load balanced frontend accessible within the virtual network.

abstract boolean isPublic()

Checks whether the application gateway has at least one Internet-facing frontend.

abstract ApplicationGatewayListener listenerByPortNumber(int portNumber)

Finds a front end listener associated with the specified front end port number, if any.

abstract Map<String,ApplicationGatewayListener> listeners()

Gets frontend listeners.

abstract ApplicationGatewayOperationalState operationalState()

Gets the operational state of the application gateway.

abstract Map<String,ApplicationGatewayFrontend> privateFrontends()

Gets frontend IP configurations with a private IP address within a subnet.

abstract Map<String,ApplicationGatewayProbe> probes()

Gets probes of this application gateway.

abstract Map<String,ApplicationGatewayFrontend> publicFrontends()

Gets frontend IP configurations with a public IP address.

abstract Map<String,ApplicationGatewayRedirectConfiguration> redirectConfigurations()

Gets redirect configurations.

abstract Map<String,ApplicationGatewayRequestRoutingRule> requestRoutingRules()

Gets request routing rules.

abstract ApplicationGatewaySkuName size()

Gets the size of the application gateway.

abstract ApplicationGatewaySku sku()

Gets the SKU of this application gateway.

abstract Map<String,ApplicationGatewaySslCertificate> sslCertificates()

Gets SSL certificates.

abstract ApplicationGatewaySslPolicy sslPolicy()

Get the SSL policy for the application gateway.

abstract void start()

Starts the application gateway.

abstract Mono<Void> startAsync()

Starts the application gateway asynchronously.

abstract void stop()

Stops the application gateway.

abstract Mono<Void> stopAsync()

Stops the application gateway asynchronously.

abstract ApplicationGatewayTier tier()

Gets the tier of the application gateway.

abstract Map<String,ApplicationGatewayUrlPathMap> urlPathMaps()

Gets URL path maps.

abstract ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()

Gets the webApplicationFirewallConfiguration value.

Method Details

authenticationCertificates

public abstract Map authenticationCertificates()

Gets authentication certificates.

Returns:

authentication certificates

autoscaleConfiguration

public abstract ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration()

Gets the autoscaleConfiguration value.

Returns:

the autoscaleConfiguration value.

availabilityZones

public abstract Set availabilityZones()

The availability zones assigned to the application gateway.

Note, this functionality is not enabled for most subscriptions and is subject to significant redesign and/or removal in the future.

Returns:

the availability zones assigned to the application gateway.

backendHttpConfigurations

public abstract Map backendHttpConfigurations()

Gets backend HTTP configurations of this application gateway.

Returns:

backend HTTP configurations of this application gateway, indexed by name

backends

public abstract Map backends()

Gets backend address pools of this application gateway.

Returns:

backend address pools of this application gateway, indexed by name

checkBackendHealth

public abstract Map checkBackendHealth()

Checks the backend health.

Returns:

backend healths indexed by backend name

checkBackendHealthAsync

public abstract Mono> checkBackendHealthAsync()

Checks the backend health asynchronously.

Returns:

a representation of the future computation of this call

defaultIPConfiguration

public abstract ApplicationGatewayIpConfiguration defaultIPConfiguration()

Gets the existing IP configurations.

Returns:

the existing IP configurations if only one exists, else null

defaultPrivateFrontend

public abstract ApplicationGatewayFrontend defaultPrivateFrontend()

Gets the frontend IP configuration associated with a private IP address.

Returns:

the frontend IP configuration associated with a private IP address, if any, that frontend listeners and request routing rules can reference implicitly

defaultPublicFrontend

public abstract ApplicationGatewayFrontend defaultPublicFrontend()

Gets the frontend IP configuration associated with a public IP address.

Returns:

the frontend IP configuration associated with a public IP address, if any, that frontend listeners and request routing rules can reference implicitly

disabledSslProtocols

@Deprecated
public abstract Collection disabledSslProtocols()

Deprecated

Application Gateway V1 is officially deprecated on April 28, 2023. This attribute has no effect for V2 gateways, instead, use sslPolicy().

Get the disabled SSL protocols.

Returns:

disabled SSL protocols

frontendPortNameFromNumber

public abstract String frontendPortNameFromNumber(int portNumber)

Returns the name of the existing port, if any, that is associated with the specified port number.

Parameters:

portNumber - a port number

Returns:

the existing port name for that port number, or null if none found

frontendPorts

public abstract Map frontendPorts()

Gets named frontend ports of this application gateway.

Returns:

named frontend ports of this application gateway, indexed by name

frontends

public abstract Map frontends()

Gets frontend IP configurations.

Returns:

frontend IP configurations, indexed by name

getWebApplicationFirewallPolicy

public abstract WebApplicationFirewallPolicy getWebApplicationFirewallPolicy()

Get the Web Application Firewall Policy (if any) associated with the application gateway by calling REST API.

Returns:

Web Application Firewall Policy (if any) associated with the application gateway

getWebApplicationFirewallPolicyAsync

public abstract Mono getWebApplicationFirewallPolicyAsync()

Get the Web Application Firewall Policy (if any) associated with the application gateway by calling REST API in async manner.

Returns:

Mono of Web Application Firewall Policy (if any) associated with the application gateway

getWebApplicationFirewallPolicyId

public abstract String getWebApplicationFirewallPolicyId()

Gets resource ID of the Web Application Firewall Policy (if any) associated with the application gateway.

Returns:

resource ID of the Web Application Firewall Policy (if any) associated with the application gateway

instanceCount

public abstract int instanceCount()

Gets number of instances.

Returns:

number of instances

ipConfigurations

public abstract Map ipConfigurations()

Gets IP configurations of this application gateway.

Returns:

IP configurations of this application gateway, indexed by name

isHttp2Enabled

public abstract boolean isHttp2Enabled()

Checks whether HTTP2 is enabled for the application gateway.

Returns:

whether HTTP2 enabled for the application gateway

isPrivate

public abstract boolean isPrivate()

Checks whether the application gateway has at least one internally load balanced frontend accessible within the virtual network.

Returns:

true if the application gateway has at least one internally load balanced frontend accessible within the virtual network

isPublic

public abstract boolean isPublic()

Checks whether the application gateway has at least one Internet-facing frontend.

Returns:

true if the application gateway has at least one Internet-facing frontend

listenerByPortNumber

public abstract ApplicationGatewayListener listenerByPortNumber(int portNumber)

Finds a front end listener associated with the specified front end port number, if any.

Parameters:

portNumber - a used port number

Returns:

a front end listener, or null if none found

listeners

public abstract Map listeners()

Gets frontend listeners.

Returns:

frontend listeners, indexed by name

operationalState

public abstract ApplicationGatewayOperationalState operationalState()

Gets the operational state of the application gateway.

Returns:

the operational state of the application gateway

privateFrontends

public abstract Map privateFrontends()

Gets frontend IP configurations with a private IP address within a subnet.

Returns:

frontend IP configurations with a private IP address within a subnet, indexed by name

probes

public abstract Map probes()

Gets probes of this application gateway.

Returns:

probes of this application gateway, indexed by name

publicFrontends

public abstract Map publicFrontends()

Gets frontend IP configurations with a public IP address.

Returns:

frontend IP configurations with a public IP address, indexed by name

redirectConfigurations

public abstract Map redirectConfigurations()

Gets redirect configurations.

Returns:

redirect configurations, indexed by name

requestRoutingRules

public abstract Map requestRoutingRules()

Gets request routing rules.

Returns:

request routing rules, indexed by name

size

public abstract ApplicationGatewaySkuName size()

Gets the size of the application gateway.

Returns:

the size of the application gateway

sku

public abstract ApplicationGatewaySku sku()

Gets the SKU of this application gateway.

Returns:

the SKU of this application gateway

sslCertificates

public abstract Map sslCertificates()

Gets SSL certificates.

Returns:

SSL certificates, indexed by name

sslPolicy

public abstract ApplicationGatewaySslPolicy sslPolicy()

Get the SSL policy for the application gateway.

Returns:

SSL policy of the application gateway

start

public abstract void start()

Starts the application gateway.

startAsync

public abstract Mono startAsync()

Starts the application gateway asynchronously.

Returns:

a representation of the deferred computation of this call

stop

public abstract void stop()

Stops the application gateway.

stopAsync

public abstract Mono stopAsync()

Stops the application gateway asynchronously.

Returns:

a representation of the deferred computation of this call

tier

public abstract ApplicationGatewayTier tier()

Gets the tier of the application gateway.

Returns:

the tier of the application gateway

urlPathMaps

public abstract Map urlPathMaps()

Gets URL path maps.

Returns:

URL path maps, indexed by name (case sensitive)

webApplicationFirewallConfiguration

public abstract ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()

Gets the webApplicationFirewallConfiguration value.

Returns:

the webApplicationFirewallConfiguration value.

Applies to