Class FrontendEndpointProperties
java.lang.Object
com.azure.resourcemanager.frontdoor.models.FrontendEndpointUpdateParameters
com.azure.resourcemanager.frontdoor.fluent.models.FrontendEndpointProperties
The JSON object that contains the properties required to create a frontend endpoint.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of FrontendEndpointProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customHttpsConfiguration property: The configuration specifying how to enable HTTPS.Get the customHttpsProvisioningState property: Provisioning status of Custom Https of the frontendEndpoint.Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.Get the resourceState property: Resource status of the Front Door or Front Door SubResource.voidvalidate()Validates the instance.withHostname(String hostname) Set the hostname property: The host name of the frontendEndpoint.withSessionAffinityEnabledState(SessionAffinityEnabledState sessionAffinityEnabledState) Set the sessionAffinityEnabledState property: Whether to allow session affinity on this host.withSessionAffinityTtlSeconds(Integer sessionAffinityTtlSeconds) Set the sessionAffinityTtlSeconds property: UNUSED.withWebApplicationFirewallPolicyLink(FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink) Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).Methods inherited from class com.azure.resourcemanager.frontdoor.models.FrontendEndpointUpdateParameters
hostname, sessionAffinityEnabledState, sessionAffinityTtlSeconds, webApplicationFirewallPolicyLink
-
Constructor Details
-
FrontendEndpointProperties
public FrontendEndpointProperties()Creates an instance of FrontendEndpointProperties class.
-
-
Method Details
-
resourceState
Get the resourceState property: Resource status of the Front Door or Front Door SubResource.Resource status.
- Returns:
- the resourceState value.
-
customHttpsProvisioningState
Get the customHttpsProvisioningState property: Provisioning status of Custom Https of the frontendEndpoint.- Returns:
- the customHttpsProvisioningState value.
-
customHttpsProvisioningSubstate
Get the customHttpsProvisioningSubstate property: Provisioning substate shows the progress of custom HTTPS enabling/disabling process step by step.- Returns:
- the customHttpsProvisioningSubstate value.
-
customHttpsConfiguration
Get the customHttpsConfiguration property: The configuration specifying how to enable HTTPS.- Returns:
- the customHttpsConfiguration value.
-
withHostname
Set the hostname property: The host name of the frontendEndpoint. Must be a domain name.- Overrides:
withHostnamein classFrontendEndpointUpdateParameters- Parameters:
hostname- the hostname value to set.- Returns:
- the FrontendEndpointUpdateParameters object itself.
-
withSessionAffinityEnabledState
public FrontendEndpointProperties withSessionAffinityEnabledState(SessionAffinityEnabledState sessionAffinityEnabledState) Set the sessionAffinityEnabledState property: Whether to allow session affinity on this host. Valid options are 'Enabled' or 'Disabled'.- Overrides:
withSessionAffinityEnabledStatein classFrontendEndpointUpdateParameters- Parameters:
sessionAffinityEnabledState- the sessionAffinityEnabledState value to set.- Returns:
- the FrontendEndpointUpdateParameters object itself.
-
withSessionAffinityTtlSeconds
Set the sessionAffinityTtlSeconds property: UNUSED. This field will be ignored. The TTL to use in seconds for session affinity, if applicable.- Overrides:
withSessionAffinityTtlSecondsin classFrontendEndpointUpdateParameters- Parameters:
sessionAffinityTtlSeconds- the sessionAffinityTtlSeconds value to set.- Returns:
- the FrontendEndpointUpdateParameters object itself.
-
withWebApplicationFirewallPolicyLink
public FrontendEndpointProperties withWebApplicationFirewallPolicyLink(FrontendEndpointUpdateParametersWebApplicationFirewallPolicyLink webApplicationFirewallPolicyLink) Set the webApplicationFirewallPolicyLink property: Defines the Web Application Firewall policy for each host (if applicable).- Overrides:
withWebApplicationFirewallPolicyLinkin classFrontendEndpointUpdateParameters- Parameters:
webApplicationFirewallPolicyLink- the webApplicationFirewallPolicyLink value to set.- Returns:
- the FrontendEndpointUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classFrontendEndpointUpdateParameters- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-