Skip to content

Commit 3ded487

Browse files
authored
Merge pull request #269123 from ggailey777/random-fixes
[Functions] Various freshness fixes and updates
2 parents 151612e + 4661c9e commit 3ded487

34 files changed

+421
-271
lines changed

articles/azure-functions/TOC.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,10 @@
451451
href: functions-create-maven-kotlin-intellij.md
452452
- name: Linux App Service plan
453453
href: create-function-app-linux-app-service-plan.md
454-
- name: Linux Consumption plan
455-
href: create-first-function-cli-python.md
454+
- name: Consumption plan
455+
href: ./scripts/functions-cli-create-app-service-plan.md
456456
- name: Premium plan
457-
href: create-premium-plan-function-app-portal.md
457+
href: ./scripts/functions-cli-create-premium-plan.md
458458
- name: Linux container (Premium)
459459
href: functions-deploy-container.md
460460
displayName: container, Docker, custom

articles/azure-functions/durable/quickstart-js-vscode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,10 @@ After you've verified that the function runs correctly on your local computer, i
289289
::: zone-end
290290

291291
::: zone pivot="nodejs-model-v3"
292-
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `http://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
292+
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `https://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
293293
::: zone-end
294294
::: zone pivot="nodejs-model-v4"
295-
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `http://<functionappname>.azurewebsites.net/api/orchestrators/helloOrchestrator`
295+
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `https://<functionappname>.azurewebsites.net/api/orchestrators/helloOrchestrator`
296296
::: zone-end
297297

298298
2. Paste this new URL for the HTTP request into your browser's address bar. You should get the same status response as before when using the published app.

articles/azure-functions/durable/quickstart-powershell-vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ After you've verified that the function runs correctly on your local computer, i
192192

193193
## Test your function in Azure
194194

195-
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `http://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
195+
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `https://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
196196

197197
2. Paste this new URL for the HTTP request into your browser's address bar. You should get the same status response as before when using the published app.
198198

articles/azure-functions/durable/quickstart-python-vscode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,10 +366,10 @@ After you've verified that the function runs correctly on your local computer, i
366366
## Test your function in Azure
367367

368368
::: zone pivot="python-mode-configuration"
369-
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function must be in this format: `http://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
369+
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function must be in this format: `https://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
370370
::: zone-end
371371
::: zone pivot="python-mode-decorators"
372-
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function must be in this format: `http://<functionappname>.azurewebsites.net/api/orchestrators/hello_orchestrator`
372+
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function must be in this format: `https://<functionappname>.azurewebsites.net/api/orchestrators/hello_orchestrator`
373373
::: zone-end
374374

375375

articles/azure-functions/durable/quickstart-ts-vscode.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,10 @@ After you've verified that the function runs correctly on your local computer, i
291291
::: zone-end
292292

293293
::: zone pivot="nodejs-model-v3"
294-
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `http://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
294+
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `https://<functionappname>.azurewebsites.net/api/orchestrators/HelloOrchestrator`
295295
::: zone-end
296296
::: zone pivot="nodejs-model-v4"
297-
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `http://<functionappname>.azurewebsites.net/api/orchestrators/helloOrchestrator`
297+
1. Copy the URL of the HTTP trigger from the **Output** panel. The URL that calls your HTTP-triggered function should be in this format: `https://<functionappname>.azurewebsites.net/api/orchestrators/helloOrchestrator`
298298
::: zone-end
299299

300300
2. Paste this new URL for the HTTP request into your browser's address bar. You should get the same status response as before when using the published app.

articles/azure-functions/functions-app-settings.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -704,13 +704,15 @@ By default, the version settings for function apps are specific to each slot. Th
704704

705705
## WEBSITE\_RUN\_FROM\_PACKAGE
706706

707-
Enables your function app to run from a mounted package file.
707+
Enables your function app to run from a package file, which can be locally mounted or deployed to an external URL.
708708

709709
|Key|Sample value|
710710
|---|------------|
711711
|WEBSITE\_RUN\_FROM\_PACKAGE|`1`|
712712

713-
Valid values are either a URL that resolves to the location of a deployment package file, or `1`. When set to `1`, the package must be in the `d:\home\data\SitePackages` folder. When you use zip deployment with `WEBSITE_RUN_FROM_PACKAGE` enabled, the package is automatically uploaded to this location. In preview, this setting was named `WEBSITE_RUN_FROM_ZIP`. For more information, see [Run your functions from a package file](run-functions-from-deployment-package.md).
713+
Valid values are either a URL that resolves to the location of an external deployment package file, or `1`. When set to `1`, the package must be in the `d:\home\data\SitePackages` folder. When you use zip deployment with `WEBSITE_RUN_FROM_PACKAGE` enabled, the package is automatically uploaded to this location. In preview, this setting was named `WEBSITE_RUN_FROM_ZIP`. For more information, see [Run your functions from a package file](run-functions-from-deployment-package.md).
714+
715+
When you deploy from an external package URL, you must also manually sync triggers. For more information, see [Trigger syncing](functions-deployment-technologies.md#trigger-syncing).
714716

715717
## WEBSITE\_SKIP\_CONTENTSHARE\_VALIDATION
716718

articles/azure-functions/functions-bindings-http-webhook-trigger.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ The trigger input type is declared as either `HttpRequest` or a custom type. If
695695
By default when you create a function for an HTTP trigger, the function is addressable with a route of the form:
696696

697697
```http
698-
http://<APP_NAME>.azurewebsites.net/api/<FUNCTION_NAME>
698+
https://<APP_NAME>.azurewebsites.net/api/<FUNCTION_NAME>
699699
```
700700

701701
You can customize this route using the optional `route` property on the HTTP trigger's input binding. You can use any [Web API Route Constraint](https://www.asp.net/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2#constraints) with your parameters.
@@ -912,10 +912,10 @@ def main(req: func.HttpRequest) -> func.HttpResponse:
912912
Using this configuration, the function is now addressable with the following route instead of the original route.
913913

914914
```
915-
http://<APP_NAME>.azurewebsites.net/api/products/electronics/357
915+
https://<APP_NAME>.azurewebsites.net/api/products/electronics/357
916916
```
917917

918-
This configuration allows the function code to support two parameters in the address, _category_ and _id_. For more information on how route parameters are tokenized in a URL, see [Routing in ASP.NET Core](/aspnet/core/fundamentals/routing#route-constraint-reference).
918+
This configuration allows the function code to support two parameters in the address, _category_ and _ID_. For more information on how route parameters are tokenized in a URL, see [Routing in ASP.NET Core](/aspnet/core/fundamentals/routing#route-constraint-reference).
919919

920920
By default, all function routes are prefixed with *api*. You can also customize or remove the prefix using the `extensions.http.routePrefix` property in your [host.json](functions-host-json.md) file. The following example removes the *api* route prefix by using an empty string for the prefix in the *host.json* file.
921921

articles/azure-functions/functions-bindings-mobile-apps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ The following table explains the binding configuration properties that you set i
134134
| **name**| n/a | Name of input parameter in function signature.|
135135
|**tableName** |**TableName**|Name of the mobile app's data table|
136136
| **id**| **Id** | The identifier of the record to retrieve. Can be static or based on the trigger that invokes the function. For example, if you use a queue trigger for your function, then `"id": "{queueTrigger}"` uses the string value of the queue message as the record ID to retrieve.|
137-
|**connection**|**Connection**|The name of an app setting that has the mobile app's URL. The function uses this URL to construct the required REST operations against your mobile app. Create an app setting in your function app that contains the mobile app's URL, then specify the name of the app setting in the `connection` property in your input binding. The URL looks like `http://<appname>.azurewebsites.net`.
137+
|**connection**|**Connection**|The name of an app setting that has the mobile app's URL. The function uses this URL to construct the required REST operations against your mobile app. Create an app setting in your function app that contains the mobile app's URL, then specify the name of the app setting in the `connection` property in your input binding. The URL looks like `https://<appname>.azurewebsites.net`.
138138
|**apiKey**|**ApiKey**|The name of an app setting that has your mobile app's API key. Provide the API key if you implement an API key in your Node.js mobile app, or implement an API key in your .NET mobile app. To provide the key, create an app setting in your function app that contains the API key, then add the `apiKey` property in your input binding with the name of the app setting. |
139139

140140
[!INCLUDE [app settings to local.settings.json](../../includes/functions-app-settings-local.md)]
@@ -288,7 +288,7 @@ The following table explains the binding configuration properties that you set i
288288
| **direction**| n/a |Must be set to "out"|
289289
| **name**| n/a | Name of output parameter in function signature.|
290290
|**tableName** |**TableName**|Name of the mobile app's data table|
291-
|**connection**|**MobileAppUriSetting**|The name of an app setting that has the mobile app's URL. The function uses this URL to construct the required REST operations against your mobile app. Create an app setting in your function app that contains the mobile app's URL, then specify the name of the app setting in the `connection` property in your input binding. The URL looks like `http://<appname>.azurewebsites.net`.
291+
|**connection**|**MobileAppUriSetting**|The name of an app setting that has the mobile app's URL. The function uses this URL to construct the required REST operations against your mobile app. Create an app setting in your function app that contains the mobile app's URL, then specify the name of the app setting in the `connection` property in your input binding. The URL looks like `https://<appname>.azurewebsites.net`.
292292
|**apiKey**|**ApiKeySetting**|The name of an app setting that has your mobile app's API key. Provide the API key if you implement an API key in your Node.js mobile app backend, or implement an API key in your .NET mobile app backend. To provide the key, create an app setting in your function app that contains the API key, then add the `apiKey` property in your input binding with the name of the app setting. |
293293

294294
[!INCLUDE [app settings to local.settings.json](../../includes/functions-app-settings-local.md)]

articles/azure-functions/functions-bindings-storage-blob-input.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ Both [in-process](functions-dotnet-class-library.md) and [isolated worker proces
314314

315315
# [Isolated process](#tab/isolated-process)
316316

317-
isolated worker process defines an input binding by using a `BlobInputAttribute` attribute, which takes the following parameters:
317+
Isolated worker process defines an input binding by using a `BlobInputAttribute` attribute, which takes the following parameters:
318318

319319
|Parameter | Description|
320320
|---------|----------------------|
@@ -443,7 +443,7 @@ See [Binding types](./functions-bindings-storage-blob.md?tabs=in-process#binding
443443

444444
---
445445

446-
Binding to `string`, or `Byte[]` is only recommended when the blob size is small. This is recommended because the entire blob contents are loaded into memory. For most blobs, use a `Stream` or `BlobClient` type. For more information, see [Concurrency and memory usage](./functions-bindings-storage-blob-trigger.md#concurrency-and-memory-usage).
446+
Binding to `string`, or `Byte[]` is only recommended when the blob size is small. This is recommended because the entire blob contents are loaded into memory. For most blobs, use a `Stream` or `BlobClient` type. For more information, see [Concurrency and memory usage](./functions-bindings-storage-blob-trigger.md#memory-usage-and-concurrency).
447447

448448
If you get an error message when trying to bind to one of the Storage SDK types, make sure that you have a reference to [the correct Storage SDK version](./functions-bindings-storage-blob.md#tabpanel_2_functionsv1_in-process).
449449

articles/azure-functions/functions-bindings-storage-blob-output.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ See [Binding types](./functions-bindings-storage-blob.md?tabs=in-process#binding
491491

492492
---
493493

494-
Binding to `string`, or `Byte[]` is only recommended when the blob size is small. This is recommended because the entire blob contents are loaded into memory. For most blobs, use a `Stream` or `BlobClient` type. For more information, see [Concurrency and memory usage](./functions-bindings-storage-blob-trigger.md#concurrency-and-memory-usage).
494+
Binding to `string`, or `Byte[]` is only recommended when the blob size is small. This is recommended because the entire blob contents are loaded into memory. For most blobs, use a `Stream` or `BlobClient` type. For more information, see [Concurrency and memory usage](./functions-bindings-storage-blob-trigger.md#memory-usage-and-concurrency).
495495

496496
If you get an error message when trying to bind to one of the Storage SDK types, make sure that you have a reference to [the correct Storage SDK version](./functions-bindings-storage-blob.md#tabpanel_2_functionsv1_in-process).
497497

0 commit comments

Comments
 (0)