ApplicationGatewayInner Class

public final class ApplicationGatewayInner
extends Resource

Application gateway resource.

Constructor Summary

Constructor Description
ApplicationGatewayInner()

Creates an instance of ApplicationGatewayInner class.

Method Summary

Modifier and Type Method and Description
List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates()

Get the authenticationCertificates property: Authentication certificates of the application gateway resource.

ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration()

Get the autoscaleConfiguration property: Autoscale Configuration.

List<ApplicationGatewayBackendAddressPool> backendAddressPools()

Get the backendAddressPools property: Backend address pool of the application gateway resource.

List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection()

Get the backendHttpSettingsCollection property: Backend http settings of the application gateway resource.

List<ApplicationGatewayBackendSettings> backendSettingsCollection()

Get the backendSettingsCollection property: Backend settings of the application gateway resource.

List<ApplicationGatewayCustomError> customErrorConfigurations()

Get the customErrorConfigurations property: Custom error configurations of the application gateway resource.

ApplicationGatewaySslPolicyName defaultPredefinedSslPolicy()

Get the defaultPredefinedSslPolicy property: The default predefined SSL Policy applied on the application gateway resource.

Boolean enableFips()

Get the enableFips property: Whether FIPS is enabled on the application gateway resource.

Boolean enableHttp2()

Get the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.

String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

SubResource firewallPolicy()

Get the firewallPolicy property: Reference to the FirewallPolicy resource.

Boolean forceFirewallPolicyAssociation()

Get the forceFirewallPolicyAssociation property: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.

static ApplicationGatewayInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayInner from the JsonReader.

List<ApplicationGatewayFrontendIpConfiguration> frontendIpConfigurations()

Get the frontendIpConfigurations property: Frontend IP addresses of the application gateway resource.

List<ApplicationGatewayFrontendPort> frontendPorts()

Get the frontendPorts property: Frontend ports of the application gateway resource.

List<ApplicationGatewayIpConfigurationInner> gatewayIpConfigurations()

Get the gatewayIpConfigurations property: Subnets of the application gateway resource.

ApplicationGatewayGlobalConfiguration globalConfiguration()

Get the globalConfiguration property: Global Configuration.

List<ApplicationGatewayHttpListener> httpListeners()

Get the httpListeners property: Http listeners of the application gateway resource.

String id()

Get the id property: Resource ID.

ManagedServiceIdentity identity()

Get the identity property: The identity of the application gateway, if configured.

List<ApplicationGatewayListenerInner> listeners()

Get the listeners property: Listeners of the application gateway resource.

List<ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies()

Get the loadDistributionPolicies property: Load distribution policies of the application gateway resource.

String name()

Get the name property: The name of the resource.

ApplicationGatewayOperationalState operationalState()

Get the operationalState property: Operational state of the application gateway resource.

List<ApplicationGatewayPrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: Private Endpoint connections on application gateway.

List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations()

Get the privateLinkConfigurations property: PrivateLink configurations on application gateway.

List<ApplicationGatewayProbeInner> probes()

Get the probes property: Probes of the application gateway resource.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application gateway resource.

List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations()

Get the redirectConfigurations property: Redirect configurations of the application gateway resource.

List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules()

Get the requestRoutingRules property: Request routing rules of the application gateway resource.

String resourceGuid()

Get the resourceGuid property: The resource GUID property of the application gateway resource.

List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets()

Get the rewriteRuleSets property: Rewrite rules for the application gateway resource.

List<ApplicationGatewayRoutingRule> routingRules()

Get the routingRules property: Routing rules of the application gateway resource.

ApplicationGatewaySku sku()

Get the sku property: SKU of the application gateway resource.

List<ApplicationGatewaySslCertificateInner> sslCertificates()

Get the sslCertificates property: SSL certificates of the application gateway resource.

ApplicationGatewaySslPolicy sslPolicy()

Get the sslPolicy property: SSL policy of the application gateway resource.

List<ApplicationGatewaySslProfile> sslProfiles()

Get the sslProfiles property: SSL profiles of the application gateway resource.

JsonWriter toJson(JsonWriter jsonWriter)
List<ApplicationGatewayTrustedClientCertificate> trustedClientCertificates()

Get the trustedClientCertificates property: Trusted client certificates of the application gateway resource.

List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates()

Get the trustedRootCertificates property: Trusted Root certificates of the application gateway resource.

String type()

Get the type property: The type of the resource.

List<ApplicationGatewayUrlPathMapInner> urlPathMaps()

Get the urlPathMaps property: URL path map of the application gateway resource.

void validate()

Validates the instance.

ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()

Get the webApplicationFirewallConfiguration property: Web application firewall configuration.

ApplicationGatewayInner withAuthenticationCertificates(List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates)

Set the authenticationCertificates property: Authentication certificates of the application gateway resource.

ApplicationGatewayInner withAutoscaleConfiguration(ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration)

Set the autoscaleConfiguration property: Autoscale Configuration.

ApplicationGatewayInner withBackendAddressPools(List<ApplicationGatewayBackendAddressPool> backendAddressPools)

Set the backendAddressPools property: Backend address pool of the application gateway resource.

ApplicationGatewayInner withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection)

Set the backendHttpSettingsCollection property: Backend http settings of the application gateway resource.

ApplicationGatewayInner withBackendSettingsCollection(List<ApplicationGatewayBackendSettings> backendSettingsCollection)

Set the backendSettingsCollection property: Backend settings of the application gateway resource.

ApplicationGatewayInner withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations)

Set the customErrorConfigurations property: Custom error configurations of the application gateway resource.

ApplicationGatewayInner withEnableFips(Boolean enableFips)

Set the enableFips property: Whether FIPS is enabled on the application gateway resource.

ApplicationGatewayInner withEnableHttp2(Boolean enableHttp2)

Set the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.

ApplicationGatewayInner withFirewallPolicy(SubResource firewallPolicy)

Set the firewallPolicy property: Reference to the FirewallPolicy resource.

ApplicationGatewayInner withForceFirewallPolicyAssociation(Boolean forceFirewallPolicyAssociation)

Set the forceFirewallPolicyAssociation property: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.

ApplicationGatewayInner withFrontendIpConfigurations(List<ApplicationGatewayFrontendIpConfiguration> frontendIpConfigurations)

Set the frontendIpConfigurations property: Frontend IP addresses of the application gateway resource.

ApplicationGatewayInner withFrontendPorts(List<ApplicationGatewayFrontendPort> frontendPorts)

Set the frontendPorts property: Frontend ports of the application gateway resource.

ApplicationGatewayInner withGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> gatewayIpConfigurations)

Set the gatewayIpConfigurations property: Subnets of the application gateway resource.

ApplicationGatewayInner withGlobalConfiguration(ApplicationGatewayGlobalConfiguration globalConfiguration)

Set the globalConfiguration property: Global Configuration.

ApplicationGatewayInner withHttpListeners(List<ApplicationGatewayHttpListener> httpListeners)

Set the httpListeners property: Http listeners of the application gateway resource.

ApplicationGatewayInner withId(String id)

Set the id property: Resource ID.

ApplicationGatewayInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of the application gateway, if configured.

ApplicationGatewayInner withListeners(List<ApplicationGatewayListenerInner> listeners)

Set the listeners property: Listeners of the application gateway resource.

ApplicationGatewayInner withLoadDistributionPolicies(List<ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies)

Set the loadDistributionPolicies property: Load distribution policies of the application gateway resource.

ApplicationGatewayInner withLocation(String location)
ApplicationGatewayInner withPrivateLinkConfigurations(List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations)

Set the privateLinkConfigurations property: PrivateLink configurations on application gateway.

ApplicationGatewayInner withProbes(List<ApplicationGatewayProbeInner> probes)

Set the probes property: Probes of the application gateway resource.

ApplicationGatewayInner withRedirectConfigurations(List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations)

Set the redirectConfigurations property: Redirect configurations of the application gateway resource.

ApplicationGatewayInner withRequestRoutingRules(List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules)

Set the requestRoutingRules property: Request routing rules of the application gateway resource.

ApplicationGatewayInner withRewriteRuleSets(List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets)

Set the rewriteRuleSets property: Rewrite rules for the application gateway resource.

ApplicationGatewayInner withRoutingRules(List<ApplicationGatewayRoutingRule> routingRules)

Set the routingRules property: Routing rules of the application gateway resource.

ApplicationGatewayInner withSku(ApplicationGatewaySku sku)

Set the sku property: SKU of the application gateway resource.

ApplicationGatewayInner withSslCertificates(List<ApplicationGatewaySslCertificateInner> sslCertificates)

Set the sslCertificates property: SSL certificates of the application gateway resource.

ApplicationGatewayInner withSslPolicy(ApplicationGatewaySslPolicy sslPolicy)

Set the sslPolicy property: SSL policy of the application gateway resource.

ApplicationGatewayInner withSslProfiles(List<ApplicationGatewaySslProfile> sslProfiles)

Set the sslProfiles property: SSL profiles of the application gateway resource.

ApplicationGatewayInner withTags(Map<String,String> tags)
ApplicationGatewayInner withTrustedClientCertificates(List<ApplicationGatewayTrustedClientCertificate> trustedClientCertificates)

Set the trustedClientCertificates property: Trusted client certificates of the application gateway resource.

ApplicationGatewayInner withTrustedRootCertificates(List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates)

Set the trustedRootCertificates property: Trusted Root certificates of the application gateway resource.

ApplicationGatewayInner withUrlPathMaps(List<ApplicationGatewayUrlPathMapInner> urlPathMaps)

Set the urlPathMaps property: URL path map of the application gateway resource.

ApplicationGatewayInner withWebApplicationFirewallConfiguration(ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration)

Set the webApplicationFirewallConfiguration property: Web application firewall configuration.

ApplicationGatewayInner withZones(List<String> zones)

Set the zones property: A list of availability zones denoting where the resource needs to come from.

List<String> zones()

Get the zones property: A list of availability zones denoting where the resource needs to come from.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ApplicationGatewayInner

public ApplicationGatewayInner()

Creates an instance of ApplicationGatewayInner class.

Method Details

authenticationCertificates

public List authenticationCertificates()

Get the authenticationCertificates property: 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.

autoscaleConfiguration

public ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration()

Get the autoscaleConfiguration property: Autoscale Configuration.

Returns:

the autoscaleConfiguration value.

backendAddressPools

public List backendAddressPools()

Get the backendAddressPools property: 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.

backendHttpSettingsCollection

public List backendHttpSettingsCollection()

Get the backendHttpSettingsCollection property: 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.

backendSettingsCollection

public List backendSettingsCollection()

Get the backendSettingsCollection property: Backend 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 backendSettingsCollection value.

customErrorConfigurations

public List customErrorConfigurations()

Get the customErrorConfigurations property: Custom error configurations of the application gateway resource.

Returns:

the customErrorConfigurations value.

defaultPredefinedSslPolicy

public ApplicationGatewaySslPolicyName defaultPredefinedSslPolicy()

Get the defaultPredefinedSslPolicy property: The default predefined SSL Policy applied on the application gateway resource.

Returns:

the defaultPredefinedSslPolicy value.

enableFips

public Boolean enableFips()

Get the enableFips property: Whether FIPS is enabled on the application gateway resource.

Returns:

the enableFips value.

enableHttp2

public Boolean enableHttp2()

Get the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.

Returns:

the enableHttp2 value.

etag

public String etag()

Get the etag property: A unique read-only string that changes whenever the resource is updated.

Returns:

the etag value.

firewallPolicy

public SubResource firewallPolicy()

Get the firewallPolicy property: Reference to the FirewallPolicy resource.

Returns:

the firewallPolicy value.

forceFirewallPolicyAssociation

public Boolean forceFirewallPolicyAssociation()

Get the forceFirewallPolicyAssociation property: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.

Returns:

the forceFirewallPolicyAssociation value.

fromJson

public static ApplicationGatewayInner fromJson(JsonReader jsonReader)

Reads an instance of ApplicationGatewayInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplicationGatewayInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

frontendIpConfigurations

public List frontendIpConfigurations()

Get the frontendIpConfigurations property: 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.

frontendPorts

public List frontendPorts()

Get the frontendPorts property: 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.

gatewayIpConfigurations

public List gatewayIpConfigurations()

Get the gatewayIpConfigurations property: 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.

globalConfiguration

public ApplicationGatewayGlobalConfiguration globalConfiguration()

Get the globalConfiguration property: Global Configuration.

Returns:

the globalConfiguration value.

httpListeners

public List httpListeners()

Get the httpListeners property: 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.

id

public String id()

Get the id property: Resource ID.

Overrides:

ApplicationGatewayInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The identity of the application gateway, if configured.

Returns:

the identity value.

listeners

public List listeners()

Get the listeners property: 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 listeners value.

loadDistributionPolicies

public List loadDistributionPolicies()

Get the loadDistributionPolicies property: Load distribution policies of the application gateway resource.

Returns:

the loadDistributionPolicies value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ApplicationGatewayInner.name()

Returns:

the name value.

operationalState

public ApplicationGatewayOperationalState operationalState()

Get the operationalState property: Operational state of the application gateway resource.

Returns:

the operationalState value.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: Private Endpoint connections on application gateway.

Returns:

the privateEndpointConnections value.

privateLinkConfigurations

public List privateLinkConfigurations()

Get the privateLinkConfigurations property: PrivateLink configurations on application gateway.

Returns:

the privateLinkConfigurations value.

probes

public List probes()

Get the probes property: Probes of the application gateway resource.

Returns:

the probes value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the application gateway resource.

Returns:

the provisioningState value.

redirectConfigurations

public List redirectConfigurations()

Get the redirectConfigurations property: 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.

requestRoutingRules

public List requestRoutingRules()

Get the requestRoutingRules property: Request routing rules of the application gateway resource.

Returns:

the requestRoutingRules value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: The resource GUID property of the application gateway resource.

Returns:

the resourceGuid value.

rewriteRuleSets

public List rewriteRuleSets()

Get the rewriteRuleSets property: Rewrite rules for the application gateway resource.

Returns:

the rewriteRuleSets value.

routingRules

public List routingRules()

Get the routingRules property: Routing rules of the application gateway resource.

Returns:

the routingRules value.

sku

public ApplicationGatewaySku sku()

Get the sku property: SKU of the application gateway resource.

Returns:

the sku value.

sslCertificates

public List sslCertificates()

Get the sslCertificates property: 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.

sslPolicy

public ApplicationGatewaySslPolicy sslPolicy()

Get the sslPolicy property: SSL policy of the application gateway resource.

Returns:

the sslPolicy value.

sslProfiles

public List sslProfiles()

Get the sslProfiles property: SSL profiles 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 sslProfiles value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ApplicationGatewayInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

trustedClientCertificates

public List trustedClientCertificates()

Get the trustedClientCertificates property: Trusted client 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 trustedClientCertificates value.

trustedRootCertificates

public List trustedRootCertificates()

Get the trustedRootCertificates property: 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.

type

public String type()

Get the type property: The type of the resource.

Overrides:

ApplicationGatewayInner.type()

Returns:

the type value.

urlPathMaps

public List urlPathMaps()

Get the urlPathMaps property: 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.

validate

public void validate()

Validates the instance.

webApplicationFirewallConfiguration

public ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()

Get the webApplicationFirewallConfiguration property: Web application firewall configuration.

Returns:

the webApplicationFirewallConfiguration value.

withAuthenticationCertificates

public ApplicationGatewayInner withAuthenticationCertificates(List authenticationCertificates)

Set the authenticationCertificates property: 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).

Parameters:

authenticationCertificates - the authenticationCertificates value to set.

Returns:

the ApplicationGatewayInner object itself.

withAutoscaleConfiguration

public ApplicationGatewayInner withAutoscaleConfiguration(ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration)

Set the autoscaleConfiguration property: Autoscale Configuration.

Parameters:

autoscaleConfiguration - the autoscaleConfiguration value to set.

Returns:

the ApplicationGatewayInner object itself.

withBackendAddressPools

public ApplicationGatewayInner withBackendAddressPools(List backendAddressPools)

Set the backendAddressPools property: 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).

Parameters:

backendAddressPools - the backendAddressPools value to set.

Returns:

the ApplicationGatewayInner object itself.

withBackendHttpSettingsCollection

public ApplicationGatewayInner withBackendHttpSettingsCollection(List backendHttpSettingsCollection)

Set the backendHttpSettingsCollection property: 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).

Parameters:

backendHttpSettingsCollection - the backendHttpSettingsCollection value to set.

Returns:

the ApplicationGatewayInner object itself.

withBackendSettingsCollection

public ApplicationGatewayInner withBackendSettingsCollection(List backendSettingsCollection)

Set the backendSettingsCollection property: Backend 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).

Parameters:

backendSettingsCollection - the backendSettingsCollection value to set.

Returns:

the ApplicationGatewayInner object itself.

withCustomErrorConfigurations

public ApplicationGatewayInner withCustomErrorConfigurations(List customErrorConfigurations)

Set the customErrorConfigurations property: Custom error configurations of the application gateway resource.

Parameters:

customErrorConfigurations - the customErrorConfigurations value to set.

Returns:

the ApplicationGatewayInner object itself.

withEnableFips

public ApplicationGatewayInner withEnableFips(Boolean enableFips)

Set the enableFips property: Whether FIPS is enabled on the application gateway resource.

Parameters:

enableFips - the enableFips value to set.

Returns:

the ApplicationGatewayInner object itself.

withEnableHttp2

public ApplicationGatewayInner withEnableHttp2(Boolean enableHttp2)

Set the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.

Parameters:

enableHttp2 - the enableHttp2 value to set.

Returns:

the ApplicationGatewayInner object itself.

withFirewallPolicy

public ApplicationGatewayInner withFirewallPolicy(SubResource firewallPolicy)

Set the firewallPolicy property: Reference to the FirewallPolicy resource.

Parameters:

firewallPolicy - the firewallPolicy value to set.

Returns:

the ApplicationGatewayInner object itself.

withForceFirewallPolicyAssociation

public ApplicationGatewayInner withForceFirewallPolicyAssociation(Boolean forceFirewallPolicyAssociation)

Set the forceFirewallPolicyAssociation property: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.

Parameters:

forceFirewallPolicyAssociation - the forceFirewallPolicyAssociation value to set.

Returns:

the ApplicationGatewayInner object itself.

withFrontendIpConfigurations

public ApplicationGatewayInner withFrontendIpConfigurations(List frontendIpConfigurations)

Set the frontendIpConfigurations property: 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).

Parameters:

frontendIpConfigurations - the frontendIpConfigurations value to set.

Returns:

the ApplicationGatewayInner object itself.

withFrontendPorts

public ApplicationGatewayInner withFrontendPorts(List frontendPorts)

Set the frontendPorts property: 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).

Parameters:

frontendPorts - the frontendPorts value to set.

Returns:

the ApplicationGatewayInner object itself.

withGatewayIpConfigurations

public ApplicationGatewayInner withGatewayIpConfigurations(List gatewayIpConfigurations)

Set the gatewayIpConfigurations property: 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).

Parameters:

gatewayIpConfigurations - the gatewayIpConfigurations value to set.

Returns:

the ApplicationGatewayInner object itself.

withGlobalConfiguration

public ApplicationGatewayInner withGlobalConfiguration(ApplicationGatewayGlobalConfiguration globalConfiguration)

Set the globalConfiguration property: Global Configuration.

Parameters:

globalConfiguration - the globalConfiguration value to set.

Returns:

the ApplicationGatewayInner object itself.

withHttpListeners

public ApplicationGatewayInner withHttpListeners(List httpListeners)

Set the httpListeners property: 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).

Parameters:

httpListeners - the httpListeners value to set.

Returns:

the ApplicationGatewayInner object itself.

withId

public ApplicationGatewayInner withId(String id)

Set the id property: Resource ID.

Parameters:

id - the id value to set.

Returns:

the ApplicationGatewayInner object itself.

withIdentity

public ApplicationGatewayInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The identity of the application gateway, if configured.

Parameters:

identity - the identity value to set.

Returns:

the ApplicationGatewayInner object itself.

withListeners

public ApplicationGatewayInner withListeners(List listeners)

Set the listeners property: 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).

Parameters:

listeners - the listeners value to set.

Returns:

the ApplicationGatewayInner object itself.

withLoadDistributionPolicies

public ApplicationGatewayInner withLoadDistributionPolicies(List loadDistributionPolicies)

Set the loadDistributionPolicies property: Load distribution policies of the application gateway resource.

Parameters:

loadDistributionPolicies - the loadDistributionPolicies value to set.

Returns:

the ApplicationGatewayInner object itself.

withLocation

public ApplicationGatewayInner withLocation(String location)

Overrides:

ApplicationGatewayInner.withLocation(String location)

Parameters:

location

withPrivateLinkConfigurations

public ApplicationGatewayInner withPrivateLinkConfigurations(List privateLinkConfigurations)

Set the privateLinkConfigurations property: PrivateLink configurations on application gateway.

Parameters:

privateLinkConfigurations - the privateLinkConfigurations value to set.

Returns:

the ApplicationGatewayInner object itself.

withProbes

public ApplicationGatewayInner withProbes(List probes)

Set the probes property: Probes of the application gateway resource.

Parameters:

probes - the probes value to set.

Returns:

the ApplicationGatewayInner object itself.

withRedirectConfigurations

public ApplicationGatewayInner withRedirectConfigurations(List redirectConfigurations)

Set the redirectConfigurations property: 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).

Parameters:

redirectConfigurations - the redirectConfigurations value to set.

Returns:

the ApplicationGatewayInner object itself.

withRequestRoutingRules

public ApplicationGatewayInner withRequestRoutingRules(List requestRoutingRules)

Set the requestRoutingRules property: Request routing rules of the application gateway resource.

Parameters:

requestRoutingRules - the requestRoutingRules value to set.

Returns:

the ApplicationGatewayInner object itself.

withRewriteRuleSets

public ApplicationGatewayInner withRewriteRuleSets(List rewriteRuleSets)

Set the rewriteRuleSets property: Rewrite rules for the application gateway resource.

Parameters:

rewriteRuleSets - the rewriteRuleSets value to set.

Returns:

the ApplicationGatewayInner object itself.

withRoutingRules

public ApplicationGatewayInner withRoutingRules(List routingRules)

Set the routingRules property: Routing rules of the application gateway resource.

Parameters:

routingRules - the routingRules value to set.

Returns:

the ApplicationGatewayInner object itself.

withSku

public ApplicationGatewayInner withSku(ApplicationGatewaySku sku)

Set the sku property: SKU of the application gateway resource.

Parameters:

sku - the sku value to set.

Returns:

the ApplicationGatewayInner object itself.

withSslCertificates

public ApplicationGatewayInner withSslCertificates(List sslCertificates)

Set the sslCertificates property: 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).

Parameters:

sslCertificates - the sslCertificates value to set.

Returns:

the ApplicationGatewayInner object itself.

withSslPolicy

public ApplicationGatewayInner withSslPolicy(ApplicationGatewaySslPolicy sslPolicy)

Set the sslPolicy property: SSL policy of the application gateway resource.

Parameters:

sslPolicy - the sslPolicy value to set.

Returns:

the ApplicationGatewayInner object itself.

withSslProfiles

public ApplicationGatewayInner withSslProfiles(List sslProfiles)

Set the sslProfiles property: SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits\#application-gateway-limits).

Parameters:

sslProfiles - the sslProfiles value to set.

Returns:

the ApplicationGatewayInner object itself.

withTags

public ApplicationGatewayInner withTags(Map tags)

Overrides:

ApplicationGatewayInner.withTags(Map<String,String> tags)

Parameters:

tags

withTrustedClientCertificates

public ApplicationGatewayInner withTrustedClientCertificates(List trustedClientCertificates)

Set the trustedClientCertificates property: Trusted client 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).

Parameters:

trustedClientCertificates - the trustedClientCertificates value to set.

Returns:

the ApplicationGatewayInner object itself.

withTrustedRootCertificates

public ApplicationGatewayInner withTrustedRootCertificates(List trustedRootCertificates)

Set the trustedRootCertificates property: 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).

Parameters:

trustedRootCertificates - the trustedRootCertificates value to set.

Returns:

the ApplicationGatewayInner object itself.

withUrlPathMaps

public ApplicationGatewayInner withUrlPathMaps(List urlPathMaps)

Set the urlPathMaps property: 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).

Parameters:

urlPathMaps - the urlPathMaps value to set.

Returns:

the ApplicationGatewayInner object itself.

withWebApplicationFirewallConfiguration

public ApplicationGatewayInner withWebApplicationFirewallConfiguration(ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration)

Set the webApplicationFirewallConfiguration property: Web application firewall configuration.

Parameters:

webApplicationFirewallConfiguration - the webApplicationFirewallConfiguration value to set.

Returns:

the ApplicationGatewayInner object itself.

withZones

public ApplicationGatewayInner withZones(List zones)

Set the zones property: A list of availability zones denoting where the resource needs to come from.

Parameters:

zones - the zones value to set.

Returns:

the ApplicationGatewayInner object itself.

zones

public List zones()

Get the zones property: A list of availability zones denoting where the resource needs to come from.

Returns:

the zones value.

Applies to