AzureFrontDoorResource Methods
ClassMethods2 members
Represents an Azure Front Door resource in the distributed application model.
Gets the endpoint resource ID output reference for a specific origin by its resource name.
public class AzureFrontDoorResource{ public BicepOutputReference GetEndpointId( string originResourceName) { // ... }}Parameters
originResourceName stringThe name of the origin resource (as specified in the Aspire application model).Returns
BicepOutputReference A Azure.BicepOutputReference for the Front Door endpoint resource ID serving that origin.Remarks
The output name follows the pattern
{normalizedOriginName}_endpointId . For example, if the origin resource is named "api", the output is api_endpointId . Use this reference when configuring resources that require an endpoint resource ID, such as Azure DNS alias records. Gets the endpoint URL output reference for a specific origin by its resource name.
public class AzureFrontDoorResource{ public BicepOutputReference GetEndpointUrl( string originResourceName) { // ... }}Parameters
originResourceName stringThe name of the origin resource (as specified in the Aspire application model).Returns
BicepOutputReference A 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 .