Skip to content

Commit

Permalink
Updated snippet descriptions to fix declarations.json "typos" (Azure#…
Browse files Browse the repository at this point in the history
…6213)

* Updated description comment

* Updated declarations
  • Loading branch information
StefanIvemo authored and SimonWahlin committed Mar 30, 2022
1 parent 908e220 commit 586bc3f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/Bicep.Core.Samples/Files/Completions/declarations.json
Original file line number Diff line number Diff line change
Expand Up @@ -1929,7 +1929,7 @@
{
"label": "res-policy-exemption",
"kind": "snippet",
"detail": "olicy Exemption",
"detail": "Policy Exemption",
"documentation": {
"kind": "markdown",
"value": "```bicep\nresource policyExemption 'Microsoft.Authorization/policyExemptions@2020-07-01-preview' = {\n name: 'name'\n properties: {\n policyAssignmentId: 'policyAssignmentId'\n policyDefinitionReferenceIds: [\n 'policyDefinitionReferenceIds'\n ]\n exemptionCategory: 'Mitigated'\n expiresOn: 'expiresOn'\n displayName: 'displayName'\n description: 'description'\n metadata: {\n version: '0.1.0'\n source: 'source'\n }\n }\n}\n\n```"
Expand Down Expand Up @@ -2045,7 +2045,7 @@
{
"label": "res-policy-remediation",
"kind": "snippet",
"detail": "olicy Remediation",
"detail": "Policy Remediation",
"documentation": {
"kind": "markdown",
"value": "```bicep\nresource policyRemediation 'Microsoft.PolicyInsights/remediations@2019-07-01' = {\n name: 'name'\n properties: {\n policyAssignmentId: 'policyAssignmentId'\n policyDefinitionReferenceId: 'policyDefinitionReferenceId'\n resourceDiscoveryMode: 'ExistingNonCompliant'\n filters: {\n locations: [\n location\n ]\n }\n }\n}\n\n```"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Policy Exemption
// Policy Exemption
resource /*${1:policyExemption}*/policyExemption 'Microsoft.Authorization/policyExemptions@2020-07-01-preview' = {
name: /*${2:'name'}*/'name'
properties: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//Policy Remediation
// Policy Remediation
resource /*${1:policyRemediation}*/policyRemediation 'Microsoft.PolicyInsights/remediations@2019-07-01' = {
name: /*${2:'name'}*/'name'
properties: {
Expand Down

0 comments on commit 586bc3f

Please sign in to comment.