FrontendEndpointInner Class

public final class FrontendEndpointInner
extends SubResource

A frontend endpoint used for routing.

Constructor Summary

Constructor Description
FrontendEndpointInner()

Creates an instance of FrontendEndpointInner class.

Method Summary

Modifier and Type Method and Description
CustomHttpsConfiguration customHttpsConfiguration()

Get the customHttpsConfiguration property: The configuration specifying how to enable HTTPS.

CustomHttpsProvisioningState customHttpsProvisioningState()

Get the customHttpsProvisioningState property: Provisioning status of Custom Https of the frontendEndpoint.

CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate()

Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.

String hostname()

Get the hostname property: The host name of the frontendEndpoint.

String name()

Get the name property: Resource name.

FrontDoorResourceState resourceState()

Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

SessionAffinityEnabledState sessionAffinityEnabledState()

Get the sessionAffinityEnabledState property: Whether to allow session affinity on this host.

Integer sessionAffinityTtlSeconds()

Get the sessionAffinityTtlSeconds property: UNUSED.

String type()

Get the type property: Resource type.

void validate()

Validates the instance.

FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink()

Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).

FrontendEndpointInner withHostname(String hostname)

Set the hostname property: The host name of the frontendEndpoint.

FrontendEndpointInner withId(String id)
FrontendEndpointInner withName(String name)

Set the name property: Resource name.

FrontendEndpointInner withSessionAffinityEnabledState(SessionAffinityEnabledState sessionAffinityEnabledState)

Set the sessionAffinityEnabledState property: Whether to allow session affinity on this host.

FrontendEndpointInner withSessionAffinityTtlSeconds(Integer sessionAffinityTtlSeconds)

Set the sessionAffinityTtlSeconds property: UNUSED.

FrontendEndpointInner withWebApplicationFirewallPolicyLink(FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink)

Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).

Methods inherited from SubResource

Methods inherited from java.lang.Object

Constructor Details

FrontendEndpointInner

public FrontendEndpointInner()

Creates an instance of FrontendEndpointInner class.

Method Details

customHttpsConfiguration

public CustomHttpsConfiguration customHttpsConfiguration()

Get the customHttpsConfiguration property: The configuration specifying how to enable HTTPS.

Returns:

the customHttpsConfiguration value.

customHttpsProvisioningState

public CustomHttpsProvisioningState customHttpsProvisioningState()

Get the customHttpsProvisioningState property: Provisioning status of Custom Https of the frontendEndpoint.

Returns:

the customHttpsProvisioningState value.

customHttpsProvisioningSubstate

public CustomHttpsProvisioningSubstate customHttpsProvisioningSubstate()

Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.

Returns:

the customHttpsProvisioningSubstate value.

hostname

public String hostname()

Get the hostname property: The host name of the frontendEndpoint. Must be a domain name.

Returns:

the hostname value.

name

public String name()

Get the name property: Resource name.

Returns:

the name value.

resourceState

public FrontDoorResourceState resourceState()

Get the resourceState property: Resource status of the Front Door or Front Door SubResource.

Resource status.

Returns:

the resourceState value.

sessionAffinityEnabledState

public SessionAffinityEnabledState sessionAffinityEnabledState()

Get the sessionAffinityEnabledState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.

Returns:

the sessionAffinityEnabledState value.

sessionAffinityTtlSeconds

public Integer sessionAffinityTtlSeconds()

Get the sessionAffinityTtlSeconds property: UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.

Returns:

the sessionAffinityTtlSeconds value.

type

public String type()

Get the type property: Resource type.

Returns:

the type value.

validate

public void validate()

Validates the instance.

webApplicationFirewallPolicyLink

public FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink()

Get the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).

Returns:

the webApplicationFirewallPolicyLink value.

withHostname

public FrontendEndpointInner withHostname(String hostname)

Set the hostname property: The host name of the frontendEndpoint. Must be a domain name.

Parameters:

hostname - the hostname value to set.

Returns:

the FrontendEndpointInner object itself.

withId

public FrontendEndpointInner withId(String id)

Overrides:

FrontendEndpointInner.withId(String id)

Parameters:

id

withName

public FrontendEndpointInner withName(String name)

Set the name property: Resource name.

Parameters:

name - the name value to set.

Returns:

the FrontendEndpointInner object itself.

withSessionAffinityEnabledState

public FrontendEndpointInner withSessionAffinityEnabledState(SessionAffinityEnabledState sessionAffinityEnabledState)

Set the sessionAffinityEnabledState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.

Parameters:

sessionAffinityEnabledState - the sessionAffinityEnabledState value to set.

Returns:

the FrontendEndpointInner object itself.

withSessionAffinityTtlSeconds

public FrontendEndpointInner withSessionAffinityTtlSeconds(Integer sessionAffinityTtlSeconds)

Set the sessionAffinityTtlSeconds property: UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.

Parameters:

sessionAffinityTtlSeconds - the sessionAffinityTtlSeconds value to set.

Returns:

the FrontendEndpointInner object itself.

withWebApplicationFirewallPolicyLink

public FrontendEndpointInner withWebApplicationFirewallPolicyLink(FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink)

Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).

Parameters:

webApplicationFirewallPolicyLink - the webApplicationFirewallPolicyLink value to set.

Returns:

the FrontendEndpointInner object itself.

Applies to