ApplicationGatewayHttpListener Class

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

Constructor Description
ApplicationGatewayHttpListener()

Method Summary

Modifier and Type Method and Description
java.util.List<ApplicationGatewayCustomError> customErrorConfigurations()

Get custom error configurations of the HTTP listener.

java.lang.String etag()

Get a unique read-only string that changes whenever the resource is updated.

com.microsoft.azure.SubResource firewallPolicy()

Get reference to the FirewallPolicy resource.

com.microsoft.azure.SubResource frontendIPConfiguration()

Get frontend IP configuration resource of an application gateway.

com.microsoft.azure.SubResource frontendPort()

Get frontend port resource of an application gateway.

java.lang.String hostName()

Get host name of HTTP listener.

java.util.List<java.lang.String> hostnames()

Get list of Host names for HTTP Listener that allows special wildcard characters as well.

java.lang.String name()

Get name of the HTTP listener that is unique within an Application Gateway.

ApplicationGatewayProtocol protocol()

Get protocol of the HTTP listener.

ProvisioningState provisioningState()

Get the provisioning state of the HTTP listener resource.

java.lang.Boolean requireServerNameIndication()

Get applicable only if protocol is https.

com.microsoft.azure.SubResource sslCertificate()

Get sSL certificate resource of an application gateway.

java.lang.String type()

Get type of the resource.

ApplicationGatewayHttpListener withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations)

Set custom error configurations of the HTTP listener.

ApplicationGatewayHttpListener withFirewallPolicy(SubResource firewallPolicy)

Set reference to the FirewallPolicy resource.

ApplicationGatewayHttpListener withFrontendIPConfiguration(SubResource frontendIPConfiguration)

Set frontend IP configuration resource of an application gateway.

ApplicationGatewayHttpListener withFrontendPort(SubResource frontendPort)

Set frontend port resource of an application gateway.

ApplicationGatewayHttpListener withHostName(String hostName)

Set host name of HTTP listener.

ApplicationGatewayHttpListener withHostnames(List<String> hostnames)

Set list of Host names for HTTP Listener that allows special wildcard characters as well.

ApplicationGatewayHttpListener withName(String name)

Set name of the HTTP listener that is unique within an Application Gateway.

ApplicationGatewayHttpListener withProtocol(ApplicationGatewayProtocol protocol)

Set protocol of the HTTP listener.

ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean requireServerNameIndication)

Set applicable only if protocol is https.

ApplicationGatewayHttpListener withSslCertificate(SubResource sslCertificate)

Set sSL certificate resource of an application gateway.

Methods inherited from com.microsoft.azure.SubResource

com.microsoft.azure.SubResource.id com.microsoft.azure.SubResource.withId

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ApplicationGatewayHttpListener

public ApplicationGatewayHttpListener()

Method Details

customErrorConfigurations

public List customErrorConfigurations()

Get custom error configurations of the HTTP listener.

Returns:

the customErrorConfigurations value

etag

public String etag()

Get a unique read-only string that changes whenever the resource is updated.

Returns:

the etag value

firewallPolicy

public SubResource firewallPolicy()

Get reference to the FirewallPolicy resource.

Returns:

the firewallPolicy value

frontendIPConfiguration

public SubResource frontendIPConfiguration()

Get frontend IP configuration resource of an application gateway.

Returns:

the frontendIPConfiguration value

frontendPort

public SubResource frontendPort()

Get frontend port resource of an application gateway.

Returns:

the frontendPort value

hostName

public String hostName()

Get host name of HTTP listener.

Returns:

the hostName value

hostnames

public List hostnames()

Get list of Host names for HTTP Listener that allows special wildcard characters as well.

Returns:

the hostnames value

name

public String name()

Get name of the HTTP listener that is unique within an Application Gateway.

Returns:

the name value

protocol

public ApplicationGatewayProtocol protocol()

Get protocol of the HTTP listener. Possible values include: 'Http', 'Https'.

Returns:

the protocol value

provisioningState

public ProvisioningState provisioningState()

Get the provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.

Returns:

the provisioningState value

requireServerNameIndication

public Boolean requireServerNameIndication()

Get applicable only if protocol is https. Enables SNI for multi-hosting.

Returns:

the requireServerNameIndication value

sslCertificate

public SubResource sslCertificate()

Get sSL certificate resource of an application gateway.

Returns:

the sslCertificate value

type

public String type()

Get type of the resource.

Returns:

the type value

withCustomErrorConfigurations

public ApplicationGatewayHttpListener withCustomErrorConfigurations(List customErrorConfigurations)

Set custom error configurations of the HTTP listener.

Parameters:

customErrorConfigurations - the customErrorConfigurations value to set

Returns:

the ApplicationGatewayHttpListener object itself.

withFirewallPolicy

public ApplicationGatewayHttpListener withFirewallPolicy(SubResource firewallPolicy)

Set reference to the FirewallPolicy resource.

Parameters:

firewallPolicy - the firewallPolicy value to set

Returns:

the ApplicationGatewayHttpListener object itself.

withFrontendIPConfiguration

public ApplicationGatewayHttpListener withFrontendIPConfiguration(SubResource frontendIPConfiguration)

Set frontend IP configuration resource of an application gateway.

Parameters:

frontendIPConfiguration - the frontendIPConfiguration value to set

Returns:

the ApplicationGatewayHttpListener object itself.

withFrontendPort

public ApplicationGatewayHttpListener withFrontendPort(SubResource frontendPort)

Set frontend port resource of an application gateway.

Parameters:

frontendPort - the frontendPort value to set

Returns:

the ApplicationGatewayHttpListener object itself.

withHostName

public ApplicationGatewayHttpListener withHostName(String hostName)

Set host name of HTTP listener.

Parameters:

hostName - the hostName value to set

Returns:

the ApplicationGatewayHttpListener object itself.

withHostnames

public ApplicationGatewayHttpListener withHostnames(List 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.

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.

withProtocol

public ApplicationGatewayHttpListener withProtocol(ApplicationGatewayProtocol protocol)

Set protocol of the HTTP listener. Possible values include: 'Http', 'Https'.

Parameters:

protocol - the protocol value to set

Returns:

the ApplicationGatewayHttpListener object itself.

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.

withSslCertificate

public ApplicationGatewayHttpListener withSslCertificate(SubResource sslCertificate)

Set sSL certificate resource of an application gateway.

Parameters:

sslCertificate - the sslCertificate value to set

Returns:

the ApplicationGatewayHttpListener object itself.

Applies to