Skip to content

Commit ca54770

Browse files
committed
update api-version
1 parent cf26714 commit ca54770

5 files changed

+17
-17
lines changed

articles/cosmos-db/manage-cassandra-with-resource-manager.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ This template creates an Azure Cosmos account in two regions with options for co
181181
{
182182
"type": "Microsoft.DocumentDB/databaseAccounts",
183183
"name": "[variables('accountName')]",
184-
"apiVersion": "2020-03-01",
184+
"apiVersion": "2020-04-01",
185185
"location": "[parameters('location')]",
186186
"kind": "GlobalDocumentDB",
187187
"properties": {
@@ -195,7 +195,7 @@ This template creates an Azure Cosmos account in two regions with options for co
195195
{
196196
"type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces",
197197
"name": "[concat(variables('accountName'), '/', parameters('keyspaceName'))]",
198-
"apiVersion": "2020-03-01",
198+
"apiVersion": "2020-04-01",
199199
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/', variables('accountName'))]" ],
200200
"properties":{
201201
"resource":{
@@ -206,7 +206,7 @@ This template creates an Azure Cosmos account in two regions with options for co
206206
{
207207
"type": "Microsoft.DocumentDb/databaseAccounts/cassandraKeyspaces/tables",
208208
"name": "[concat(variables('accountName'), '/', parameters('keyspaceName'), '/', parameters('tableName'))]",
209-
"apiVersion": "2020-03-01",
209+
"apiVersion": "2020-04-01",
210210
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces', variables('accountName'), parameters('keyspaceName'))]" ],
211211
"properties":
212212
{

articles/cosmos-db/manage-gremlin-with-resource-manager.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ This template will create an Azure Cosmos account for Gremlin API with a databas
189189
{
190190
"type": "Microsoft.DocumentDB/databaseAccounts",
191191
"name": "[variables('accountName')]",
192-
"apiVersion": "2020-03-01",
192+
"apiVersion": "2020-04-01",
193193
"location": "[parameters('location')]",
194194
"kind": "GlobalDocumentDB",
195195
"properties": {
@@ -207,7 +207,7 @@ This template will create an Azure Cosmos account for Gremlin API with a databas
207207
{
208208
"type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases",
209209
"name": "[concat(variables('accountName'), '/', parameters('databaseName'))]",
210-
"apiVersion": "2020-03-01",
210+
"apiVersion": "2020-04-01",
211211
"dependsOn": [
212212
"[resourceId('Microsoft.DocumentDB/databaseAccounts/', variables('accountName'))]"
213213
],
@@ -220,7 +220,7 @@ This template will create an Azure Cosmos account for Gremlin API with a databas
220220
{
221221
"type": "Microsoft.DocumentDb/databaseAccounts/gremlinDatabases/graphs",
222222
"name": "[concat(variables('accountName'), '/', parameters('databaseName'), '/', parameters('graphName'))]",
223-
"apiVersion": "2020-03-01",
223+
"apiVersion": "2020-04-01",
224224
"dependsOn": [
225225
"[resourceId('Microsoft.DocumentDB/databaseAccounts/gremlinDatabases', variables('accountName'), parameters('databaseName'))]"
226226
],

articles/cosmos-db/manage-mongodb-with-resource-manager.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ This template will create an Azure Cosmos account for MongoDB API (3.2 or 3.6) w
189189
{
190190
"type": "Microsoft.DocumentDB/databaseAccounts",
191191
"name": "[variables('accountName')]",
192-
"apiVersion": "2020-03-01",
192+
"apiVersion": "2020-04-01",
193193
"location": "[parameters('location')]",
194194
"kind": "MongoDB",
195195
"properties": {
@@ -204,7 +204,7 @@ This template will create an Azure Cosmos account for MongoDB API (3.2 or 3.6) w
204204
{
205205
"type": "Microsoft.DocumentDB/databaseAccounts/mongodbDatabases",
206206
"name": "[concat(variables('accountName'), '/', parameters('databaseName'))]",
207-
"apiVersion": "2020-03-01",
207+
"apiVersion": "2020-04-01",
208208
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/', variables('accountName'))]" ],
209209
"properties":{
210210
"resource":{
@@ -216,7 +216,7 @@ This template will create an Azure Cosmos account for MongoDB API (3.2 or 3.6) w
216216
{
217217
"type": "Microsoft.DocumentDb/databaseAccounts/mongodbDatabases/collections",
218218
"name": "[concat(variables('accountName'), '/', parameters('databaseName'), '/', parameters('collection1Name'))]",
219-
"apiVersion": "2020-03-01",
219+
"apiVersion": "2020-04-01",
220220
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/mongodbDatabases', variables('accountName'), parameters('databaseName'))]" ],
221221
"properties":
222222
{

articles/cosmos-db/manage-sql-with-resource-manager.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ This template creates an Azure Cosmos account in two regions with options for co
183183
{
184184
"type": "Microsoft.DocumentDB/databaseAccounts",
185185
"name": "[variables('accountName')]",
186-
"apiVersion": "2020-03-01",
186+
"apiVersion": "2020-04-01",
187187
"kind": "GlobalDocumentDB",
188188
"location": "[parameters('location')]",
189189
"properties": {
@@ -196,7 +196,7 @@ This template creates an Azure Cosmos account in two regions with options for co
196196
{
197197
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases",
198198
"name": "[concat(variables('accountName'), '/', parameters('databaseName'))]",
199-
"apiVersion": "2020-03-01",
199+
"apiVersion": "2020-04-01",
200200
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts', variables('accountName'))]" ],
201201
"properties":{
202202
"resource":{
@@ -208,7 +208,7 @@ This template creates an Azure Cosmos account in two regions with options for co
208208
{
209209
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers",
210210
"name": "[concat(variables('accountName'), '/', parameters('databaseName'), '/', parameters('containerName'))]",
211-
"apiVersion": "2020-03-01",
211+
"apiVersion": "2020-04-01",
212212
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/sqlDatabases', variables('accountName'), parameters('databaseName'))]" ],
213213
"properties":
214214
{
@@ -369,7 +369,7 @@ This template creates an Azure Cosmos account in one region with a container wit
369369
{
370370
"type": "Microsoft.DocumentDB/databaseAccounts",
371371
"name": "[variables('accountName')]",
372-
"apiVersion": "2020-03-01",
372+
"apiVersion": "2020-04-01",
373373
"location": "[parameters('location')]",
374374
"properties": {
375375
"consistencyPolicy": {"defaultConsistencyLevel": "Session"},
@@ -381,7 +381,7 @@ This template creates an Azure Cosmos account in one region with a container wit
381381
{
382382
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases",
383383
"name": "[concat(variables('accountName'), '/', parameters('databaseName'))]",
384-
"apiVersion": "2020-03-01",
384+
"apiVersion": "2020-04-01",
385385
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts', variables('accountName'))]" ],
386386
"properties":{
387387
"resource":{
@@ -392,7 +392,7 @@ This template creates an Azure Cosmos account in one region with a container wit
392392
{
393393
"type": "Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers",
394394
"name": "[concat(variables('accountName'), '/', parameters('databaseName'), '/', parameters('containerName'))]",
395-
"apiVersion": "2020-03-01",
395+
"apiVersion": "2020-04-01",
396396
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/sqlDatabases', variables('accountName'), parameters('databaseName'))]" ],
397397
"properties":
398398
{

articles/cosmos-db/manage-table-with-resource-manager.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ This template will create an Azure Cosmos account for Table API with one table w
178178
{
179179
"type": "Microsoft.DocumentDB/databaseAccounts",
180180
"name": "[variables('accountName')]",
181-
"apiVersion": "2020-03-01",
181+
"apiVersion": "2020-04-01",
182182
"location": "[parameters('location')]",
183183
"kind": "GlobalDocumentDB",
184184
"properties": {
@@ -192,7 +192,7 @@ This template will create an Azure Cosmos account for Table API with one table w
192192
{
193193
"type": "Microsoft.DocumentDB/databaseAccounts/tables",
194194
"name": "[concat(variables('accountName'), '/', parameters('tableName'))]",
195-
"apiVersion": "2020-03-01",
195+
"apiVersion": "2020-04-01",
196196
"dependsOn": [ "[resourceId('Microsoft.DocumentDB/databaseAccounts/', variables('accountName'))]" ],
197197
"properties":{
198198
"resource":{

0 commit comments

Comments
 (0)