Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddAzureAppServiceEnvironment

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
func (DistributedApplicationBuilder) AddAzureAppServiceEnvironment(name string) AzureAppServiceEnvironmentResource

Signature

methodAddAzureAppServiceEnvironmentbuilder
Adds a azure app service environment resource to the distributed application builder.
AddAzureAppServiceEnvironment(name string) AzureAppServiceEnvironmentResource
namestringThe name of the resource.
AzureAppServiceEnvironmentResource

The resource builder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder