You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition, the instrumentation key needs to be provided to the function app using the `APPINSIGHTS_INSTRUMENTATIONKEY` application setting. This property is specified in the `appSettings` collection in the `siteConfig` object:
***jgao: I add some additional properties per the best practices.
311
-
312
302
> [!IMPORTANT]
313
303
> If you're explicitly defining a hosting plan, an additional item would be needed in the dependsOn array: `"[resourceId('Microsoft.Web/serverfarms', parameters('hostingPlanName'))]"`
> Do not need to set the [`WEBSITE_CONTENTSHARE`](functions-app-settings.md#website_contentshare) setting in a deployment slot. This setting is generated for you when the app is created in the deployment slot.
611
+
> Don't set the [`WEBSITE_CONTENTSHARE`](functions-app-settings.md#website_contentshare) setting in a new deployment slot. This setting is generated for you when the app is created in the deployment slot.
624
612
625
613
#### Linux
626
614
@@ -1035,9 +1023,9 @@ In the App Service plan, your function app runs on dedicated VMs on Basic, Stand
1035
1023
1036
1024
For a sample Bicep file/Azure Resource Manager template, see [Function app on Azure App Service plan].
1037
1025
1038
-
### Create an App Service plan
1026
+
### Create a Dedicated plan
1039
1027
1040
-
An App Service plan is defined by a `serverfarm` resource. You can specify the SKU as follows:
1028
+
In Functions, the Dedicated plan is just a regular App Service plan, which is defined by a `serverfarm` resource. You can specify the SKU as follows:
***jgao: remove extendedLocation.type because it is readonly.
1495
-
1496
-
The plan resource should use the Kubernetes (K1) SKU, and its `kind` field should be "linux,kubernetes". Within `properties`, `reserved` should be "true", and `kubeEnvironmentProfile.id` should be set to the App Service Kubernetes environment resource ID. An example plan might look like:
1482
+
The plan resource should use the Kubernetes (K1) SKU, and its `kind` field should be `linux,kubernetes`. Within `properties`, `reserved` should be `true`, and `kubeEnvironmentProfile.id` should be set to the App Service Kubernetes environment resource ID. An example plan might look like:
***jgao: removed some of the properties. See azureArc.bicep.
1551
-
1552
-
The function app resource should have its `kind` field set to **functionapp,linux,kubernetes** or **functionapp,linux,kubernetes,container** depending on if you intend to deploy via code or container. An example function app might look like:
1536
+
The function app resource should have its `kind` field set to **functionapp,linux,kubernetes** or **functionapp,linux,kubernetes,container** depending on if you intend to deploy via code or container. An example .NET 6.0 function app might look like:
0 commit comments