Class ApplicationGatewayInner


  • public final class ApplicationGatewayInner
    extends com.azure.core.management.Resource
    Application gateway resource.
    • Constructor Detail

      • ApplicationGatewayInner

        public ApplicationGatewayInner()
    • Method Detail

      • etag

        public String etag()
        Get the etag property: A unique read-only string that changes whenever the resource is updated.
        Returns:
        the etag value.
      • zones

        public List<String> zones()
        Get the zones property: A list of availability zones denoting where the resource needs to come from.
        Returns:
        the zones value.
      • withZones

        public ApplicationGatewayInner withZones​(List<String> 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.
      • identity

        public ManagedServiceIdentity identity()
        Get the identity property: The identity of the application gateway, if configured.
        Returns:
        the identity value.
      • 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.
      • id

        public String id()
        Get the id property: Resource ID.
        Overrides:
        id in class com.azure.core.management.ProxyResource
        Returns:
        the id value.
      • withId

        public ApplicationGatewayInner withId​(String id)
        Set the id property: Resource ID.
        Parameters:
        id - the id value to set.
        Returns:
        the ApplicationGatewayInner object itself.
      • withLocation

        public ApplicationGatewayInner withLocation​(String location)
        Overrides:
        withLocation in class com.azure.core.management.Resource
      • sku

        public ApplicationGatewaySku sku()
        Get the sku property: SKU of the application gateway resource.
        Returns:
        the sku value.
      • 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.
      • sslPolicy

        public ApplicationGatewaySslPolicy sslPolicy()
        Get the sslPolicy property: SSL policy of the application gateway resource.
        Returns:
        the sslPolicy value.
      • 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.
      • operationalState

        public ApplicationGatewayOperationalState operationalState()
        Get the operationalState property: Operational state of the application gateway resource.
        Returns:
        the operationalState value.
      • gatewayIpConfigurations

        public List<ApplicationGatewayIpConfigurationInner> 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

        public List<ApplicationGatewayAuthenticationCertificateInner> 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

        public List<ApplicationGatewayTrustedRootCertificate> 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

        public List<ApplicationGatewayTrustedClientCertificate> 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

        public List<ApplicationGatewaySslCertificateInner> 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

        public List<ApplicationGatewayFrontendIpConfiguration> 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

        public List<ApplicationGatewayFrontendPort> 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.
      • backendAddressPools

        public List<ApplicationGatewayBackendAddressPool> 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

        public List<ApplicationGatewayBackendHttpSettings> 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.
      • httpListeners

        public List<ApplicationGatewayHttpListener> 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.
      • sslProfiles

        public List<ApplicationGatewaySslProfile> 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

        public ApplicationGatewayInner withSslProfiles​(List<ApplicationGatewaySslProfile> 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.
      • urlPathMaps

        public List<ApplicationGatewayUrlPathMapInner> 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

        public ApplicationGatewayInner withUrlPathMaps​(List<ApplicationGatewayUrlPathMapInner> 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.
      • requestRoutingRules

        public List<ApplicationGatewayRequestRoutingRuleInner> 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.
      • rewriteRuleSets

        public List<ApplicationGatewayRewriteRuleSet> 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

        public List<ApplicationGatewayRedirectConfigurationInner> 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

        public ApplicationGatewayWebApplicationFirewallConfiguration 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

        public Boolean enableHttp2()
        Get the enableHttp2 property: Whether HTTP2 is enabled on the application gateway resource.
        Returns:
        the enableHttp2 value.
      • 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.
      • enableFips

        public Boolean enableFips()
        Get the enableFips property: Whether FIPS is enabled on the application gateway resource.
        Returns:
        the enableFips value.
      • 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.
      • autoscaleConfiguration

        public ApplicationGatewayAutoscaleConfiguration 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

        public List<ApplicationGatewayPrivateLinkConfiguration> 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

        public List<ApplicationGatewayPrivateEndpointConnectionInner> privateEndpointConnections()
        Get the privateEndpointConnections property: Private Endpoint connections on application gateway.
        Returns:
        the privateEndpointConnections value.
      • resourceGuid

        public String resourceGuid()
        Get the resourceGuid property: The resource GUID property of the application gateway resource.
        Returns:
        the resourceGuid value.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: The provisioning state of the application gateway resource.
        Returns:
        the provisioningState value.
      • customErrorConfigurations

        public List<ApplicationGatewayCustomError> 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

        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.
      • 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

        public List<ApplicationGatewayLoadDistributionPolicy> 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

        public ApplicationGatewayGlobalConfiguration 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.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.