ApplicationGatewayHttpListener Class
- java.
lang. Object - com.
microsoft. azure. SubResource - com.
microsoft. azure. management. network. ApplicationGatewayHttpListener
- com.
- com.
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<Application |
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 Firewall |
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. |
Application |
protocol()
Get protocol of the HTTP listener. |
Provisioning |
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. |
Application |
withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations)
Set custom error configurations of the HTTP listener. |
Application |
withFirewallPolicy(SubResource firewallPolicy)
Set reference to the Firewall |
Application |
withFrontendIPConfiguration(SubResource frontendIPConfiguration)
Set frontend IP configuration resource of an application gateway. |
Application |
withFrontendPort(SubResource frontendPort)
Set frontend port resource of an application gateway. |
Application |
withHostName(String hostName)
Set host name of HTTP listener. |
Application |
withHostnames(List<String> hostnames)
Set list of Host names for HTTP Listener that allows special wildcard characters as well. |
Application |
withName(String name)
Set name of the HTTP listener that is unique within an Application Gateway. |
Application |
withProtocol(ApplicationGatewayProtocol protocol)
Set protocol of the HTTP listener. |
Application |
withRequireServerNameIndication(Boolean requireServerNameIndication)
Set applicable only if protocol is https. |
Application |
withSslCertificate(SubResource sslCertificate)
Set sSL certificate resource of an application gateway. |
Methods inherited from com.microsoft.azure.SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayHttpListener
public ApplicationGatewayHttpListener()
Method Details
customErrorConfigurations
public List
Get custom error configurations of the HTTP listener.
Returns:
etag
public String etag()
Get a unique read-only string that changes whenever the resource is updated.
Returns:
firewallPolicy
public SubResource firewallPolicy()
Get reference to the FirewallPolicy resource.
Returns:
frontendIPConfiguration
public SubResource frontendIPConfiguration()
Get frontend IP configuration resource of an application gateway.
Returns:
frontendPort
public SubResource frontendPort()
Get frontend port resource of an application gateway.
Returns:
hostName
public String hostName()
Get host name of HTTP listener.
Returns:
hostnames
public List
Get list of Host names for HTTP Listener that allows special wildcard characters as well.
Returns:
name
public String name()
Get name of the HTTP listener that is unique within an Application Gateway.
Returns:
protocol
public ApplicationGatewayProtocol protocol()
Get protocol of the HTTP listener. Possible values include: 'Http', 'Https'.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioning state of the HTTP listener resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'.
Returns:
requireServerNameIndication
public Boolean requireServerNameIndication()
Get applicable only if protocol is https. Enables SNI for multi-hosting.
Returns:
sslCertificate
public SubResource sslCertificate()
Get sSL certificate resource of an application gateway.
Returns:
type
public String type()
Get type of the resource.
Returns:
withCustomErrorConfigurations
public ApplicationGatewayHttpListener withCustomErrorConfigurations(List
Set custom error configurations of the HTTP listener.
Parameters:
Returns:
withFirewallPolicy
public ApplicationGatewayHttpListener withFirewallPolicy(SubResource firewallPolicy)
Set reference to the FirewallPolicy resource.
Parameters:
Returns:
withFrontendIPConfiguration
public ApplicationGatewayHttpListener withFrontendIPConfiguration(SubResource frontendIPConfiguration)
Set frontend IP configuration resource of an application gateway.
Parameters:
Returns:
withFrontendPort
public ApplicationGatewayHttpListener withFrontendPort(SubResource frontendPort)
Set frontend port resource of an application gateway.
Parameters:
Returns:
withHostName
public ApplicationGatewayHttpListener withHostName(String hostName)
Set host name of HTTP listener.
Parameters:
Returns:
withHostnames
public ApplicationGatewayHttpListener withHostnames(List
Set list of Host names for HTTP Listener that allows special wildcard characters as well.
Parameters:
Returns:
withName
public ApplicationGatewayHttpListener withName(String name)
Set name of the HTTP listener that is unique within an Application Gateway.
Parameters:
Returns:
withProtocol
public ApplicationGatewayHttpListener withProtocol(ApplicationGatewayProtocol protocol)
Set protocol of the HTTP listener. Possible values include: 'Http', 'Https'.
Parameters:
Returns:
withRequireServerNameIndication
public ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean requireServerNameIndication)
Set applicable only if protocol is https. Enables SNI for multi-hosting.
Parameters:
Returns:
withSslCertificate
public ApplicationGatewayHttpListener withSslCertificate(SubResource sslCertificate)
Set sSL certificate resource of an application gateway.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor