Watch Aspire live streamsDocsTry Aspire

AzureFrontDoorResource Methods

ClassMethods1 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)
{
// ...
}
}
originResourceNamestringThe name of the origin resource (as specified in the Aspire application model).
BicepOutputReferenceA 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.