AzureFrontDoorResource Methods

ClassMethods2 members
Represents an Azure Front Door resource in the distributed application model.
GetEndpointId(string)Section titled GetEndpointId(string)BicepOutputReference
Gets the endpoint resource ID output reference for a specific origin by its resource name.
public class AzureFrontDoorResource
{
public BicepOutputReference GetEndpointId(
string originResourceName)
{
// ...
}
}
originResourceNamestringThe name of the origin resource (as specified in the Aspire application model).
BicepOutputReferenceA Azure.BicepOutputReference for the Front Door endpoint resource ID serving that origin.
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.
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.