PublishAsAzureAppServiceWebsite

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
func (IComputeResource) PublishAsAzureAppServiceWebsite(options ...*PublishAsAzureAppServiceWebsiteOptions) IComputeResource

Signature

methodPublishAsAzureAppServiceWebsitebuilder
Publishes the specified compute resource as an Azure App Service or Azure App Service Slot.
PublishAsAzureAppServiceWebsite(options ...*PublishAsAzureAppServiceWebsiteOptions) IComputeResource
options...*PublishAsAzureAppServiceWebsiteOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*PublishAsAzureAppServiceWebsiteOptions argument.

Configurefunc(arg1 AzureResourceInfrastructure, arg2 WebSite)callbackThe configuration action for the App Service WebSite resource.
ConfigureSlotfunc(arg1 AzureResourceInfrastructure, arg2 WebSiteSlot)callbackThe configuration action for the App Service WebSite Slot resource.
IComputeResource

The updated compute resource builder.

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

Applies to

This method applies to the following types:

typeCSharpAppResource
typeContainerResource
typeDotnetToolResource
typeExecutableResource
typeProjectResource