Skip to content
Docs Try Aspire

addAzureInfrastructure

Function
📦 Aspire.Hosting.Azure.CosmosDB v13.2.0-preview.1.26159.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addAzureInfrastructure(
name: string,
configureInfrastructure: callback): AzureProvisioningResource;
}

Signature

method addAzureInfrastructure builder
Adds an Azure provisioning resource to the application model
addAzureInfrastructure(name: string, configureInfrastructure: (obj: AzureResourceInfrastructure) => void): AzureProvisioningResource
name string
configureInfrastructure (obj: AzureResourceInfrastructure) => void
AzureProvisioningResource

Applies to

This function is an extension method on the following types: