Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network.implementation;
import com.microsoft.azure.management.network.ApplicationGatewaySku;
import com.microsoft.azure.management.network.ApplicationGatewaySslPolicy;
import com.microsoft.azure.management.network.ApplicationGatewayOperationalState;
import java.util.List;
import com.microsoft.azure.management.network.ApplicationGatewayTrustedRootCertificate;
import com.microsoft.azure.management.network.ApplicationGatewayFrontendIPConfiguration;
import com.microsoft.azure.management.network.ApplicationGatewayFrontendPort;
import com.microsoft.azure.management.network.ApplicationGatewayBackendAddressPool;
import com.microsoft.azure.management.network.ApplicationGatewayBackendHttpSettings;
import com.microsoft.azure.management.network.ApplicationGatewayHttpListener;
import com.microsoft.azure.management.network.ApplicationGatewayRewriteRuleSet;
import com.microsoft.azure.management.network.ApplicationGatewayWebApplicationFirewallConfiguration;
import com.microsoft.azure.SubResource;
import com.microsoft.azure.management.network.ApplicationGatewayAutoscaleConfiguration;
import com.microsoft.azure.management.network.ProvisioningState;
import com.microsoft.azure.management.network.ApplicationGatewayCustomError;
import com.microsoft.azure.management.network.ManagedServiceIdentity;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.rest.SkipParentValidation;
import com.microsoft.azure.Resource;
Application gateway resource.
/**
* Application gateway resource.
*/
@JsonFlatten
@SkipParentValidation
public class ApplicationGatewayInner extends Resource {
SKU of the application gateway resource.
/**
* SKU of the application gateway resource.
*/
@JsonProperty(value = "properties.sku")
private ApplicationGatewaySku sku;
SSL policy of the application gateway resource.
/**
* SSL policy of the application gateway resource.
*/
@JsonProperty(value = "properties.sslPolicy")
private ApplicationGatewaySslPolicy sslPolicy;
Operational state of the application gateway resource. Possible values
include: 'Stopped', 'Starting', 'Running', 'Stopping'.
/**
* Operational state of the application gateway resource. Possible values
* include: 'Stopped', 'Starting', 'Running', 'Stopping'.
*/
@JsonProperty(value = "properties.operationalState", access = JsonProperty.Access.WRITE_ONLY)
private ApplicationGatewayOperationalState operationalState;
Subnets of the application gateway resource. For default limits, see
[Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Subnets of the application gateway resource. For default limits, see
* [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.gatewayIPConfigurations")
private List<ApplicationGatewayIPConfigurationInner> gatewayIPConfigurations;
Authentication certificates of the application gateway resource. For
default limits, see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Authentication certificates of the application gateway resource. For
* default limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.authenticationCertificates")
private List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates;
Trusted Root certificates of the application gateway resource. For
default limits, see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Trusted Root certificates of the application gateway resource. For
* default limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.trustedRootCertificates")
private List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates;
SSL certificates of the application gateway resource. For default
limits, see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* SSL certificates of the application gateway resource. For default
* limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.sslCertificates")
private List<ApplicationGatewaySslCertificateInner> sslCertificates;
Frontend IP addresses of the application gateway resource. For default
limits, see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Frontend IP addresses of the application gateway resource. For default
* limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.frontendIPConfigurations")
private List<ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations;
Frontend ports of the application gateway resource. For default limits,
see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Frontend ports of the application gateway resource. For default limits,
* see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.frontendPorts")
private List<ApplicationGatewayFrontendPort> frontendPorts;
Probes of the application gateway resource.
/**
* Probes of the application gateway resource.
*/
@JsonProperty(value = "properties.probes")
private List<ApplicationGatewayProbeInner> probes;
Backend address pool of the application gateway resource. For default
limits, see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Backend address pool of the application gateway resource. For default
* limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.backendAddressPools")
private List<ApplicationGatewayBackendAddressPool> backendAddressPools;
Backend http settings of the application gateway resource. For default
limits, see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Backend http settings of the application gateway resource. For default
* limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.backendHttpSettingsCollection")
private List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection;
Http listeners of the application gateway resource. For default limits,
see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Http listeners of the application gateway resource. For default limits,
* see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.httpListeners")
private List<ApplicationGatewayHttpListener> httpListeners;
URL path map of the application gateway resource. For default limits,
see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* URL path map of the application gateway resource. For default limits,
* see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.urlPathMaps")
private List<ApplicationGatewayUrlPathMapInner> urlPathMaps;
Request routing rules of the application gateway resource.
/**
* Request routing rules of the application gateway resource.
*/
@JsonProperty(value = "properties.requestRoutingRules")
private List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules;
Rewrite rules for the application gateway resource.
/**
* Rewrite rules for the application gateway resource.
*/
@JsonProperty(value = "properties.rewriteRuleSets")
private List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets;
Redirect configurations of the application gateway resource. For default
limits, see [Application Gateway
limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
/**
* Redirect configurations of the application gateway resource. For default
* limits, see [Application Gateway
* limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*/
@JsonProperty(value = "properties.redirectConfigurations")
private List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations;
Web application firewall configuration.
/**
* Web application firewall configuration.
*/
@JsonProperty(value = "properties.webApplicationFirewallConfiguration")
private ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration;
Reference to the FirewallPolicy resource.
/**
* Reference to the FirewallPolicy resource.
*/
@JsonProperty(value = "properties.firewallPolicy")
private SubResource firewallPolicy;
Whether HTTP2 is enabled on the application gateway resource.
/**
* Whether HTTP2 is enabled on the application gateway resource.
*/
@JsonProperty(value = "properties.enableHttp2")
private Boolean enableHttp2;
Whether FIPS is enabled on the application gateway resource.
/**
* Whether FIPS is enabled on the application gateway resource.
*/
@JsonProperty(value = "properties.enableFips")
private Boolean enableFips;
Autoscale Configuration.
/**
* Autoscale Configuration.
*/
@JsonProperty(value = "properties.autoscaleConfiguration")
private ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration;
The resource GUID property of the application gateway resource.
/**
* The resource GUID property of the application gateway resource.
*/
@JsonProperty(value = "properties.resourceGuid", access = JsonProperty.Access.WRITE_ONLY)
private String resourceGuid;
The provisioning state of the application gateway resource. Possible
values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
/**
* The provisioning state of the application gateway resource. Possible
* values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
*/
@JsonProperty(value = "properties.provisioningState", access = JsonProperty.Access.WRITE_ONLY)
private ProvisioningState provisioningState;
Custom error configurations of the application gateway resource.
/**
* Custom error configurations of the application gateway resource.
*/
@JsonProperty(value = "properties.customErrorConfigurations")
private List<ApplicationGatewayCustomError> customErrorConfigurations;
A unique read-only string that changes whenever the resource is updated.
/**
* A unique read-only string that changes whenever the resource is updated.
*/
@JsonProperty(value = "etag", access = JsonProperty.Access.WRITE_ONLY)
private String etag;
A list of availability zones denoting where the resource needs to come
from.
/**
* A list of availability zones denoting where the resource needs to come
* from.
*/
@JsonProperty(value = "zones")
private List<String> zones;
The identity of the application gateway, if configured.
/**
* The identity of the application gateway, if configured.
*/
@JsonProperty(value = "identity")
private ManagedServiceIdentity identity;
Resource ID.
/**
* Resource ID.
*/
@JsonProperty(value = "id")
private String id;
Get sKU of the application gateway resource.
Returns: the sku value
/**
* Get sKU of the application gateway resource.
*
* @return the sku value
*/
public ApplicationGatewaySku sku() {
return this.sku;
}
Set sKU of the application gateway resource.
Params: - sku – the sku value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set sKU of the application gateway resource.
*
* @param sku the sku value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withSku(ApplicationGatewaySku sku) {
this.sku = sku;
return this;
}
Get sSL policy of the application gateway resource.
Returns: the sslPolicy value
/**
* Get sSL policy of the application gateway resource.
*
* @return the sslPolicy value
*/
public ApplicationGatewaySslPolicy sslPolicy() {
return this.sslPolicy;
}
Set sSL policy of the application gateway resource.
Params: - sslPolicy – the sslPolicy value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set sSL policy of the application gateway resource.
*
* @param sslPolicy the sslPolicy value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withSslPolicy(ApplicationGatewaySslPolicy sslPolicy) {
this.sslPolicy = sslPolicy;
return this;
}
Get operational state of the application gateway resource. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping'.
Returns: the operationalState value
/**
* Get operational state of the application gateway resource. Possible values include: 'Stopped', 'Starting', 'Running', 'Stopping'.
*
* @return the operationalState value
*/
public ApplicationGatewayOperationalState operationalState() {
return this.operationalState;
}
Get subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the gatewayIPConfigurations value
/**
* Get subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the gatewayIPConfigurations value
*/
public List<ApplicationGatewayIPConfigurationInner> gatewayIPConfigurations() {
return this.gatewayIPConfigurations;
}
Set subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - gatewayIPConfigurations – the gatewayIPConfigurations value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param gatewayIPConfigurations the gatewayIPConfigurations value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withGatewayIPConfigurations(List<ApplicationGatewayIPConfigurationInner> gatewayIPConfigurations) {
this.gatewayIPConfigurations = gatewayIPConfigurations;
return this;
}
Get authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the authenticationCertificates value
/**
* Get authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the authenticationCertificates value
*/
public List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates() {
return this.authenticationCertificates;
}
Set authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - authenticationCertificates – the authenticationCertificates value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param authenticationCertificates the authenticationCertificates value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withAuthenticationCertificates(List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates) {
this.authenticationCertificates = authenticationCertificates;
return this;
}
Get trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the trustedRootCertificates value
/**
* Get trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the trustedRootCertificates value
*/
public List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates() {
return this.trustedRootCertificates;
}
Set trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - trustedRootCertificates – the trustedRootCertificates value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param trustedRootCertificates the trustedRootCertificates value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withTrustedRootCertificates(List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates) {
this.trustedRootCertificates = trustedRootCertificates;
return this;
}
Get sSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the sslCertificates value
/**
* Get sSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the sslCertificates value
*/
public List<ApplicationGatewaySslCertificateInner> sslCertificates() {
return this.sslCertificates;
}
Set sSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - sslCertificates – the sslCertificates value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set sSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param sslCertificates the sslCertificates value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withSslCertificates(List<ApplicationGatewaySslCertificateInner> sslCertificates) {
this.sslCertificates = sslCertificates;
return this;
}
Get frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the frontendIPConfigurations value
/**
* Get frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the frontendIPConfigurations value
*/
public List<ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations() {
return this.frontendIPConfigurations;
}
Set frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - frontendIPConfigurations – the frontendIPConfigurations value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param frontendIPConfigurations the frontendIPConfigurations value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withFrontendIPConfigurations(List<ApplicationGatewayFrontendIPConfiguration> frontendIPConfigurations) {
this.frontendIPConfigurations = frontendIPConfigurations;
return this;
}
Get frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the frontendPorts value
/**
* Get frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the frontendPorts value
*/
public List<ApplicationGatewayFrontendPort> frontendPorts() {
return this.frontendPorts;
}
Set frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - frontendPorts – the frontendPorts value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param frontendPorts the frontendPorts value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withFrontendPorts(List<ApplicationGatewayFrontendPort> frontendPorts) {
this.frontendPorts = frontendPorts;
return this;
}
Get probes of the application gateway resource.
Returns: the probes value
/**
* Get probes of the application gateway resource.
*
* @return the probes value
*/
public List<ApplicationGatewayProbeInner> probes() {
return this.probes;
}
Set probes of the application gateway resource.
Params: - probes – the probes value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set probes of the application gateway resource.
*
* @param probes the probes value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withProbes(List<ApplicationGatewayProbeInner> probes) {
this.probes = probes;
return this;
}
Get backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the backendAddressPools value
/**
* Get backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the backendAddressPools value
*/
public List<ApplicationGatewayBackendAddressPool> backendAddressPools() {
return this.backendAddressPools;
}
Set backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - backendAddressPools – the backendAddressPools value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param backendAddressPools the backendAddressPools value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withBackendAddressPools(List<ApplicationGatewayBackendAddressPool> backendAddressPools) {
this.backendAddressPools = backendAddressPools;
return this;
}
Get backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the backendHttpSettingsCollection value
/**
* Get backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the backendHttpSettingsCollection value
*/
public List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection() {
return this.backendHttpSettingsCollection;
}
Set backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - backendHttpSettingsCollection – the backendHttpSettingsCollection value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param backendHttpSettingsCollection the backendHttpSettingsCollection value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection) {
this.backendHttpSettingsCollection = backendHttpSettingsCollection;
return this;
}
Get http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the httpListeners value
/**
* Get http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the httpListeners value
*/
public List<ApplicationGatewayHttpListener> httpListeners() {
return this.httpListeners;
}
Set http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - httpListeners – the httpListeners value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param httpListeners the httpListeners value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withHttpListeners(List<ApplicationGatewayHttpListener> httpListeners) {
this.httpListeners = httpListeners;
return this;
}
Get uRL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the urlPathMaps value
/**
* Get uRL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the urlPathMaps value
*/
public List<ApplicationGatewayUrlPathMapInner> urlPathMaps() {
return this.urlPathMaps;
}
Set uRL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - urlPathMaps – the urlPathMaps value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set uRL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param urlPathMaps the urlPathMaps value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withUrlPathMaps(List<ApplicationGatewayUrlPathMapInner> urlPathMaps) {
this.urlPathMaps = urlPathMaps;
return this;
}
Get request routing rules of the application gateway resource.
Returns: the requestRoutingRules value
/**
* Get request routing rules of the application gateway resource.
*
* @return the requestRoutingRules value
*/
public List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules() {
return this.requestRoutingRules;
}
Set request routing rules of the application gateway resource.
Params: - requestRoutingRules – the requestRoutingRules value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set request routing rules of the application gateway resource.
*
* @param requestRoutingRules the requestRoutingRules value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withRequestRoutingRules(List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules) {
this.requestRoutingRules = requestRoutingRules;
return this;
}
Get rewrite rules for the application gateway resource.
Returns: the rewriteRuleSets value
/**
* Get rewrite rules for the application gateway resource.
*
* @return the rewriteRuleSets value
*/
public List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets() {
return this.rewriteRuleSets;
}
Set rewrite rules for the application gateway resource.
Params: - rewriteRuleSets – the rewriteRuleSets value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set rewrite rules for the application gateway resource.
*
* @param rewriteRuleSets the rewriteRuleSets value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withRewriteRuleSets(List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets) {
this.rewriteRuleSets = rewriteRuleSets;
return this;
}
Get redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Returns: the redirectConfigurations value
/**
* Get redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @return the redirectConfigurations value
*/
public List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations() {
return this.redirectConfigurations;
}
Set redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
Params: - redirectConfigurations – the redirectConfigurations value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).
*
* @param redirectConfigurations the redirectConfigurations value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withRedirectConfigurations(List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations) {
this.redirectConfigurations = redirectConfigurations;
return this;
}
Get web application firewall configuration.
Returns: the webApplicationFirewallConfiguration value
/**
* Get web application firewall configuration.
*
* @return the webApplicationFirewallConfiguration value
*/
public ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration() {
return this.webApplicationFirewallConfiguration;
}
Set web application firewall configuration.
Params: - webApplicationFirewallConfiguration – the webApplicationFirewallConfiguration value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set web application firewall configuration.
*
* @param webApplicationFirewallConfiguration the webApplicationFirewallConfiguration value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withWebApplicationFirewallConfiguration(ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration) {
this.webApplicationFirewallConfiguration = webApplicationFirewallConfiguration;
return this;
}
Get reference to the FirewallPolicy resource.
Returns: the firewallPolicy value
/**
* Get reference to the FirewallPolicy resource.
*
* @return the firewallPolicy value
*/
public SubResource firewallPolicy() {
return this.firewallPolicy;
}
Set reference to the FirewallPolicy resource.
Params: - firewallPolicy – the firewallPolicy value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set reference to the FirewallPolicy resource.
*
* @param firewallPolicy the firewallPolicy value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withFirewallPolicy(SubResource firewallPolicy) {
this.firewallPolicy = firewallPolicy;
return this;
}
Get whether HTTP2 is enabled on the application gateway resource.
Returns: the enableHttp2 value
/**
* Get whether HTTP2 is enabled on the application gateway resource.
*
* @return the enableHttp2 value
*/
public Boolean enableHttp2() {
return this.enableHttp2;
}
Set whether HTTP2 is enabled on the application gateway resource.
Params: - enableHttp2 – the enableHttp2 value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set whether HTTP2 is enabled on the application gateway resource.
*
* @param enableHttp2 the enableHttp2 value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withEnableHttp2(Boolean enableHttp2) {
this.enableHttp2 = enableHttp2;
return this;
}
Get whether FIPS is enabled on the application gateway resource.
Returns: the enableFips value
/**
* Get whether FIPS is enabled on the application gateway resource.
*
* @return the enableFips value
*/
public Boolean enableFips() {
return this.enableFips;
}
Set whether FIPS is enabled on the application gateway resource.
Params: - enableFips – the enableFips value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set whether FIPS is enabled on the application gateway resource.
*
* @param enableFips the enableFips value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withEnableFips(Boolean enableFips) {
this.enableFips = enableFips;
return this;
}
Get autoscale Configuration.
Returns: the autoscaleConfiguration value
/**
* Get autoscale Configuration.
*
* @return the autoscaleConfiguration value
*/
public ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration() {
return this.autoscaleConfiguration;
}
Set autoscale Configuration.
Params: - autoscaleConfiguration – the autoscaleConfiguration value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set autoscale Configuration.
*
* @param autoscaleConfiguration the autoscaleConfiguration value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withAutoscaleConfiguration(ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration) {
this.autoscaleConfiguration = autoscaleConfiguration;
return this;
}
Get the resource GUID property of the application gateway resource.
Returns: the resourceGuid value
/**
* Get the resource GUID property of the application gateway resource.
*
* @return the resourceGuid value
*/
public String resourceGuid() {
return this.resourceGuid;
}
Get the provisioning state of the application gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns: the provisioningState value
/**
* Get the provisioning state of the application gateway resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
*
* @return the provisioningState value
*/
public ProvisioningState provisioningState() {
return this.provisioningState;
}
Get custom error configurations of the application gateway resource.
Returns: the customErrorConfigurations value
/**
* Get custom error configurations of the application gateway resource.
*
* @return the customErrorConfigurations value
*/
public List<ApplicationGatewayCustomError> customErrorConfigurations() {
return this.customErrorConfigurations;
}
Set custom error configurations of the application gateway resource.
Params: - customErrorConfigurations – the customErrorConfigurations value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set custom error configurations of the application gateway resource.
*
* @param customErrorConfigurations the customErrorConfigurations value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations) {
this.customErrorConfigurations = customErrorConfigurations;
return this;
}
Get a unique read-only string that changes whenever the resource is updated.
Returns: the etag value
/**
* Get a unique read-only string that changes whenever the resource is updated.
*
* @return the etag value
*/
public String etag() {
return this.etag;
}
Get a list of availability zones denoting where the resource needs to come from.
Returns: the zones value
/**
* Get a list of availability zones denoting where the resource needs to come from.
*
* @return the zones value
*/
public List<String> zones() {
return this.zones;
}
Set a list of availability zones denoting where the resource needs to come from.
Params: - zones – the zones value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set a list of availability zones denoting where the resource needs to come from.
*
* @param zones the zones value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withZones(List<String> zones) {
this.zones = zones;
return this;
}
Get the identity of the application gateway, if configured.
Returns: the identity value
/**
* Get the identity of the application gateway, if configured.
*
* @return the identity value
*/
public ManagedServiceIdentity identity() {
return this.identity;
}
Set the identity of the application gateway, if configured.
Params: - identity – the identity value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set the identity of the application gateway, if configured.
*
* @param identity the identity value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withIdentity(ManagedServiceIdentity identity) {
this.identity = identity;
return this;
}
Get resource ID.
Returns: the id value
/**
* Get resource ID.
*
* @return the id value
*/
public String id() {
return this.id;
}
Set resource ID.
Params: - id – the id value to set
Returns: the ApplicationGatewayInner object itself.
/**
* Set resource ID.
*
* @param id the id value to set
* @return the ApplicationGatewayInner object itself.
*/
public ApplicationGatewayInner withId(String id) {
this.id = id;
return this;
}
}