Skip to content

Commit 4fd1d19

Browse files
Merge pull request #264673 from dlepow/patch-241
Update cosmosdb-data-source-policy.md
2 parents 94bcd63 + d2fdefd commit 4fd1d19

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/api-management/cosmosdb-data-source-policy.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ Use the policy to configure a single query request, read request, delete request
8686
<write-request type="insert | replace | upsert" consistency-level="bounded-staleness | consistent-prefix | eventual | session | strong" pre-trigger="myPreTrigger" post-trigger="myPostTrigger">
8787
<id template="liquid">
8888
"Item ID in container"
89-
</id>
89+
</id>
90+
<partition-key data-type="string | number | bool | none | null" template="liquid">
91+
"Container partition key"
92+
</partition-key>
9093
<etag type="match | no-match" template="liquid" >
9194
"System-generated entity tag"
92-
</etag>
93-
<set-body template="liquid" >...set-body policy configuration...</set-body>
94-
<partition-key data-type="string | number | bool | none | null" template="liquid">
95-
"Container partition key"
96-
</partition-key>
95+
</etag>
96+
<set-body template="liquid" >...set-body policy configuration...</set-body>
9797
</write-request>
9898

9999
<response>
@@ -270,7 +270,7 @@ resourceGroupName="<MY-RESOURCE-GROUP>"
270270
# Variable for subscription
271271
resourceGroupName="<MY-SUBSCRIPTION-NAME>"
272272
273-
# Set principal variable to the value from Azure portal
273+
# Set principal variable to the value from Managed identities page of API Management instance in Azure portal
274274
principal="<MY-APIM-MANAGED-ID-PRINCIPAL-ID>"
275275
276276
# Get the scope value of Cosmos DB account

0 commit comments

Comments
 (0)