Skip to content

Commit 762352b

Browse files
committed
fix broken links and toc
1 parent ab0ca52 commit 762352b

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

articles/azure-functions/TOC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,10 +547,10 @@
547547
href: migrate-version-3-version-4.md
548548
- name: Migrate v1.x to v4.x
549549
href: migrate-version-1-version-4.md
550-
- name: Extension version migrations
550+
- name: Migrate extension versions
551551
items:
552552
- name: Migrate Azure Cosmos DB extension 3.x to 4.x
553-
- href: migrate-cosmos-db-version-3-version-4.md
553+
href: migrate-cosmos-db-version-3-version-4.md
554554
- name: Monitor
555555
items:
556556
- name: Monitor function apps with Azure Monitor

articles/azure-functions/migrate-cosmos-db-version-3-version-4.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ zone_pivot_groups: programming-languages-set-functions-lang-workers
99

1010
# Migrate apps from Azure Cosmos DB extension version 3.x to version 4.x
1111

12-
This article highlights considerations of upgrading your existing Azure Functions applications that use the Azure Cosmos DB extension version 3.x to use the newer extension version 4.x. Migrating to this version 4.x of the Azure Cosmos DB extension has breaking changes for your application.
12+
This article highlights considerations for upgrading your existing Azure Functions applications that use the Azure Cosmos DB extension version 3.x to use the newer [extension version 4.x](./functions-bindings-cosmosdb-v2.md?tabs=extensionv4). Migrating from version 3.x to version 4.x of the Azure Cosmos DB extension has breaking changes for your application.
1313

1414
> [!IMPORTANT]
1515
> On August 31, 2024 the Azure Cosmos DB extension version 3.x will be retired. The extension and all applications using the extension will continue to function, but Azure Cosmos DB will cease to provide further maintenance and support for this extension. We recommend migrating to the latest version 4.x of the extension.
@@ -52,7 +52,7 @@ Update your `.csproj` project file to use the latest extension version. The foll
5252
```
5353

5454
::: zone-end
55-
::: zone pivot="programming-language-java,programming-language-javascript,programming-language-typescript,programming-language-powershell,programming-language-python"
55+
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"
5656

5757
## Update the extension bundle
5858

@@ -78,15 +78,15 @@ To update your application to use the latest extension bundle, update your `host
7878

7979
Both [in-process](functions-dotnet-class-library.md) and [isolated process](dotnet-isolated-process-guide.md) C# libraries use the [CosmosDBTriggerAttribute](https://github.com/Azure/azure-webjobs-sdk-extensions/blob/master/src/WebJobs.Extensions.CosmosDB/Trigger/CosmosDBTriggerAttribute.cs) to define the function. C# script instead uses a function.json configuration file as described in the [C# scripting guide](./functions-reference-csharp.md#cosmos-db-trigger).
8080

81-
The following table only includes attributes that changed or were removed from the version 3.x extension in the version 4.x extension. For a full list of attributes available in the version 4 extension, visit the [attribute reference](./functions-bindings-cosmosdb-v2-trigger.md#attributes).
81+
The following table only includes attributes that were renamed or were removed from the version 3 extension. For a full list of attributes available in the version 4 extension, visit the [attribute reference](./functions-bindings-cosmosdb-v2-trigger.md?tabs=extensionv4#attributes).
8282

8383
|Version 3 attribute property |Version 4 attribute property |Version 4 attribute description |
8484
|-----------------------------|-----------------------------|--------------------------------|
85-
|**ConnectionStringSetting** |**Connection** | The name of an app setting or setting collection that specifies how to connect to the Azure Cosmos DB account being monitored. For more information, see [Connections](#connections).|
85+
|**ConnectionStringSetting** |**Connection** | The name of an app setting or setting collection that specifies how to connect to the Azure Cosmos DB account being monitored. For more information, see [Connections](./functions-bindings-cosmosdb-v2-trigger.md#connections).|
8686
|**CollectionName** |**ContainerName** | The name of the container being monitored. |
8787
|**LeaseConnectionStringSetting** |**LeaseConnection** | (Optional) The name of an app setting or setting collection that specifies how to connect to the Azure Cosmos DB account that holds the lease container. <br><br> When not set, the `Connection` value is used. This parameter is automatically set when the binding is created in the portal. The connection string for the leases container must have write permissions.|
8888
|**LeaseCollectionName** |**LeaseContainerName** | (Optional) The name of the container used to store leases. When not set, the value `leases` is used. |
89-
|**CreateLeaseCollectionIfNotExists** |**CreateLeaseContainerIfNotExists** | (Optional) When set to `true`, the leases container is automatically created when it doesn't already exist. The default value is `false`. When using Azure AD identities if you set the value to `true`, creating containers isn't [an allowed operation](../articles/cosmos-db/sql/troubleshoot-forbidden.md#non-data-operations-are-not-allowed) and your Function won't be able to start.|
89+
|**CreateLeaseCollectionIfNotExists** |**CreateLeaseContainerIfNotExists** | (Optional) When set to `true`, the leases container is automatically created when it doesn't already exist. The default value is `false`. When using Azure AD identities if you set the value to `true`, creating containers isn't [an allowed operation](../cosmos-db/nosql/troubleshoot-forbidden.md#non-data-operations-are-not-allowed) and your Function won't be able to start.|
9090
|**LeasesCollectionThroughput** |**LeasesContainerThroughput** | (Optional) Defines the number of Request Units to assign when the leases container is created. This setting is only used when `CreateLeaseContainerIfNotExists` is set to `true`. This parameter is automatically set when the binding is created using the portal. |
9191
|**LeaseCollectionPrefix** |**LeaseContainerPrefix** | (Optional) When set, the value is added as a prefix to the leases created in the Lease container for this function. Using a prefix allows two separate Azure Functions to share the same Lease container by using different prefixes. |
9292
|**UseMultipleWriteLocations** |*Removed* | This attribute is no longer needed as it's automatically detected. |
@@ -95,21 +95,21 @@ The following table only includes attributes that changed or were removed from t
9595
|**CheckpointDocumentCount** |*Removed* | This attribute has been removed in the version 4 extension. |
9696

9797
::: zone-end
98-
::: zone pivot="programming-language-java,programming-language-javascript,programming-language-typescript,programming-language-powershell,programming-language-python"
98+
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"
9999

100100
## Rename the binding attributes
101101

102102
Update your binding configuration properties in the `function.json` file.
103103

104-
The following table only includes attributes that changed or were removed from the version 3.x extension in the version 4.x extension. For a full list of attributes available in the version 4 extension, visit the [attribute reference](./functions-bindings-cosmosdb-v2-trigger.md#attributes).
104+
The following table only includes attributes that changed or were removed from the version 3.x extension. For a full list of attributes available in the version 4 extension, visit the [attribute reference](./functions-bindings-cosmosdb-v2-trigger.md#attributes).
105105

106106
|Version 3 attribute property |Version 4 attribute property |Version 4 attribute description |
107107
|-----------------------------|-----------------------------|--------------------------------|
108-
|**connectionStringSetting** |**connection** | The name of an app setting or setting collection that specifies how to connect to the Azure Cosmos DB account being monitored. For more information, see [Connections](#connections).|
109-
|**collectionName** |**dontainerName** | The name of the container being monitored. |
108+
|**connectionStringSetting** |**connection** | The name of an app setting or setting collection that specifies how to connect to the Azure Cosmos DB account being monitored. For more information, see [Connections](./functions-bindings-cosmosdb-v2-trigger.md#connections).|
109+
|**collectionName** |**containerName** | The name of the container being monitored. |
110110
|**leaseConnectionStringSetting** |**leaseConnection** | (Optional) The name of an app setting or setting collection that specifies how to connect to the Azure Cosmos DB account that holds the lease container. <br><br> When not set, the `connection` value is used. This parameter is automatically set when the binding is created in the portal. The connection string for the leases container must have write permissions.|
111111
|**leaseCollectionName** |**leaseContainerName** | (Optional) The name of the container used to store leases. When not set, the value `leases` is used. |
112-
|**createLeaseCollectionIfNotExists** |**createLeaseContainerIfNotExists** | (Optional) When set to `true`, the leases container is automatically created when it doesn't already exist. The default value is `false`. When using Azure AD identities if you set the value to `true`, creating containers isn't [an allowed operation](../articles/cosmos-db/sql/troubleshoot-forbidden.md#non-data-operations-are-not-allowed) and your Function won't be able to start.|
112+
|**createLeaseCollectionIfNotExists** |**createLeaseContainerIfNotExists** | (Optional) When set to `true`, the leases container is automatically created when it doesn't already exist. The default value is `false`. When using Azure AD identities if you set the value to `true`, creating containers isn't [an allowed operation](../cosmos-db/nosql/troubleshoot-forbidden.md#non-data-operations-are-not-allowed) and your Function won't be able to start.|
113113
|**leasesCollectionThroughput** |**leasesContainerThroughput** | (Optional) Defines the number of Request Units to assign when the leases container is created. This setting is only used when `createLeaseContainerIfNotExists` is set to `true`. This parameter is automatically set when the binding is created using the portal. |
114114
|**leaseCollectionPrefix** |**leaseContainerPrefix** | (Optional) When set, the value is added as a prefix to the leases created in the Lease container for this function. Using a prefix allows two separate Azure Functions to share the same Lease container by using different prefixes. |
115115
|**useMultipleWriteLocations** |*Removed* | This attribute is no longer needed as it's automatically detected. |
@@ -122,7 +122,7 @@ The following table only includes attributes that changed or were removed from t
122122

123123
## Modify your Function code
124124

125-
The Azure Functions extension version 4 is built on top of the Azure Cosmos DB .NET SDK version 3, which removed support for the [`Document` class](../cosmos-db/nosql/migrate-dotnet-v3.md#major-name-changes-from-v2-sdk-to-v3-sdk). Instead of receiving a list of `Document` objects with each function invocation, which you must then deserialize into your own object type, you can now receive a list of objects of your own type.
125+
The Azure Functions extension version 4 is built on top of the Azure Cosmos DB .NET SDK version 3, which removed support for the [`Document` class](../cosmos-db/nosql/migrate-dotnet-v3.md#major-name-changes-from-v2-sdk-to-v3-sdk). Instead of receiving a list of `Document` objects with each function invocation, which you must then deserialize into your own object type, you can now directly receive a list of objects of your own type.
126126

127127
This example refers to a simple `ToDoItem` type.
128128

@@ -169,7 +169,7 @@ namespace CosmosDBSamples
169169
```
170170

171171
::: zone-end
172-
::: zone pivot="programming-language-java,programming-language-javascript,programming-language-typescript,programming-language-powershell,programming-language-python"
172+
::: zone pivot="programming-language-javascript,programming-language-python,programming-language-java,programming-language-powershell"
173173

174174
## Modify your Function code
175175

0 commit comments

Comments
 (0)