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