Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDeploymentSlot

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
func (AzureAppServiceEnvironmentResource) WithDeploymentSlot(deploymentSlot any) AzureAppServiceEnvironmentResource

Signature

methodWithDeploymentSlotbuilder
Configures the deployment slot for all Azure App Services in the environment
WithDeploymentSlot(deploymentSlot any) AzureAppServiceEnvironmentResource
deploymentSlotany
AzureAppServiceEnvironmentResource

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

Applies to

This method applies to the following types: