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
+[Azure Functions Core Tools version 4.x.](functions-run-local.md?tabs=v4%2Cpowershell#install-the-azure-functions-core-tools)
49
+
+[Azure CLI](/cli/azure/install-azure-cli) version 2.4 or later
50
+
+ PowerShell 7 requires version 1.2.5 of the connectedk8s Azure CLI extension, or a later version. It also requires version 0.1.3 of the appservice-kube Azure CLI extension, or a later version. Make sure you install the correct version of both of these extensions as you complete this quickstart article.
@@ -88,6 +95,13 @@ In Azure Functions, a function project is the context for one or more individual
88
95
```console
89
96
func init LocalFunctionProj --python --docker
90
97
```
98
+
# [PowerShell](#tab/powershell)
99
+
100
+
101
+
```console
102
+
func init LocalFunctionProj --powershell --docker
103
+
```
104
+
91
105
---
92
106
93
107
The `--docker` option generates a `Dockerfile` for the project, which defines a suitable custom container for use with Azure Functions and the selected runtime.
> A storage account is currently required by Azure Functions tooling.
190
+
> In some cases, a storage account may not be required. For more information, see [Azure Arc-enabled clusters](storage-considerations.md#azure-arc-enabled-clusters) in the storage considerations article.
177
191
178
192
In the previous example, replace `<STORAGE_NAME>` with a name that is appropriate to you and unique in Azure Storage. Names must contain three to 24 characters numbers and lowercase letters only. `Standard_LRS` specifies a general-purpose account, which is [supported by Functions](storage-considerations.md#storage-account-requirements). The `--location` value is a standard Azure region.
179
193
@@ -183,18 +197,24 @@ Run the [az functionapp create](/cli/azure/functionapp#az-functionapp-create) co
In this example, replace `<CUSTOM_LOCATION_ID>` with the ID of the custom location you determined for the App Service Kubernetes environment. Also, replace `<STORAGE_NAME>` with the name of the account you used in the previous step, `<APP_NAME>` with a globally unique name appropriate to you, and `<DOCKER_ID>` with your Docker Hub ID.
@@ -237,4 +257,9 @@ Now that you have your function app running in a container an Azure Arc-enabled
237
257
> [!div class="nextstepaction"]
238
258
> [Connect to an Azure Storage queue](functions-add-output-binding-storage-queue-cli.md?pivots=programming-language-python)
239
259
260
+
# [PowerShell](#tab/powershell)
261
+
262
+
> [!div class="nextstepaction"]
263
+
> [Connect to an Azure Storage queue](functions-add-output-binding-storage-queue-cli.md?pivots=programming-language-powershell)
0 commit comments