forked from radius-project/bicep
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update res-cosmos-account * Update res-cosmos-tablestorage-table * Update res-cosmos-sql-database * Update res-cosmos-sql-container * Update res-cosmos-mongo-database * Update res-cosmos-gremlin-database and res-cosmos-gremlin-graph * Update res-cosmos-cassandra-keyspace and res-cosmos-cassandra-table
- Loading branch information
Showing
27 changed files
with
173 additions
and
173 deletions.
There are no files selected for viewing
36 changes: 18 additions & 18 deletions
36
src/Bicep.Core.Samples/Files/Completions/declarations.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...er.IntegrationTests/Completions/SnippetTemplates/res-cosmos-cassandra-keyspace/main.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// $1 = cassandraKeyspace | ||
// $2 = 'accountName/cassandra/databaseName' | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
// $4 = 'throughput' | ||
// $4 = 1000 | ||
|
||
// Insert snippet here |
20 changes: 10 additions & 10 deletions
20
...ationTests/Completions/SnippetTemplates/res-cosmos-cassandra-keyspace/main.combined.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
// $1 = cassandraKeyspace | ||
// $2 = 'accountName/cassandra/databaseName' | ||
// $3 = 'id' | ||
// $4 = 'throughput' | ||
|
||
resource cassandraKeyspace 'Microsoft.DocumentDB/databaseAccounts/apis/keyspaces@2016-03-31' = { | ||
name: 'accountName/cassandra/databaseName' | ||
// $1 = cassandraKeyspace | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
// $4 = 1000 | ||
|
||
resource cassandraKeyspace 'Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces@2021-06-15' = { | ||
name: 'accountName/databaseName' | ||
properties: { | ||
resource: { | ||
id: 'id' | ||
} | ||
options: { | ||
throughput: 'throughput' | ||
throughput: 1000 | ||
} | ||
} | ||
} | ||
// Insert snippet here | ||
|
||
// Insert snippet here | ||
|
2 changes: 1 addition & 1 deletion
2
...erver.IntegrationTests/Completions/SnippetTemplates/res-cosmos-cassandra-table/main.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...rver.IntegrationTests/Completions/SnippetTemplates/res-cosmos-gremlin-database/main.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// $1 = gremlinDb | ||
// $2 = 'accountName/gremlin/databaseName' | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
// $4 = 'throughput' | ||
// $4 = 1000 | ||
|
||
// Insert snippet here |
20 changes: 10 additions & 10 deletions
20
...grationTests/Completions/SnippetTemplates/res-cosmos-gremlin-database/main.combined.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
// $1 = gremlinDb | ||
// $2 = 'accountName/gremlin/databaseName' | ||
// $3 = 'id' | ||
// $4 = 'throughput' | ||
|
||
resource gremlinDb 'Microsoft.DocumentDB/databaseAccounts/apis/databases@2016-03-31' = { | ||
name: 'accountName/gremlin/databaseName' | ||
// $1 = gremlinDb | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
// $4 = 1000 | ||
|
||
resource gremlinDb 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases@2021-06-15' = { | ||
name: 'accountName/databaseName' | ||
properties: { | ||
resource: { | ||
id: 'id' | ||
} | ||
options: { | ||
throughput: 'throughput' | ||
throughput: 1000 | ||
} | ||
} | ||
} | ||
// Insert snippet here | ||
|
||
// Insert snippet here | ||
|
8 changes: 4 additions & 4 deletions
8
...gServer.IntegrationTests/Completions/SnippetTemplates/res-cosmos-gremlin-graph/main.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
// $1 = 'accountName/gremlin/databaseName' | ||
// $1 = 'accountName/databaseName' | ||
// $2 = 'id' | ||
// $3 = 'throughput' | ||
// $3 = 1000 | ||
// $4 = cosmosDBGremlinGraph | ||
// $5 = 'name' | ||
// $6 = 'id' | ||
// $7 = 'paths' | ||
// $8 = Hash | ||
// $9 = Consistent | ||
// $9 = consistent | ||
// $10 = 'path' | ||
// $11 = Hash | ||
// $12 = String | ||
// $13 = -1 | ||
// $14 = 'path' | ||
// $15 = 'throughput' | ||
// $15 = 1000 | ||
|
||
// Insert snippet here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...Server.IntegrationTests/Completions/SnippetTemplates/res-cosmos-mongo-database/main.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
// $1 = mongoDb | ||
// $2 = 'accountName/mongodb/databaseName' | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
|
||
// Insert snippet here |
16 changes: 8 additions & 8 deletions
16
...tegrationTests/Completions/SnippetTemplates/res-cosmos-mongo-database/main.combined.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
// $1 = mongoDb | ||
// $2 = 'accountName/mongodb/databaseName' | ||
// $3 = 'id' | ||
|
||
resource mongoDb 'Microsoft.DocumentDB/databaseAccounts/apis/databases@2016-03-31' = { | ||
name: 'accountName/mongodb/databaseName' | ||
// $1 = mongoDb | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
|
||
resource mongoDb 'Microsoft.DocumentDB/databaseAccounts/mongodbDatabases@2021-06-15' = { | ||
name: 'accountName/databaseName' | ||
properties: { | ||
resource: { | ||
id: 'id' | ||
} | ||
options: {} | ||
} | ||
} | ||
// Insert snippet here | ||
|
||
// Insert snippet here | ||
|
4 changes: 2 additions & 2 deletions
4
...gServer.IntegrationTests/Completions/SnippetTemplates/res-cosmos-sql-container/main.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...ngServer.IntegrationTests/Completions/SnippetTemplates/res-cosmos-sql-database/main.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// $1 = sqlDb | ||
// $2 = 'accountName/sql/databaseName' | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
// $4 = 'throughput' | ||
// $4 = 1000 | ||
|
||
// Insert snippet here |
20 changes: 10 additions & 10 deletions
20
...IntegrationTests/Completions/SnippetTemplates/res-cosmos-sql-database/main.combined.bicep
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
// $1 = sqlDb | ||
// $2 = 'accountName/sql/databaseName' | ||
// $3 = 'id' | ||
// $4 = 'throughput' | ||
|
||
resource sqlDb 'Microsoft.DocumentDB/databaseAccounts/apis/databases@2016-03-31' = { | ||
name: 'accountName/sql/databaseName' | ||
// $1 = sqlDb | ||
// $2 = 'accountName/databaseName' | ||
// $3 = 'id' | ||
// $4 = 1000 | ||
|
||
resource sqlDb 'Microsoft.DocumentDB/databaseAccounts/sqlDatabases@2021-06-15' = { | ||
name: 'accountName/databaseName' | ||
properties: { | ||
resource: { | ||
id: 'id' | ||
} | ||
options: { | ||
throughput: 'throughput' | ||
throughput: 1000 | ||
} | ||
} | ||
} | ||
// Insert snippet here | ||
|
||
// Insert snippet here | ||
|
Oops, something went wrong.