Class ApplicationGatewayPropertiesFormat


  • public final class ApplicationGatewayPropertiesFormat
    extends Object
    Properties of the application gateway.
    • Constructor Detail

      • ApplicationGatewayPropertiesFormat

        public ApplicationGatewayPropertiesFormat()
    • Method Detail

      • sku

        public ApplicationGatewaySku sku()
        Get the sku property: SKU of the application gateway resource.
        Returns:
        the sku value.
      • sslPolicy

        public ApplicationGatewaySslPolicy sslPolicy()
        Get the sslPolicy property: SSL policy of the application gateway resource.
        Returns:
        the sslPolicy value.
      • withSslPolicy

        public ApplicationGatewayPropertiesFormat withSslPolicy​(ApplicationGatewaySslPolicy sslPolicy)
        Set the sslPolicy property: SSL policy of the application gateway resource.
        Parameters:
        sslPolicy - the sslPolicy value to set.
        Returns:
        the ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat object itself.
      • rewriteRuleSets

        public List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets()
        Get the rewriteRuleSets property: Rewrite rules for the application gateway resource.
        Returns:
        the rewriteRuleSets value.
      • withRewriteRuleSets

        public ApplicationGatewayPropertiesFormat withRewriteRuleSets​(List<ApplicationGatewayRewriteRuleSet> rewriteRuleSets)
        Set the rewriteRuleSets property: Rewrite rules for the application gateway resource.
        Parameters:
        rewriteRuleSets - the rewriteRuleSets value to set.
        Returns:
        the ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat object itself.
      • webApplicationFirewallConfiguration

        public ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration()
        Get the webApplicationFirewallConfiguration property: Web application firewall configuration.
        Returns:
        the webApplicationFirewallConfiguration value.
      • withWebApplicationFirewallConfiguration

        public ApplicationGatewayPropertiesFormat withWebApplicationFirewallConfiguration​(ApplicationGatewayWebApplicationFirewallConfiguration webApplicationFirewallConfiguration)
        Set the webApplicationFirewallConfiguration property: Web application firewall configuration.
        Parameters:
        webApplicationFirewallConfiguration - the webApplicationFirewallConfiguration value to set.
        Returns:
        the ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat object itself.
      • autoscaleConfiguration

        public ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration()
        Get the autoscaleConfiguration property: Autoscale Configuration.
        Returns:
        the autoscaleConfiguration value.
      • withAutoscaleConfiguration

        public ApplicationGatewayPropertiesFormat withAutoscaleConfiguration​(ApplicationGatewayAutoscaleConfiguration autoscaleConfiguration)
        Set the autoscaleConfiguration property: Autoscale Configuration.
        Parameters:
        autoscaleConfiguration - the autoscaleConfiguration value to set.
        Returns:
        the ApplicationGatewayPropertiesFormat object itself.
      • privateLinkConfigurations

        public List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations()
        Get the privateLinkConfigurations property: PrivateLink configurations on application gateway.
        Returns:
        the privateLinkConfigurations value.
      • withPrivateLinkConfigurations

        public ApplicationGatewayPropertiesFormat withPrivateLinkConfigurations​(List<ApplicationGatewayPrivateLinkConfiguration> privateLinkConfigurations)
        Set the privateLinkConfigurations property: PrivateLink configurations on application gateway.
        Parameters:
        privateLinkConfigurations - the privateLinkConfigurations value to set.
        Returns:
        the ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat 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 ApplicationGatewayPropertiesFormat object itself.
      • globalConfiguration

        public ApplicationGatewayGlobalConfiguration globalConfiguration()
        Get the globalConfiguration property: Global Configuration.
        Returns:
        the globalConfiguration value.
      • validate

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