Skip to content

Commit 5044713

Browse files
Merge pull request #285342 from ggailey777/patch-3
[Functions] Add missing options in functions-core-tools-reference.md
2 parents 7257801 + 0fff813 commit 5044713

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

articles/azure-functions/functions-core-tools-reference.md

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Reference documentation that supports the Azure Functions Core Tool
44
ms.topic: reference
55
ms.custom:
66
- ignite-2023
7-
ms.date: 08/20/2023
7+
ms.date: 08/22/2024
88
---
99

1010
# Azure Functions Core Tools reference
@@ -181,6 +181,16 @@ Gets settings from a specific function app.
181181
func azure functionapp fetch-app-settings <APP_NAME>
182182
```
183183

184+
`func azure functionapp fetch-app-settings` supports these optional arguments:
185+
186+
| Option | Description |
187+
| ------------ | -------------------------------------- |
188+
| **`--access-token`** | Lets you use a specific access token when performing authenticated `azure` actions. |
189+
| **`--access-token-stdin `** | Reads a specific access token from a standard input. Use this when reading the token directly from a previous command such as [`az account get-access-token`](/cli/azure/account#az-account-get-access-token). |
190+
| **`--management-url`** | Sets the management URL for your cloud. Use this when running in a sovereign cloud. |
191+
| **`--slot`** | Optional name of a specific slot to which to publish. |
192+
| **`--subscription`** | Sets the default subscription to use. |
193+
184194
For more information, see [Download application settings](functions-run-local.md#download-application-settings).
185195

186196
Settings are downloaded into the local.settings.json file for the project. On-screen values are masked for security. You can protect settings in the local.settings.json file by [enabling local encryption](functions-run-local.md#encrypt-the-local-settings-file).
@@ -192,6 +202,18 @@ Returns a list of the functions in the specified function app.
192202
```command
193203
func azure functionapp list-functions <APP_NAME>
194204
```
205+
206+
`func azure functionapp list-functions` supports these optional arguments:
207+
208+
| Option | Description |
209+
| ------------ | -------------------------------------- |
210+
| **`--access-token`** | Lets you use a specific access token when performing authenticated `azure` actions. |
211+
| **`--access-token-stdin `** | Reads a specific access token from a standard input. Use this when reading the token directly from a previous command such as [`az account get-access-token`](/cli/azure/account#az-account-get-access-token). |
212+
| **`--management-url`** | Sets the management URL for your cloud. Use this when running in a sovereign cloud. |
213+
| **`--show-keys`** | Shows HTTP function endpoint URLs that include their default access keys. These URLs can be used to access function endpoints with `function` level [HTTP authentication](functions-bindings-http-webhook-trigger.md#http-auth). |
214+
| **`--slot`** | Optional name of a specific slot to which to publish. |
215+
| **`--subscription`** | Sets the default subscription to use. |
216+
195217
## func azure functionapp logstream
196218

197219
Connects the local command prompt to streaming logs for the function app in Azure.
@@ -202,11 +224,16 @@ func azure functionapp logstream <APP_NAME>
202224

203225
The default timeout for the connection is 2 hours. You can change the timeout by adding an app setting named [SCM_LOGSTREAM_TIMEOUT](functions-app-settings.md#scm_logstream_timeout), with a timeout value in seconds. Not yet supported for Linux apps in the Consumption plan. For these apps, use the `--browser` option to view logs in the portal.
204226

205-
The `deploy` action supports the following options:
227+
The `func azure functionapp logstream` command supports these optional arguments:
206228

207229
| Option | Description |
208230
| ------------ | -------------------------------------- |
231+
| **`--access-token`** | Lets you use a specific access token when performing authenticated `azure` actions. |
232+
| **`--access-token-stdin `** | Reads a specific access token from a standard input. Use this when reading the token directly from a previous command such as [`az account get-access-token`](/cli/azure/account#az-account-get-access-token). |
209233
| **`--browser`** | Open Azure Application Insights Live Stream for the function app in the default browser. |
234+
| **`--management-url`** | Sets the management URL for your cloud. Use this when running in a sovereign cloud. |
235+
| **`--slot`** | Optional name of a specific slot to which to publish. |
236+
| **`--subscription`** | Sets the default subscription to use. |
210237

211238
For more information, see [Enable streaming execution logs in Azure Functions](streaming-logs.md).
212239

@@ -242,6 +269,7 @@ The following publish options apply, based on version:
242269
| **`--overwrite-settings -y`** | Suppress the prompt to overwrite app settings when `--publish-local-settings -i` is used.|
243270
| **`--publish-local-settings -i`** | Publish settings in local.settings.json to Azure, prompting to overwrite if the setting already exists. If you're using a [local storage emulator](functions-develop-local.md#local-storage-emulator), first change the app setting to an [actual storage connection](#func-azure-storage-fetch-connection-string). |
244271
| **`--publish-settings-only`**, **`-o`** | Only publish settings and skip the content. Default is prompt. |
272+
| **`--show-keys`** | Shows HTTP function endpoint URLs that include their default access keys. These URLs can be used to access function endpoints with `function` level [HTTP authentication](functions-bindings-http-webhook-trigger.md#http-auth). |
245273
| **`--slot`** | Optional name of a specific slot to which to publish. |
246274
| **`--subscription`** | Sets the default subscription to use. |
247275

0 commit comments

Comments
 (0)