Skip to content
Docs Try Aspire
Docs Try

AzureFrontDoorResource Methods

Class Methods 1 member
Represents an Azure Front Door resource in the distributed application model.
GetEndpointUrl(string) Section titled GetEndpointUrl(string) BicepOutputReference
Gets the endpoint URL output reference for a specific origin by its resource name.
public class AzureFrontDoorResource
{
public BicepOutputReference GetEndpointUrl(
string originResourceName)
{
// ...
}
}
originResourceName string The name of the origin resource (as specified in the Aspire application model).
BicepOutputReference A Azure.BicepOutputReference for the Front Door endpoint URL serving that origin.
The output name follows the pattern {normalizedOriginName}_endpointUrl. For example, if the origin resource is named "api", the output is api_endpointUrl.