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
Copy file name to clipboardExpand all lines: articles/azure-functions/migrate-cosmos-db-version-3-version-4.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -131,7 +131,7 @@ The following table only includes attributes that were renamed or were removed f
131
131
|**CollectionName**|**ContainerName**| The name of the container being monitored. |
132
132
|**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.|
133
133
|**LeaseCollectionName**|**LeaseContainerName**| (Optional) The name of the container used to store leases. When not set, the value `leases` is used. |
134
-
|**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 Microsoft Entra identities if you set the value to `true`, creating containers isn't [an allowed operation](/azure/cosmos-db/nosql/troubleshoot-forbidden#non-data-operations-are-not-allowed) and your Function won't be able to start.|
134
+
|**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 Microsoft Entra identities if you set the value to `true`, creating containers isn't [an allowed operation](/azure/cosmos-db/troubleshoot-forbidden#non-data-operations-are-not-allowed) and your Function won't be able to start.|
135
135
|**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. |
136
136
|**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. |
137
137
|**UseMultipleWriteLocations**|*Removed*| This attribute is no longer needed as it's automatically detected. |
@@ -154,7 +154,7 @@ The following table only includes attributes that changed or were removed from t
154
154
|**collectionName**|**containerName**| The name of the container being monitored. |
155
155
|**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.|
156
156
|**leaseCollectionName**|**leaseContainerName**| (Optional) The name of the container used to store leases. When not set, the value `leases` is used. |
157
-
|**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 Microsoft Entra identities if you set the value to `true`, creating containers isn't [an allowed operation](/azure/cosmos-db/nosql/troubleshoot-forbidden#non-data-operations-are-not-allowed) and your Function won't be able to start.|
157
+
|**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 Microsoft Entra identities if you set the value to `true`, creating containers isn't [an allowed operation](/azure/cosmos-db/troubleshoot-forbidden#non-data-operations-are-not-allowed) and your Function won't be able to start.|
158
158
|**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. |
159
159
|**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. |
160
160
|**useMultipleWriteLocations**|*Removed*| This attribute is no longer needed as it's automatically detected. |
Copy file name to clipboardExpand all lines: articles/iot-hub/how-to-routing-portal.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,7 +73,7 @@ Routes send messages or event logs to an Azure service for storage or processing
73
73
|**Cosmos DB account**| Use the drop-down menu to select an existing Cosmos DB account in your subscription. |
74
74
|**Database**| Use the drop-down menu to select an existing database in your Cosmos DB account. |
75
75
|**Collection**| Use the drop-down menu to select an existing collection (or container). |
76
-
|**Generate a synthetic partition key for messages**| Select **Enable** to support data storage for high-scale scenarios. Otherwise, select **Disable** For more information, see [Partitioning and horizontal scaling in Azure Cosmos DB](/azure/cosmos-db/partitioning-overview) and [Create a synthetic partition key](/azure/cosmos-db/nosql/synthetic-partition-keys). |
76
+
|**Generate a synthetic partition key for messages**| Select **Enable** to support data storage for high-scale scenarios. Otherwise, select **Disable** For more information, see [Partitioning and horizontal scaling in Azure Cosmos DB](/azure/cosmos-db/partitioning-overview) and [Create a synthetic partition key](/azure/cosmos-db/synthetic-partition-keys). |
77
77
|**Partition key name**| If you enable synthetic partition keys, provide a name for the partition key. The partition key property name is defined at the container level and can't be changed once set. |
78
78
|**Partition key template**| Provide a template that is used to configure the synthetic partition key value. The generated partition key value is automatically added to the partition key property for each new Cosmos DB record. |
Copy file name to clipboardExpand all lines: articles/iot-hub/iot-hub-devguide-endpoints.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -122,7 +122,7 @@ Apart from the built-in-Event Hubs compatible endpoint, you can also route data
122
122
123
123
You can send data directly to Azure Cosmos DB from IoT Hub. IoT Hub supports writing to Cosmos DB in JSON (if specified in the message content-type) or as base 64 encoded binary.
124
124
125
-
To support high-scale scenarios, you can enable [synthetic partition keys](/azure/cosmos-db/nosql/synthetic-partition-keys) for the Cosmos DB endpoint. As Cosmos DB is a hyperscale data store, all data/documents written to it must contain a field that represents a logical partition. Each logical partition has a maximum size of 20 GB. You can specify the partition key property name in **Partition key name**. The partition key property name is defined at the container level and can't be updated.
125
+
To support high-scale scenarios, you can enable [synthetic partition keys](/azure/cosmos-db/synthetic-partition-keys) for the Cosmos DB endpoint. As Cosmos DB is a hyperscale data store, all data/documents written to it must contain a field that represents a logical partition. Each logical partition has a maximum size of 20 GB. You can specify the partition key property name in **Partition key name**. The partition key property name is defined at the container level and can't be updated.
126
126
127
127
You can configure the synthetic partition key value by specifying a template in **Partition key template** based on your estimated data volume. For example, in manufacturing scenarios, your logical partition might be expected to approach its maximum limit of 20 GB within a month. In that case, you can define a synthetic partition key as a combination of the device ID and the month. The generated partition key value is automatically added to the partition key property for each new Cosmos DB record, ensuring logical partitions are created each month for each device.
0 commit comments