Describe the bug
consider the fluent code :
var parent = await azure.AppServices.FunctionApps.GetByResourceGroupAsync("ResGrp", "MyFunction"); var preliveSlot = await parent.DeploymentSlots.Define("prelive").WithConfigurationFromParent().CreateAsync();
the above code will generate a slot with the exact same WEBSITE_CONTENTSHARE value, and the newly created "prelive" slot also has the existing function from production slot.
Expected behavior
we expect a new clean slot, no existing function, with different WEBSITE_CONTENTSHARE value. Just like what we did with Azure Portal
Describe the bug consider the fluent code :
var parent = await azure.AppServices.FunctionApps.GetByResourceGroupAsync("ResGrp", "MyFunction"); var preliveSlot = await parent.DeploymentSlots.Define("prelive").WithConfigurationFromParent().CreateAsync();
the above code will generate a slot with the exact same WEBSITE_CONTENTSHARE value, and the newly created "prelive" slot also has the existing function from production slot.
Expected behavior we expect a new clean slot, no existing function, with different WEBSITE_CONTENTSHARE value. Just like what we did with Azure Portal
Thanks