ApplicationGatewayHttpListener Class
- java.
lang. Object - com.
azure. core. management. SubResource - com.
azure. resourcemanager. network. models. ApplicationGatewayHttpListener
- com.
- com.
public final class ApplicationGatewayHttpListener
extends SubResource
Http listener of an application gateway.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGatewayHttpListener() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Application |
customErrorConfigurations()
Get the custom |
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated. |
Sub |
firewallPolicy()
Get the firewall |
Sub |
frontendIpConfiguration()
Get the frontend |
Sub |
frontendPort()
Get the frontend |
List<String> |
hostNames()
Get the host |
String |
hostname()
Get the hostname property: Host name of HTTP listener. |
String |
name()
Get the name property: Name of the HTTP listener that is unique within an Application Gateway. |
Application |
protocol()
Get the protocol property: Protocol of the HTTP listener. |
Provisioning |
provisioningState()
Get the provisioning |
Boolean |
requireServerNameIndication()
Get the require |
Sub |
sslCertificate()
Get the ssl |
Sub |
sslProfile()
Get the ssl |
String |
type()
Get the type property: Type of the resource. |
void |
validate()
Validates the instance. |
Application |
withCustomErrorConfigurations(List<ApplicationGatewayCustomError> customErrorConfigurations)
Set the custom |
Application |
withFirewallPolicy(SubResource firewallPolicy)
Set the firewall |
Application |
withFrontendIpConfiguration(SubResource frontendIpConfiguration)
Set the frontend |
Application |
withFrontendPort(SubResource frontendPort)
Set the frontend |
Application |
withHostNames(List<String> hostNames)
Set the host |
Application |
withHostname(String hostname)
Set the hostname property: Host name of HTTP listener. |
Application |
withId(String id) |
Application |
withName(String name)
Set the name property: Name of the HTTP listener that is unique within an Application Gateway. |
Application |
withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: Protocol of the HTTP listener. |
Application |
withRequireServerNameIndication(Boolean requireServerNameIndication)
Set the require |
Application |
withSslCertificate(SubResource sslCertificate)
Set the ssl |
Application |
withSslProfile(SubResource sslProfile)
Set the ssl |
Methods inherited from SubResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGatewayHttpListener
public ApplicationGatewayHttpListener()
Creates an instance of ApplicationGatewayHttpListener class.
Method Details
customErrorConfigurations
public List
Get the customErrorConfigurations property: Custom error configurations of the HTTP listener.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
firewallPolicy
public SubResource firewallPolicy()
Get the firewallPolicy property: Reference to the FirewallPolicy resource.
Returns:
frontendIpConfiguration
public SubResource frontendIpConfiguration()
Get the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.
Returns:
frontendPort
public SubResource frontendPort()
Get the frontendPort property: Frontend port resource of an application gateway.
Returns:
hostNames
public List
Get the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.
Returns:
hostname
public String hostname()
Get the hostname property: Host name of HTTP listener.
Returns:
name
public String name()
Get the name property: Name of the HTTP listener that is unique within an Application Gateway.
Returns:
protocol
public ApplicationGatewayProtocol protocol()
Get the protocol property: Protocol of the HTTP listener.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the HTTP listener resource.
Returns:
requireServerNameIndication
public Boolean requireServerNameIndication()
Get the requireServerNameIndication property: Applicable only if protocol is https. Enables SNI for multi-hosting.
Returns:
sslCertificate
public SubResource sslCertificate()
Get the sslCertificate property: SSL certificate resource of an application gateway.
Returns:
sslProfile
public SubResource sslProfile()
Get the sslProfile property: SSL profile resource of the application gateway.
Returns:
type
public String type()
Get the type property: Type of the resource.
Returns:
validate
public void validate()
Validates the instance.
withCustomErrorConfigurations
public ApplicationGatewayHttpListener withCustomErrorConfigurations(List
Set the customErrorConfigurations property: Custom error configurations of the HTTP listener.
Parameters:
Returns:
withFirewallPolicy
public ApplicationGatewayHttpListener withFirewallPolicy(SubResource firewallPolicy)
Set the firewallPolicy property: Reference to the FirewallPolicy resource.
Parameters:
Returns:
withFrontendIpConfiguration
public ApplicationGatewayHttpListener withFrontendIpConfiguration(SubResource frontendIpConfiguration)
Set the frontendIpConfiguration property: Frontend IP configuration resource of an application gateway.
Parameters:
Returns:
withFrontendPort
public ApplicationGatewayHttpListener withFrontendPort(SubResource frontendPort)
Set the frontendPort property: Frontend port resource of an application gateway.
Parameters:
Returns:
withHostNames
public ApplicationGatewayHttpListener withHostNames(List
Set the hostNames property: List of Host names for HTTP Listener that allows special wildcard characters as well.
Parameters:
Returns:
withHostname
public ApplicationGatewayHttpListener withHostname(String hostname)
Set the hostname property: Host name of HTTP listener.
Parameters:
Returns:
withId
public ApplicationGatewayHttpListener withId(String id)
Overrides:
ApplicationGatewayHttpListener.withId(String id)Parameters:
withName
public ApplicationGatewayHttpListener withName(String name)
Set the name property: Name of the HTTP listener that is unique within an Application Gateway.
Parameters:
Returns:
withProtocol
public ApplicationGatewayHttpListener withProtocol(ApplicationGatewayProtocol protocol)
Set the protocol property: Protocol of the HTTP listener.
Parameters:
Returns:
withRequireServerNameIndication
public ApplicationGatewayHttpListener withRequireServerNameIndication(Boolean requireServerNameIndication)
Set the requireServerNameIndication property: Applicable only if protocol is https. Enables SNI for multi-hosting.
Parameters:
Returns:
withSslCertificate
public ApplicationGatewayHttpListener withSslCertificate(SubResource sslCertificate)
Set the sslCertificate property: SSL certificate resource of an application gateway.
Parameters:
Returns:
withSslProfile
public ApplicationGatewayHttpListener withSslProfile(SubResource sslProfile)
Set the sslProfile property: SSL profile resource of the application gateway.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for