-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix tests * update * fix fix Co-authored-by: Stephen Weatherford <Stephen.Weatherford.com>
- Loading branch information
1 parent
9dd0623
commit c5c655d
Showing
4 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
test/snippets/expected/Automanage Best Practices DevTest Assignment.snippetresult.json
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,32 @@ | ||
{ | ||
"resources": [ | ||
{ | ||
"scope": "'Microsoft.Compute/virtualMachines/vmName", | ||
"type": "Microsoft.Automanage/configurationProfileAssignments", | ||
"apiVersion": "2022-05-04", | ||
"name": "default", | ||
"properties": { | ||
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesDevTest" | ||
} | ||
} | ||
], | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"variables": { | ||
//Insert here: variable | ||
}, | ||
"parameters": { | ||
//Insert here: parameter | ||
}, | ||
"outputs": { | ||
//Insert here: output | ||
}, | ||
"functions": [ | ||
{ | ||
"namespace": "udf", | ||
"members": { | ||
//Insert here: user function | ||
} | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
test/snippets/expected/Automanage Best Practices Prod Assignment.snippetresult.json
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,32 @@ | ||
{ | ||
"resources": [ | ||
{ | ||
"scope": "'Microsoft.Compute/virtualMachines/vmName", | ||
"type": "Microsoft.Automanage/configurationProfileAssignments", | ||
"apiVersion": "2022-05-04", | ||
"name": "default", | ||
"properties": { | ||
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction" | ||
} | ||
} | ||
], | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"variables": { | ||
//Insert here: variable | ||
}, | ||
"parameters": { | ||
//Insert here: parameter | ||
}, | ||
"outputs": { | ||
//Insert here: output | ||
}, | ||
"functions": [ | ||
{ | ||
"namespace": "udf", | ||
"members": { | ||
//Insert here: user function | ||
} | ||
} | ||
] | ||
} |
60 changes: 60 additions & 0 deletions
60
test/snippets/expected/Automanage Create Custom Profile.snippetresult.json
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,60 @@ | ||
{ | ||
"resources": [ | ||
{ | ||
"name": "automanage", | ||
"type": "Microsoft.Automanage/configurationProfiles", | ||
"apiVersion": "2022-05-04", | ||
"location": "[resourceGroup().location]", | ||
"properties": { | ||
"configuration": { | ||
"Antimalware/Enable": true, | ||
"Antimalware/Exclusions/Paths": "", | ||
"Antimalware/Exclusions/Extensions": "", | ||
"Antimalware/Exclusions/Processes": "", | ||
"Antimalware/EnableRealTimeProtection": true, | ||
"Antimalware/RunScheduledScan": true, | ||
"Antimalware/ScanType": "Quick", | ||
"Antimalware/ScanDay": 7, | ||
"Antimalware/ScanTimeInMinutes": 120, | ||
"Backup/Enable": true, | ||
"Backup/PolicyName": "dailyBackupPolicy", | ||
"Backup/TimeZone": "UTC", | ||
"Backup/InstantRpRetentionRangeInDays": 2, | ||
"Backup/SchedulePolicy/ScheduleRunFrequency": "Daily", | ||
"Backup/SchedulePolicy/SchedulePolicyType": "SimpleSchedulePolicy", | ||
"Backup/RetentionPolicy/RetentionPolicyType": "LongTermRetentionPolicy", | ||
"Backup/RetentionPolicy/DailySchedule/RetentionDuration/Count": 180, | ||
"Backup/RetentionPolicy/DailySchedule/RetentionDuration/DurationType": "Days", | ||
"WindowsAdminCenter/Enable": false, | ||
"VMInsights/Enable": true, | ||
"AzureSecurityCenter/Enable": true, | ||
"UpdateManagement/Enable": true, | ||
"ChangeTrackingAndInventory/Enable": true, | ||
"GuestConfiguration/Enable": true, | ||
"AutomationAccount/Enable": true, | ||
"LogAnalytics/Enable": true, | ||
"BootDiagnostics/Enable": true | ||
} | ||
} | ||
} | ||
], | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"variables": { | ||
//Insert here: variable | ||
}, | ||
"parameters": { | ||
//Insert here: parameter | ||
}, | ||
"outputs": { | ||
//Insert here: output | ||
}, | ||
"functions": [ | ||
{ | ||
"namespace": "udf", | ||
"members": { | ||
//Insert here: user function | ||
} | ||
} | ||
] | ||
} |
32 changes: 32 additions & 0 deletions
32
test/snippets/expected/Automanage Custom Profile Assignment.snippetresult.json
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,32 @@ | ||
{ | ||
"resources": [ | ||
{ | ||
"scope": "'Microsoft.Compute/virtualMachines/vmName", | ||
"type": "Microsoft.Automanage/configurationProfileAssignments", | ||
"apiVersion": "2022-05-04", | ||
"name": "default", | ||
"properties": { | ||
"configurationProfile": "[resourceId('Microsoft.Automanage/configurationProfiles', 'configurationProfileName')]" | ||
} | ||
} | ||
], | ||
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | ||
"contentVersion": "1.0.0.0", | ||
"variables": { | ||
//Insert here: variable | ||
}, | ||
"parameters": { | ||
//Insert here: parameter | ||
}, | ||
"outputs": { | ||
//Insert here: output | ||
}, | ||
"functions": [ | ||
{ | ||
"namespace": "udf", | ||
"members": { | ||
//Insert here: user function | ||
} | ||
} | ||
] | ||
} |