Interface ApplicationGateway
-
- All Superinterfaces:
GroupableResource<NetworkManager,ApplicationGatewayInner>,HasId,HasInnerModel<ApplicationGatewayInner>,HasManager<NetworkManager>,HasName,HasPrivateIpAddress,HasResourceGroup,HasSubnet,Indexable,Refreshable<ApplicationGateway>,Resource,Updatable<ApplicationGateway.Update>,UpdatableWithTags<ApplicationGateway>
public interface ApplicationGateway extends GroupableResource<NetworkManager,ApplicationGatewayInner>, Refreshable<ApplicationGateway>, Updatable<ApplicationGateway.Update>, UpdatableWithTags<ApplicationGateway>, HasSubnet, HasPrivateIpAddress
Entry point for application gateway management API in Azure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceApplicationGateway.DefinitionThe entirety of the application gateway definition.static interfaceApplicationGateway.DefinitionStagesGrouping of application gateway definition stages.static interfaceApplicationGateway.UpdateThe template for an application gateway update operation, containing all the settings that can be modified.static interfaceApplicationGateway.UpdateStagesGrouping of application gateway update stages.-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.network.models.HasPrivateIpAddress
HasPrivateIpAddress.UpdateDefinitionStages
-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasSubnet
HasSubnet.UpdateDefinitionStages
-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T extends Object>, Resource.DefinitionWithTags<T extends Object>, Resource.UpdateWithTags<T extends Object>
-
Nested classes/interfaces inherited from interface com.azure.resourcemanager.network.models.UpdatableWithTags
UpdatableWithTags.UpdateWithTags<T>
-
-
Method Summary
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModel
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
manager
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
name
-
Methods inherited from interface com.azure.resourcemanager.network.models.HasPrivateIpAddress
privateIpAddress, privateIpAllocationMethod
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasSubnet
networkId, subnetName
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, type
-
Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable
update
-
Methods inherited from interface com.azure.resourcemanager.network.models.UpdatableWithTags
updateTags
-
-
-
-
Method Detail
-
start
void start()
Starts the application gateway.
-
checkBackendHealth
Map<String,ApplicationGatewayBackendHealth> checkBackendHealth()
Checks the backend health.- Returns:
- backend healths indexed by backend name
-
checkBackendHealthAsync
Mono<Map<String,ApplicationGatewayBackendHealth>> checkBackendHealthAsync()
Checks the backend health asynchronously.- Returns:
- a representation of the future computation of this call
-
stop
void stop()
Stops the application gateway.
-
startAsync
Mono<Void> startAsync()
Starts the application gateway asynchronously.- Returns:
- a representation of the deferred computation of this call
-
stopAsync
Mono<Void> stopAsync()
Stops the application gateway asynchronously.- Returns:
- a representation of the deferred computation of this call
-
disabledSslProtocols
Collection<ApplicationGatewaySslProtocol> disabledSslProtocols()
- Returns:
- disabled SSL protocols
-
isPrivate
boolean isPrivate()
- Returns:
- true if the application gateway has at least one internally load balanced frontend accessible within the virtual network
-
isPublic
boolean isPublic()
- Returns:
- true if the application gateway has at least one Internet-facing frontend
-
defaultPublicFrontend
ApplicationGatewayFrontend defaultPublicFrontend()
- Returns:
- the frontend IP configuration associated with a public IP address, if any, that frontend listeners and request routing rules can reference implicitly
-
defaultPrivateFrontend
ApplicationGatewayFrontend defaultPrivateFrontend()
- Returns:
- the frontend IP configuration associated with a private IP address, if any, that frontend listeners and request routing rules can reference implicitly
-
sku
ApplicationGatewaySku sku()
- Returns:
- the SKU of this application gateway
-
instanceCount
int instanceCount()
- Returns:
- number of instances
-
size
ApplicationGatewaySkuName size()
- Returns:
- the size of the application gateway
-
tier
ApplicationGatewayTier tier()
- Returns:
- the tier of the application gateway
-
autoscaleConfiguration
ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration()
- Returns:
- the autoscaleConfiguration value.
-
webApplicationFirewallConfiguration
ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()
- Returns:
- the webApplicationFirewallConfiguration value.
-
operationalState
ApplicationGatewayOperationalState operationalState()
- Returns:
- the operational state of the application gateway
-
ipConfigurations
Map<String,ApplicationGatewayIpConfiguration> ipConfigurations()
- Returns:
- IP configurations of this application gateway, indexed by name
-
backends
Map<String,ApplicationGatewayBackend> backends()
- Returns:
- backend address pools of this application gateway, indexed by name
-
probes
Map<String,ApplicationGatewayProbe> probes()
- Returns:
- probes of this application gateway, indexed by name
-
defaultIPConfiguration
ApplicationGatewayIpConfiguration defaultIPConfiguration()
- Returns:
- the existing IP configurations if only one exists, else null
-
frontends
Map<String,ApplicationGatewayFrontend> frontends()
- Returns:
- frontend IP configurations, indexed by name
-
publicFrontends
Map<String,ApplicationGatewayFrontend> publicFrontends()
- Returns:
- frontend IP configurations with a public IP address, indexed by name
-
privateFrontends
Map<String,ApplicationGatewayFrontend> privateFrontends()
- Returns:
- frontend IP configurations with a private IP address within a subnet, indexed by name
-
frontendPorts
Map<String,Integer> frontendPorts()
- Returns:
- named frontend ports of this application gateway, indexed by name
-
backendHttpConfigurations
Map<String,ApplicationGatewayBackendHttpConfiguration> backendHttpConfigurations()
- Returns:
- backend HTTP configurations of this application gateway, indexed by name
-
sslCertificates
Map<String,ApplicationGatewaySslCertificate> sslCertificates()
- Returns:
- SSL certificates, indexed by name
-
listeners
Map<String,ApplicationGatewayListener> listeners()
- Returns:
- frontend listeners, indexed by name
-
redirectConfigurations
Map<String,ApplicationGatewayRedirectConfiguration> redirectConfigurations()
- Returns:
- redirect configurations, indexed by name
-
urlPathMaps
Map<String,ApplicationGatewayUrlPathMap> urlPathMaps()
- Returns:
- URL path maps, indexed by name (case sensitive)
-
requestRoutingRules
Map<String,ApplicationGatewayRequestRoutingRule> requestRoutingRules()
- Returns:
- request routing rules, indexed by name
-
authenticationCertificates
Map<String,ApplicationGatewayAuthenticationCertificate> authenticationCertificates()
- Returns:
- authentication certificates
-
isHttp2Enabled
boolean isHttp2Enabled()
- Returns:
- whether HTTP2 enabled for the application gateway
-
availabilityZones
Set<AvailabilityZoneId> 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.
-
frontendPortNameFromNumber
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
-
listenerByPortNumber
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
-
-