-
Notifications
You must be signed in to change notification settings - Fork 757
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Snippet res-rg - removed single quotes (#4275)
* removed single quotes around the symbolic name
- Loading branch information
1 parent
65bca95
commit ec0c24b
Showing
3 changed files
with
16 additions
and
16 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
12 changes: 6 additions & 6 deletions
12
...Bicep.LangServer.IntegrationTests/Completions/SnippetTemplates/res-rg/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,13 +1,13 @@ | ||
// $1 = resourceGroup | ||
// $2 = 'name' | ||
// $3 = 'westeurope' | ||
targetScope = 'subscription' | ||
// $1 = resourceGroup | ||
// $2 = 'name' | ||
// $3 = 'westeurope' | ||
targetScope = 'subscription' | ||
resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { | ||
name: 'name' | ||
location: 'westeurope' | ||
tags:{ | ||
'tag': 'tagValue' | ||
} | ||
} | ||
// Insert snippet here | ||
|
||
// 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
// Resource Group | ||
resource /*${1:'resourceGroup'}*/resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { | ||
name: /*${2:'name'}*/'name' | ||
location: /*${3|'eastasia','southeastasia','centralus','eastus','eastus2','westus','northcentralus','southcentralus','northeurope','westeurope','japanwest','japaneast','brazilsouth','australiaeast','australiasoutheast','southindia','centralindia','westindia','canadacentral','canadaeast','uksouth','ukwest','westcentralus','westus2','koreacentral','koreasouth','francecentral','francesouth','australiacentral','australiacentral2','uaecentral','uaenorth','southafricanorth','southafricawest','switzerlandnorth','switzerlandwest','germanynorth','germanywestcentral','norwaywest','norwayeast','brazilsoutheast','westus3','swedencentral'|}*/'location' | ||
tags:{ | ||
'tag': 'tagValue' | ||
} | ||
} | ||
// Resource Group | ||
resource /*${1:resourceGroup}*/resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { | ||
name: /*${2:'name'}*/'name' | ||
location: /*${3|'eastasia','southeastasia','centralus','eastus','eastus2','westus','northcentralus','southcentralus','northeurope','westeurope','japanwest','japaneast','brazilsouth','australiaeast','australiasoutheast','southindia','centralindia','westindia','canadacentral','canadaeast','uksouth','ukwest','westcentralus','westus2','koreacentral','koreasouth','francecentral','francesouth','australiacentral','australiacentral2','uaecentral','uaenorth','southafricanorth','southafricawest','switzerlandnorth','switzerlandwest','germanynorth','germanywestcentral','norwaywest','norwayeast','brazilsoutheast','westus3','swedencentral'|}*/'location' | ||
tags:{ | ||
'tag': 'tagValue' | ||
} | ||
} |