Skip to content
Docs Try Aspire
Docs Try

withOrigin

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

Signature

method withOrigin builder
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
resource IComputeResource
AzureFrontDoorResource

Applies to

This method applies to the following types: