-
Notifications
You must be signed in to change notification settings - Fork 759
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed referenced templates (#3837)
- Loading branch information
Showing
25 changed files
with
163 additions
and
298 deletions.
There are no files selected for viewing
32 changes: 16 additions & 16 deletions
32
src/Bicep.Core.Samples/Files/Completions/declarations.json
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 11 additions & 13 deletions
24
src/Bicep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-function/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,15 @@ | ||
// $1 = serverfarms | ||
// $1 = azureFunction | ||
// $2 = 'name' | ||
// $3 = insightsComponents | ||
// $4 = 'name' | ||
// $5 = azureFunction | ||
// $6 = 'name' | ||
// $7 = storageAccountName1 | ||
// $8 = 'storageAccountID1' | ||
// $9 = storageAccountName2 | ||
// $10 = 'storageAccountID2' | ||
// $11 = storageAccountName3 | ||
// $12 = 'storageAccountID3' | ||
// $13 = 'name' | ||
// $14 = dotnet | ||
// $3 = 'serverfarms.id' | ||
// $4 = storageAccountName1 | ||
// $5 = 'storageAccountID1' | ||
// $6 = storageAccountName2 | ||
// $7 = 'storageAccountID2' | ||
// $8 = storageAccountName3 | ||
// $9 = 'storageAccountID3' | ||
// $10 = 'name' | ||
// $11 = 'insightsComponents' | ||
// $12 = dotnet | ||
|
||
|
||
// 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
7 changes: 3 additions & 4 deletions
7
src/Bicep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-media/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,7 +1,6 @@ | ||
// $1 = storageAccount | ||
// $1 = mediaServices | ||
// $2 = 'name' | ||
// $3 = mediaServices | ||
// $4 = 'name' | ||
// $5 = Primary | ||
// $3 = 'storageAccount.id' | ||
// $4 = Primary | ||
|
||
// Insert snippet here |
13 changes: 4 additions & 9 deletions
13
...ep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-media/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
10 changes: 4 additions & 6 deletions
10
src/Bicep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-nic/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,9 +1,7 @@ | ||
// $1 = 'name' | ||
// $2 = subnet | ||
// $1 = networkInterface | ||
// $2 = 'name' | ||
// $3 = 'name' | ||
// $4 = networkInterface | ||
// $5 = 'name' | ||
// $6 = 'name' | ||
// $7 = Dynamic | ||
// $4 = Dynamic | ||
// $5 = 'subnet.id' | ||
|
||
// 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
11 changes: 5 additions & 6 deletions
11
...icep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-vnet-peering/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,10 +1,9 @@ | ||
// $1 = virtualNetworks | ||
// $2 = 'name' | ||
// $3 = peering | ||
// $4 = 'virtualNetwork/name' | ||
// $1 = peering | ||
// $2 = 'virtualNetwork/name' | ||
// $3 = true | ||
// $4 = true | ||
// $5 = true | ||
// $6 = true | ||
// $7 = true | ||
// $8 = true | ||
// $7 = 'virtualNetworks.id' | ||
|
||
// 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
14 changes: 6 additions & 8 deletions
14
...ngServer.IntegrationTests/Completions/SnippetTemplates/res-vpn-vnet-connection/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,11 +1,9 @@ | ||
// $1 = virtualNetworkGateways | ||
// $1 = vpnVnetConnection | ||
// $2 = 'name' | ||
// $3 = localNetworkGateways | ||
// $4 = 'name' | ||
// $5 = vpnVnetConnection | ||
// $6 = 'name' | ||
// $7 = IPsec | ||
// $8 = 0 | ||
// $9 = 'sharedkey' | ||
// $3 = 'virtualNetworkGateways.id' | ||
// $4 = 'localNetworkGateways.id' | ||
// $5 = IPsec | ||
// $6 = 0 | ||
// $7 = 'sharedkey' | ||
|
||
// Insert snippet here |
26 changes: 8 additions & 18 deletions
26
...IntegrationTests/Completions/SnippetTemplates/res-vpn-vnet-connection/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
21 changes: 9 additions & 12 deletions
21
....LangServer.IntegrationTests/Completions/SnippetTemplates/res-vpn-vnet-gateway/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,15 +1,12 @@ | ||
// $1 = 'name' | ||
// $2 = subnet | ||
// $1 = virtualNetworkGateway | ||
// $2 = 'name' | ||
// $3 = 'name' | ||
// $4 = publicIPAdresses | ||
// $5 = 'name' | ||
// $6 = virtualNetworkGateway | ||
// $7 = 'name' | ||
// $8 = 'name' | ||
// $9 = Basic | ||
// $10 = Basic | ||
// $11 = Vpn | ||
// $12 = PolicyBased | ||
// $13 = true | ||
// $4 = 'subnet.id' | ||
// $5 = 'publicIPAdresses.id' | ||
// $6 = Basic | ||
// $7 = Basic | ||
// $8 = Vpn | ||
// $9 = PolicyBased | ||
// $10 = true | ||
|
||
// 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
7 changes: 3 additions & 4 deletions
7
src/Bicep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-web-app/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,7 +1,6 @@ | ||
// $1 = webServerFarms | ||
// $1 = webApplication | ||
// $2 = 'name' | ||
// $3 = webApplication | ||
// $4 = 'name' | ||
// $5 = appServicePlan | ||
// $3 = appServicePlan | ||
// $4 = 'webServerFarms.id' | ||
|
||
// Insert snippet here |
13 changes: 4 additions & 9 deletions
13
....LangServer.IntegrationTests/Completions/SnippetTemplates/res-web-app/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,20 +1,15 @@ | ||
// $1 = webServerFarms | ||
// $1 = webApplication | ||
// $2 = 'name' | ||
// $3 = webApplication | ||
// $4 = 'name' | ||
// $5 = appServicePlan | ||
// $3 = appServicePlan | ||
// $4 = 'webServerFarms.id' | ||
|
||
resource webServerFarms 'Microsoft.Web/serverfarms@2021-01-15' existing = { | ||
name: 'name' | ||
} | ||
|
||
resource webApplication 'Microsoft.Web/sites@2018-11-01' = { | ||
name: 'name' | ||
location: resourceGroup().location | ||
tags: { | ||
'hidden-related:${resourceGroup().id}/providers/Microsoft.Web/serverfarms/appServicePlan': 'Resource' | ||
} | ||
properties: { | ||
serverFarmId: webServerFarms.id | ||
serverFarmId: 'webServerFarms.id' | ||
} | ||
}// Insert snippet here |
9 changes: 4 additions & 5 deletions
9
...icep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-wvd-appgroup/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,8 +1,7 @@ | ||
// $1 = desktopVirtualizationHostPools | ||
// $1 = applicationGroup | ||
// $2 = 'name' | ||
// $3 = applicationGroup | ||
// $4 = 'name' | ||
// $5 = 'friendlyName' | ||
// $6 = 'Desktop' | ||
// $3 = 'friendlyName' | ||
// $4 = 'Desktop' | ||
// $5 = 'desktopVirtualizationHostPools.id' | ||
|
||
// Insert snippet here |
Oops, something went wrong.