Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AzureAppServiceEnvironmentResource.WithDeploymentSlot

Method
📦 Aspire.Hosting.Azure.AppService v17.0.0
type AzureAppServiceEnvironmentResource interface {
// ... omitted for brevity
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().

Defined on

This method is defined on the following type: