Class ApplicationGatewayHttpListener

java.lang.Object
com.microsoft.azure.SubResource
com.microsoft.azure.management.network.ApplicationGatewayHttpListener

public class ApplicationGatewayHttpListener extends com.microsoft.azure.SubResource
Http listener of an application gateway.
  • Constructor Details

    • ApplicationGatewayHttpListener

      public ApplicationGatewayHttpListener()
  • Method Details

    • frontendIPConfiguration

      public com.microsoft.azure.SubResource frontendIPConfiguration()
      Get frontend IP configuration resource of an application gateway.
      Returns:
      the frontendIPConfiguration value
    • withFrontendIPConfiguration

      public ApplicationGatewayHttpListener withFrontendIPConfiguration(com.microsoft.azure.SubResource frontendIPConfiguration)
      Set frontend IP configuration resource of an application gateway.
      Parameters:
      frontendIPConfiguration - the frontendIPConfiguration value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • frontendPort

      public com.microsoft.azure.SubResource frontendPort()
      Get frontend port resource of an application gateway.
      Returns:
      the frontendPort value
    • withFrontendPort

      public ApplicationGatewayHttpListener withFrontendPort(com.microsoft.azure.SubResource frontendPort)
      Set frontend port resource of an application gateway.
      Parameters:
      frontendPort - the frontendPort value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • protocol

      public ApplicationGatewayProtocol protocol()
      Get protocol of the HTTP listener. Possible values include: 'Http', 'Https'.
      Returns:
      the protocol value
    • withProtocol

      Set protocol of the HTTP listener. Possible values include: 'Http', 'Https'.
      Parameters:
      protocol - the protocol value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • hostName

      public String hostName()
      Get host name of HTTP listener.
      Returns:
      the hostName value
    • withHostName

      public ApplicationGatewayHttpListener withHostName(String hostName)
      Set host name of HTTP listener.
      Parameters:
      hostName - the hostName value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • sslCertificate

      public com.microsoft.azure.SubResource sslCertificate()
      Get sSL certificate resource of an application gateway.
      Returns:
      the sslCertificate value
    • withSslCertificate

      public ApplicationGatewayHttpListener withSslCertificate(com.microsoft.azure.SubResource sslCertificate)
      Set sSL certificate resource of an application gateway.
      Parameters:
      sslCertificate - the sslCertificate value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • requireServerNameIndication

      public Boolean requireServerNameIndication()
      Get applicable only if protocol is https. Enables SNI for multi-hosting.
      Returns:
      the requireServerNameIndication value
    • withRequireServerNameIndication

      public ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean requireServerNameIndication)
      Set applicable only if protocol is https. Enables SNI for multi-hosting.
      Parameters:
      requireServerNameIndication - the requireServerNameIndication value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
      Returns:
      the provisioningState value
    • customErrorConfigurations

      public List<ApplicationGatewayCustomError> customErrorConfigurations()
      Get custom error configurations of the HTTP listener.
      Returns:
      the customErrorConfigurations value
    • withCustomErrorConfigurations

      public ApplicationGatewayHttpListener withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations)
      Set custom error configurations of the HTTP listener.
      Parameters:
      customErrorConfigurations - the customErrorConfigurations value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • firewallPolicy

      public com.microsoft.azure.SubResource firewallPolicy()
      Get reference to the FirewallPolicy resource.
      Returns:
      the firewallPolicy value
    • withFirewallPolicy

      public ApplicationGatewayHttpListener withFirewallPolicy(com.microsoft.azure.SubResource firewallPolicy)
      Set reference to the FirewallPolicy resource.
      Parameters:
      firewallPolicy - the firewallPolicy value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • hostnames

      public List<String> hostnames()
      Get list of Host names for HTTP Listener that allows special wildcard characters as well.
      Returns:
      the hostnames value
    • withHostnames

      public ApplicationGatewayHttpListener withHostnames(List<String> hostnames)
      Set list of Host names for HTTP Listener that allows special wildcard characters as well.
      Parameters:
      hostnames - the hostnames value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • name

      public String name()
      Get name of the HTTP listener that is unique within an Application Gateway.
      Returns:
      the name value
    • withName

      public ApplicationGatewayHttpListener withName(String name)
      Set name of the HTTP listener that is unique within an Application Gateway.
      Parameters:
      name - the name value to set
      Returns:
      the ApplicationGatewayHttpListener object itself.
    • etag

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

      public String type()
      Get type of the resource.
      Returns:
      the type value