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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet custom error configurations of the HTTP listener.etag()
Get a unique read-only string that changes whenever the resource is updated.com.microsoft.azure.SubResource
Get reference to the FirewallPolicy resource.com.microsoft.azure.SubResource
Get frontend IP configuration resource of an application gateway.com.microsoft.azure.SubResource
Get frontend port resource of an application gateway.hostName()
Get host name of HTTP listener.Get list of Host names for HTTP Listener that allows special wildcard characters as well.name()
Get name of the HTTP listener that is unique within an Application Gateway.protocol()
Get protocol of the HTTP listener.Get the provisioning state of the HTTP listener resource.Get applicable only if protocol is https.com.microsoft.azure.SubResource
Get sSL certificate resource of an application gateway.type()
Get type of the resource.withCustomErrorConfigurations
(List<ApplicationGatewayCustomError> customErrorConfigurations) Set custom error configurations of the HTTP listener.withFirewallPolicy
(com.microsoft.azure.SubResource firewallPolicy) Set reference to the FirewallPolicy resource.withFrontendIPConfiguration
(com.microsoft.azure.SubResource frontendIPConfiguration) Set frontend IP configuration resource of an application gateway.withFrontendPort
(com.microsoft.azure.SubResource frontendPort) Set frontend port resource of an application gateway.withHostName
(String hostName) Set host name of HTTP listener.withHostnames
(List<String> hostnames) Set list of Host names for HTTP Listener that allows special wildcard characters as well.Set name of the HTTP listener that is unique within an Application Gateway.withProtocol
(ApplicationGatewayProtocol protocol) Set protocol of the HTTP listener.withRequireServerNameIndication
(Boolean requireServerNameIndication) Set applicable only if protocol is https.withSslCertificate
(com.microsoft.azure.SubResource sslCertificate) Set sSL certificate resource of an application gateway.Methods inherited from class com.microsoft.azure.SubResource
id, withId
-
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
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
Get host name of HTTP listener.- Returns:
- the hostName value
-
withHostName
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
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
Get the provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.- Returns:
- the provisioningState value
-
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
Get list of Host names for HTTP Listener that allows special wildcard characters as well.- Returns:
- the hostnames value
-
withHostnames
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
Get name of the HTTP listener that is unique within an Application Gateway.- Returns:
- the name value
-
withName
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
Get a unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value
-
type
Get type of the resource.- Returns:
- the type value
-