withOrigin

Method
📦 Aspire.Hosting.Azure.FrontDoor v17.0.0-preview.1.26567.5
interface AzureFrontDoorResource {
// ... omitted for brevity
withOrigin(resource: IComputeResource): AzureFrontDoorResource;
}

Signature

methodwithOriginbuilder
Adds an origin (backend) to the Azure Front Door resource. Each origin gets its own Front Door endpoint with a distinct `*.azurefd.net` hostname, its own origin group, and a default route.
withOrigin(resource: IComputeResource): AzureFrontDoorResource
resourceIComputeResourceThe resource to add as an origin (e.g., a project, container, or other compute resource with endpoints).
AzureFrontDoorResource

Applies to

This method applies to the following types: