Class ApplicationGatewayInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.ApplicationGatewayInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ApplicationGatewayInner
extends com.azure.core.management.Resource
Application gateway resource.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGatewayInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the authenticationCertificates property: Authentication certificates of the application gateway resource.Get the autoscaleConfiguration property: Autoscale Configuration.Get the backendAddressPools property: Backend address pool of the application gateway resource.Get the backendHttpSettingsCollection property: Backend http settings of the application gateway resource.Get the backendSettingsCollection property: Backend settings of the application gateway resource.Get the customErrorConfigurations property: Custom error configurations of the application gateway resource.Get the defaultPredefinedSslPolicy property: The default predefined SSL Policy applied on the application gateway resource.Get the enableFips property: Whether FIPS is enabled on the application gateway resource.Get the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.com.azure.core.management.SubResourceGet the firewallPolicy property: Reference to the FirewallPolicy resource.Get the forceFirewallPolicyAssociation property: If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config.static ApplicationGatewayInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ApplicationGatewayInner from the JsonReader.Get the frontendIpConfigurations property: Frontend IP addresses of the application gateway resource.Get the frontendPorts property: Frontend ports of the application gateway resource.Get the gatewayIpConfigurations property: Subnets of the application gateway resource.Get the globalConfiguration property: Global Configuration.Get the httpListeners property: Http listeners of the application gateway resource.id()Get the id property: Resource ID.identity()Get the identity property: The identity of the application gateway, if configured.Get the listeners property: Listeners of the application gateway resource.Get the loadDistributionPolicies property: Load distribution policies of the application gateway resource.name()Get the name property: The name of the resource.Get the operationalState property: Operational state of the application gateway resource.Get the privateEndpointConnections property: Private Endpoint connections on application gateway.Get the privateLinkConfigurations property: PrivateLink configurations on application gateway.probes()Get the probes property: Probes of the application gateway resource.Get the provisioningState property: The provisioning state of the application gateway resource.Get the redirectConfigurations property: Redirect configurations of the application gateway resource.Get the requestRoutingRules property: Request routing rules of the application gateway resource.Get the resourceGuid property: The resource GUID property of the application gateway resource.Get the rewriteRuleSets property: Rewrite rules for the application gateway resource.Get the routingRules property: Routing rules of the application gateway resource.sku()Get the sku property: SKU of the application gateway resource.Get the sslCertificates property: SSL certificates of the application gateway resource.Get the sslPolicy property: SSL policy of the application gateway resource.Get the sslProfiles property: SSL profiles of the application gateway resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the trustedClientCertificates property: Trusted client certificates of the application gateway resource.Get the trustedRootCertificates property: Trusted Root certificates of the application gateway resource.type()Get the type property: The type of the resource.Get the urlPathMaps property: URL path map of the application gateway resource.voidvalidate()Validates the instance.Get the webApplicationFirewallConfiguration property: Web application firewall configuration.withAuthenticationCertificates(List<ApplicationGatewayAuthenticationCertificateInner> authenticationCertificates) Set the authenticationCertificates property: Authentication certificates of the application gateway resource.withAutoscaleConfiguration(ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration) Set the autoscaleConfiguration property: Autoscale Configuration.withBackendAddressPools(List<ApplicationGatewayBackendAddressPool> backendAddressPools) Set the backendAddressPools property: Backend address pool of the application gateway resource.withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHttpSettings> backendHttpSettingsCollection) Set the backendHttpSettingsCollection property: Backend http settings of the application gateway resource.withBackendSettingsCollection(List<ApplicationGatewayBackendSettings> backendSettingsCollection) Set the backendSettingsCollection property: Backend settings of the application gateway resource.withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations) Set the customErrorConfigurations property: Custom error configurations of the application gateway resource.withEnableFips(Boolean enableFips) Set the enableFips property: Whether FIPS is enabled on the application gateway resource.withEnableHttp2(Boolean enableHttp2) Set the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy) Set the firewallPolicy property: Reference to the FirewallPolicy resource.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.withFrontendIpConfigurations(List<ApplicationGatewayFrontendIpConfiguration> frontendIpConfigurations) Set the frontendIpConfigurations property: Frontend IP addresses of the application gateway resource.withFrontendPorts(List<ApplicationGatewayFrontendPort> frontendPorts) Set the frontendPorts property: Frontend ports of the application gateway resource.withGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> gatewayIpConfigurations) Set the gatewayIpConfigurations property: Subnets of the application gateway resource.withGlobalConfiguration(ApplicationGatewayGlobalConfiguration globalConfiguration) Set the globalConfiguration property: Global Configuration.withHttpListeners(List<ApplicationGatewayHttpListener> httpListeners) Set the httpListeners property: Http listeners of the application gateway resource.Set the id property: Resource ID.withIdentity(ManagedServiceIdentity identity) Set the identity property: The identity of the application gateway, if configured.withListeners(List<ApplicationGatewayListenerInner> listeners) Set the listeners property: Listeners of the application gateway resource.withLoadDistributionPolicies(List<ApplicationGatewayLoadDistributionPolicy> loadDistributionPolicies) Set the loadDistributionPolicies property: Load distribution policies of the application gateway resource.withLocation(String location) withPrivateLinkConfigurations(List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations) Set the privateLinkConfigurations property: PrivateLink configurations on application gateway.withProbes(List<ApplicationGatewayProbeInner> probes) Set the probes property: Probes of the application gateway resource.withRedirectConfigurations(List<ApplicationGatewayRedirectConfigurationInner> redirectConfigurations) Set the redirectConfigurations property: Redirect configurations of the application gateway resource.withRequestRoutingRules(List<ApplicationGatewayRequestRoutingRuleInner> requestRoutingRules) Set the requestRoutingRules property: Request routing rules of the application gateway resource.withRewriteRuleSets(List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets) Set the rewriteRuleSets property: Rewrite rules for the application gateway resource.withRoutingRules(List<ApplicationGatewayRoutingRule> routingRules) Set the routingRules property: Routing rules of the application gateway resource.Set the sku property: SKU of the application gateway resource.withSslCertificates(List<ApplicationGatewaySslCertificateInner> sslCertificates) Set the sslCertificates property: SSL certificates of the application gateway resource.withSslPolicy(ApplicationGatewaySslPolicy sslPolicy) Set the sslPolicy property: SSL policy of the application gateway resource.withSslProfiles(List<ApplicationGatewaySslProfile> sslProfiles) Set the sslProfiles property: SSL profiles of the application gateway resource.withTrustedClientCertificates(List<ApplicationGatewayTrustedClientCertificate> trustedClientCertificates) Set the trustedClientCertificates property: Trusted client certificates of the application gateway resource.withTrustedRootCertificates(List<ApplicationGatewayTrustedRootCertificate> trustedRootCertificates) Set the trustedRootCertificates property: Trusted Root certificates of the application gateway resource.withUrlPathMaps(List<ApplicationGatewayUrlPathMapInner> urlPathMaps) Set the urlPathMaps property: URL path map of the application gateway resource.withWebApplicationFirewallConfiguration(ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration) Set the webApplicationFirewallConfiguration property: Web application firewall configuration.Set the zones property: A list of availability zones denoting where the resource needs to come from.zones()Get the zones property: A list of availability zones denoting where the resource needs to come from.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ApplicationGatewayInner
public ApplicationGatewayInner()Creates an instance of ApplicationGatewayInner class.
-
-
Method Details
-
etag
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
zones
Get the zones property: A list of availability zones denoting where the resource needs to come from.- Returns:
- the zones value.
-
withZones
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.
-
identity
Get the identity property: The identity of the application gateway, if configured.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the application gateway, if configured.- Parameters:
identity- the identity value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
sku
Get the sku property: SKU of the application gateway resource.- Returns:
- the sku value.
-
withSku
Set the sku property: SKU of the application gateway resource.- Parameters:
sku- the sku value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
sslPolicy
Get the sslPolicy property: SSL policy of the application gateway resource.- Returns:
- the sslPolicy value.
-
withSslPolicy
Set the sslPolicy property: SSL policy of the application gateway resource.- Parameters:
sslPolicy- the sslPolicy value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
operationalState
Get the operationalState property: Operational state of the application gateway resource.- Returns:
- the operationalState value.
-
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.
-
withGatewayIpConfigurations
public ApplicationGatewayInner withGatewayIpConfigurations(List<ApplicationGatewayIpConfigurationInner> 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.
-
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.
-
withAuthenticationCertificates
public ApplicationGatewayInner withAuthenticationCertificates(List<ApplicationGatewayAuthenticationCertificateInner> 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.
-
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.
-
withTrustedRootCertificates
public ApplicationGatewayInner withTrustedRootCertificates(List<ApplicationGatewayTrustedRootCertificate> 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.
-
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.
-
withTrustedClientCertificates
public ApplicationGatewayInner withTrustedClientCertificates(List<ApplicationGatewayTrustedClientCertificate> 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.
-
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.
-
withSslCertificates
public ApplicationGatewayInner withSslCertificates(List<ApplicationGatewaySslCertificateInner> 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.
-
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.
-
withFrontendIpConfigurations
public ApplicationGatewayInner withFrontendIpConfigurations(List<ApplicationGatewayFrontendIpConfiguration> 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.
-
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.
-
withFrontendPorts
public ApplicationGatewayInner withFrontendPorts(List<ApplicationGatewayFrontendPort> 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.
-
probes
Get the probes property: Probes of the application gateway resource.- Returns:
- the probes value.
-
withProbes
Set the probes property: Probes of the application gateway resource.- Parameters:
probes- the probes value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
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.
-
withBackendAddressPools
public ApplicationGatewayInner withBackendAddressPools(List<ApplicationGatewayBackendAddressPool> 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.
-
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.
-
withBackendHttpSettingsCollection
public ApplicationGatewayInner withBackendHttpSettingsCollection(List<ApplicationGatewayBackendHttpSettings> 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.
-
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.
-
withBackendSettingsCollection
public ApplicationGatewayInner withBackendSettingsCollection(List<ApplicationGatewayBackendSettings> 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.
-
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.
-
withHttpListeners
public ApplicationGatewayInner withHttpListeners(List<ApplicationGatewayHttpListener> 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.
-
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.
-
withListeners
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.
-
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.
-
withSslProfiles
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.
-
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.
-
withUrlPathMaps
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.
-
requestRoutingRules
Get the requestRoutingRules property: Request routing rules of the application gateway resource.- Returns:
- the requestRoutingRules value.
-
withRequestRoutingRules
public ApplicationGatewayInner withRequestRoutingRules(List<ApplicationGatewayRequestRoutingRuleInner> 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.
-
routingRules
Get the routingRules property: Routing rules of the application gateway resource.- Returns:
- the routingRules value.
-
withRoutingRules
Set the routingRules property: Routing rules of the application gateway resource.- Parameters:
routingRules- the routingRules value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
rewriteRuleSets
Get the rewriteRuleSets property: Rewrite rules for the application gateway resource.- Returns:
- the rewriteRuleSets value.
-
withRewriteRuleSets
public ApplicationGatewayInner withRewriteRuleSets(List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets) Set the rewriteRuleSets property: Rewrite rules for the application gateway resource.- Parameters:
rewriteRuleSets- the rewriteRuleSets value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
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.
-
withRedirectConfigurations
public ApplicationGatewayInner withRedirectConfigurations(List<ApplicationGatewayRedirectConfigurationInner> 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.
-
webApplicationFirewallConfiguration
Get the webApplicationFirewallConfiguration property: Web application firewall configuration.- Returns:
- the webApplicationFirewallConfiguration value.
-
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.
-
firewallPolicy
public com.azure.core.management.SubResource firewallPolicy()Get the firewallPolicy property: Reference to the FirewallPolicy resource.- Returns:
- the firewallPolicy value.
-
withFirewallPolicy
public ApplicationGatewayInner withFirewallPolicy(com.azure.core.management.SubResource firewallPolicy) Set the firewallPolicy property: Reference to the FirewallPolicy resource.- Parameters:
firewallPolicy- the firewallPolicy value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
enableHttp2
Get the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.- Returns:
- the enableHttp2 value.
-
withEnableHttp2
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.
-
enableFips
Get the enableFips property: Whether FIPS is enabled on the application gateway resource.- Returns:
- the enableFips value.
-
withEnableFips
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.
-
autoscaleConfiguration
Get the autoscaleConfiguration property: Autoscale Configuration.- Returns:
- the autoscaleConfiguration value.
-
withAutoscaleConfiguration
public ApplicationGatewayInner withAutoscaleConfiguration(ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration) Set the autoscaleConfiguration property: Autoscale Configuration.- Parameters:
autoscaleConfiguration- the autoscaleConfiguration value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
privateLinkConfigurations
Get the privateLinkConfigurations property: PrivateLink configurations on application gateway.- Returns:
- the privateLinkConfigurations value.
-
withPrivateLinkConfigurations
public ApplicationGatewayInner withPrivateLinkConfigurations(List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations) Set the privateLinkConfigurations property: PrivateLink configurations on application gateway.- Parameters:
privateLinkConfigurations- the privateLinkConfigurations value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
privateEndpointConnections
Get the privateEndpointConnections property: Private Endpoint connections on application gateway.- Returns:
- the privateEndpointConnections value.
-
resourceGuid
Get the resourceGuid property: The resource GUID property of the application gateway resource.- Returns:
- the resourceGuid value.
-
provisioningState
Get the provisioningState property: The provisioning state of the application gateway resource.- Returns:
- the provisioningState value.
-
customErrorConfigurations
Get the customErrorConfigurations property: Custom error configurations of the application gateway resource.- Returns:
- the customErrorConfigurations value.
-
withCustomErrorConfigurations
public ApplicationGatewayInner withCustomErrorConfigurations(List<ApplicationGatewayCustomError> 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.
-
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.
-
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.
-
loadDistributionPolicies
Get the loadDistributionPolicies property: Load distribution policies of the application gateway resource.- Returns:
- the loadDistributionPolicies value.
-
withLoadDistributionPolicies
public ApplicationGatewayInner withLoadDistributionPolicies(List<ApplicationGatewayLoadDistributionPolicy> 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.
-
globalConfiguration
Get the globalConfiguration property: Global Configuration.- Returns:
- the globalConfiguration value.
-
withGlobalConfiguration
public ApplicationGatewayInner withGlobalConfiguration(ApplicationGatewayGlobalConfiguration globalConfiguration) Set the globalConfiguration property: Global Configuration.- Parameters:
globalConfiguration- the globalConfiguration value to set.- Returns:
- the ApplicationGatewayInner object itself.
-
defaultPredefinedSslPolicy
Get the defaultPredefinedSslPolicy property: The default predefined SSL Policy applied on the application gateway resource.- Returns:
- the defaultPredefinedSslPolicy value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.Resource- Throws:
IOException
-
fromJson
public static ApplicationGatewayInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ApplicationGatewayInner.
-