-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9218c32
commit c15cc33
Showing
4 changed files
with
65 additions
and
0 deletions.
There are no files selected for viewing
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
6 changes: 6 additions & 0 deletions
6
src/Bicep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-mg/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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// $1 = managementGroup | ||
// $2 = 'name' | ||
// $3 = 'displayName' | ||
// $4 = 'id' | ||
targetScope = 'tenant' | ||
// Insert snippet here |
18 changes: 18 additions & 0 deletions
18
...Bicep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-mg/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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// $1 = managementGroup | ||
// $2 = 'name' | ||
// $3 = 'displayName' | ||
// $4 = 'id' | ||
targetScope = 'tenant' | ||
resource managementGroup 'Microsoft.Management/managementGroups@2021-04-01' = { | ||
name: 'name' | ||
properties: { | ||
displayName: 'displayName' | ||
details: { | ||
parent: { | ||
id: '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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Management Group(for tenant scope) | ||
resource /*${1:'managementGroup'}*/managementGroup 'Microsoft.Management/managementGroups@2021-04-01' = { | ||
name: /*${2:'name'}*/'name' | ||
properties: { | ||
displayName: /*${3:'displayName'}*/'displayName' | ||
details: { | ||
parent: { | ||
id: /*${4:'id'}*/'id' | ||
} | ||
} | ||
} | ||
} |