diff --git a/test/snippets/expected/Automanage Best Practices DevTest Assignment.snippetresult.json b/test/snippets/expected/Automanage Best Practices DevTest Assignment.snippetresult.json new file mode 100644 index 000000000..ce61b6879 --- /dev/null +++ b/test/snippets/expected/Automanage Best Practices DevTest Assignment.snippetresult.json @@ -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 + } + } + ] +} diff --git a/test/snippets/expected/Automanage Best Practices Prod Assignment.snippetresult.json b/test/snippets/expected/Automanage Best Practices Prod Assignment.snippetresult.json new file mode 100644 index 000000000..a81e11f86 --- /dev/null +++ b/test/snippets/expected/Automanage Best Practices Prod Assignment.snippetresult.json @@ -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 + } + } + ] +} diff --git a/test/snippets/expected/Automanage Create Custom Profile.snippetresult.json b/test/snippets/expected/Automanage Create Custom Profile.snippetresult.json new file mode 100644 index 000000000..30bec1370 --- /dev/null +++ b/test/snippets/expected/Automanage Create Custom Profile.snippetresult.json @@ -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 + } + } + ] +} diff --git a/test/snippets/expected/Automanage Custom Profile Assignment.snippetresult.json b/test/snippets/expected/Automanage Custom Profile Assignment.snippetresult.json new file mode 100644 index 000000000..c096ade45 --- /dev/null +++ b/test/snippets/expected/Automanage Custom Profile Assignment.snippetresult.json @@ -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 + } + } + ] +}