Backend Class
- java.
lang. Object - com.
azure. resourcemanager. frontdoor. models. Backend
- com.
public final class Backend
Backend address of a frontDoor load balancer.
Constructor Summary
Constructor | Description |
---|---|
Backend() |
Creates an instance of Backend class. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
address()
Get the address property: Location of the backend (IP address or FQDN). |
String |
backendHostHeader()
Get the backend |
Backend |
enabledState()
Get the enabled |
Integer |
httpPort()
Get the http |
Integer |
httpsPort()
Get the https |
Integer |
priority()
Get the priority property: Priority to use for load balancing. |
Private |
privateEndpointStatus()
Get the private |
String |
privateLinkAlias()
Get the private |
String |
privateLinkApprovalMessage()
Get the private |
String |
privateLinkLocation()
Get the private |
String |
privateLinkResourceId()
Get the private |
void |
validate()
Validates the instance. |
Integer |
weight()
Get the weight property: Weight of this endpoint for load balancing purposes. |
Backend |
withAddress(String address)
Set the address property: Location of the backend (IP address or FQDN). |
Backend |
withBackendHostHeader(String backendHostHeader)
Set the backend |
Backend |
withEnabledState(BackendEnabledState enabledState)
Set the enabled |
Backend |
withHttpPort(Integer httpPort)
Set the http |
Backend |
withHttpsPort(Integer httpsPort)
Set the https |
Backend |
withPriority(Integer priority)
Set the priority property: Priority to use for load balancing. |
Backend |
withPrivateLinkAlias(String privateLinkAlias)
Set the private |
Backend |
withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
Set the private |
Backend |
withPrivateLinkLocation(String privateLinkLocation)
Set the private |
Backend |
withPrivateLinkResourceId(String privateLinkResourceId)
Set the private |
Backend |
withWeight(Integer weight)
Set the weight property: Weight of this endpoint for load balancing purposes. |
Methods inherited from java.lang.Object
Constructor Details
Backend
public Backend()
Creates an instance of Backend class.
Method Details
address
public String address()
Get the address property: Location of the backend (IP address or FQDN).
Returns:
backendHostHeader
public String backendHostHeader()
Get the backendHostHeader property: The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.
Returns:
enabledState
public BackendEnabledState enabledState()
Get the enabledState property: Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'.
Returns:
httpPort
public Integer httpPort()
Get the httpPort property: The HTTP TCP port number. Must be between 1 and 65535.
Returns:
httpsPort
public Integer httpsPort()
Get the httpsPort property: The HTTPS TCP port number. Must be between 1 and 65535.
Returns:
priority
public Integer priority()
Get the priority property: Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.
Returns:
privateEndpointStatus
public PrivateEndpointStatus privateEndpointStatus()
Get the privateEndpointStatus property: The Approval status for the connection to the Private Link.
Returns:
privateLinkAlias
public String privateLinkAlias()
Get the privateLinkAlias property: The Alias of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.
Returns:
privateLinkApprovalMessage
public String privateLinkApprovalMessage()
Get the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link.
Returns:
privateLinkLocation
public String privateLinkLocation()
Get the privateLinkLocation property: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated.
Returns:
privateLinkResourceId
public String privateLinkResourceId()
Get the privateLinkResourceId property: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.
Returns:
validate
public void validate()
Validates the instance.
weight
public Integer weight()
Get the weight property: Weight of this endpoint for load balancing purposes.
Returns:
withAddress
public Backend withAddress(String address)
Set the address property: Location of the backend (IP address or FQDN).
Parameters:
Returns:
withBackendHostHeader
public Backend withBackendHostHeader(String backendHostHeader)
Set the backendHostHeader property: The value to use as the host header sent to the backend. If blank or unspecified, this defaults to the incoming host.
Parameters:
Returns:
withEnabledState
public Backend withEnabledState(BackendEnabledState enabledState)
Set the enabledState property: Whether to enable use of this backend. Permitted values are 'Enabled' or 'Disabled'.
Parameters:
Returns:
withHttpPort
public Backend withHttpPort(Integer httpPort)
Set the httpPort property: The HTTP TCP port number. Must be between 1 and 65535.
Parameters:
Returns:
withHttpsPort
public Backend withHttpsPort(Integer httpsPort)
Set the httpsPort property: The HTTPS TCP port number. Must be between 1 and 65535.
Parameters:
Returns:
withPriority
public Backend withPriority(Integer priority)
Set the priority property: Priority to use for load balancing. Higher priorities will not be used for load balancing if any lower priority backend is healthy.
Parameters:
Returns:
withPrivateLinkAlias
public Backend withPrivateLinkAlias(String privateLinkAlias)
Set the privateLinkAlias property: The Alias of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.
Parameters:
Returns:
withPrivateLinkApprovalMessage
public Backend withPrivateLinkApprovalMessage(String privateLinkApprovalMessage)
Set the privateLinkApprovalMessage property: A custom message to be included in the approval request to connect to the Private Link.
Parameters:
Returns:
withPrivateLinkLocation
public Backend withPrivateLinkLocation(String privateLinkLocation)
Set the privateLinkLocation property: The location of the Private Link resource. Required only if 'privateLinkResourceId' is populated.
Parameters:
Returns:
withPrivateLinkResourceId
public Backend withPrivateLinkResourceId(String privateLinkResourceId)
Set the privateLinkResourceId property: The Resource Id of the Private Link resource. Populating this optional field indicates that this backend is 'Private'.
Parameters:
Returns:
withWeight
public Backend withWeight(Integer weight)
Set the weight property: Weight of this endpoint for load balancing purposes.
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