<commit_before>{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
      "location": {
        "type": "string"
      },
      "vmName": {
        "type": "string"
      },
      "vmSize": {
        "type": "string"
      },
      "adminUsername": {
        "type": "string"
      },
      "adminPassword": {
        "type": "securestring"
      },
      "storageAccountName": {
        "type": "string"
      },
      "nicName": {
        "type": "string"
      },
      "automationAccountName": {
        "type": "string"
      },
      "nodeConfigurationName": {
        "type": "string",
        "defaultValue": "domainControllerConfig.localhost"
      }
    },
    "variables": {
      "storageAccountType": "Standard_LRS"
    },
    "resources": [
      {
        "type": "Microsoft.Storage/storageAccounts",
        "name": "[parameters('storageAccountName')]",
        "apiVersion": "2017-10-01",
        "location": "[parameters('location')]",
        "sku": {
          "name": "[variables('storageAccountType')]"
        },
        "kind": "Storage",
        "properties": {}
      },
      {
        "name": "[parameters('automationAccountName')]",
        "type": "Microsoft.Automation/automationAccounts",
        "apiVersion": "2018-01-15",
        "location": "[parameters('location')]",
        "comments": "Automation account for OMS",
        "properties": {
          "sku": {
            "name": "OMS"
          }
        }
      },
      {
        "name": "[parameters('VMName')]",
        "type": "Microsoft.Compute/virtualMachines",
        "apiVersion": "2017-12-01",
        "location": "[parameters('location')]",
        "dependsOn": [
          "[parameters('storageAccountName')]",
          "[parameters('automationAccountName')]"
        ],
        "properties": {
          "hardwareProfile": {
            "vmSize": "[parameters('VMSize')]"
          },
          "osProfile": {
            "computerName": "[parameters('VMName')]",
            "adminUsername": "[parameters('adminUsername')]",
            "adminPassword": "[parameters('adminPassword')]"
          },
          "storageProfile": {
            "imageReference": {
              "publisher": "MicrosoftWindowsServer",
              "offer": "WindowsServer",
              "sku": "2016-Datacenter-Server-Core",
              "version": "latest"
            },
            "osDisk": {
              "createOption": "FromImage"
            },
            "dataDisks": [
              {
                "createOption": "Empty",
                "diskSizeGB": 100,
                "lun": 0
              }
            ]
          },
          "networkProfile": {
            "networkInterfaces": [
              {
                "id": "[resourceId('Microsoft.Network/networkInterfaces',parameters('NicName'))]"
              }
            ]
          },
          "diagnosticsProfile": {
            "bootDiagnostics": {
              "enabled": true,
              "storageUri": "[concat(reference(resourceId('Microsoft.Storage/storageAccounts/', parameters('storageAccountName'))).primaryEndpoints.blob)]"
            }
          }
        }
      },
      {
        "type": "Microsoft.Compute/virtualMachines/extensions",
        "name": "[concat(parameters('VMName'),'/Microsoft.Powershell.DSC')]",
        "apiVersion": "2017-12-01",
        "location": "[parameters('location')]",
        "dependsOn": [
          "[parameters('VMName')]"
        ],
        "properties": {
          "publisher": "Microsoft.Powershell",
          "type": "DSC",
          "typeHandlerVersion": "2.75",
          "autoUpgradeMinorVersion": true,
          "settings": {
            "RegistrationUrl": "[reference(resourceId('Microsoft.Automation/automationAccounts/', parameters('automationAccountName'))).registrationUrl]",
            "NodeConfigurationName": "[parameters('nodeConfigurationName')]",
            "ConfigurationMode": "ApplyandAutoCorrect",
            "RebootNodeIfNeeded": true,
            "ActionAfterReboot": "ContinueConfiguration"
          },
          "protectedSettings": {
              "registrationKey": {
                "userName": "notused",
                "Password": "[listKeys(resourceId('Microsoft.Automation/automationAccounts/', parameters('automationAccountName')), '2018-01-15').Keys[0].value]"
              }
          }
        }
      }
    ],
    "outputs": {}
  }
  <commit_msg>temporarily use older extension schema<commit_after>{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
      "location": {
        "type": "string"
      },
      "vmName": {
        "type": "string"
      },
      "vmSize": {
        "type": "string"
      },
      "adminUsername": {
        "type": "string"
      },
      "adminPassword": {
        "type": "securestring"
      },
      "storageAccountName": {
        "type": "string"
      },
      "nicName": {
        "type": "string"
      },
      "automationAccountName": {
        "type": "string"
      },
      "nodeConfigurationName": {
        "type": "string",
        "defaultValue": "domainControllerConfig.localhost"
      }
    },
    "variables": {
      "storageAccountType": "Standard_LRS"
    },
    "resources": [
      {
        "type": "Microsoft.Storage/storageAccounts",
        "name": "[parameters('storageAccountName')]",
        "apiVersion": "2017-10-01",
        "location": "[parameters('location')]",
        "sku": {
          "name": "[variables('storageAccountType')]"
        },
        "kind": "Storage",
        "properties": {}
      },
      {
        "name": "[parameters('automationAccountName')]",
        "type": "Microsoft.Automation/automationAccounts",
        "apiVersion": "2018-01-15",
        "location": "[parameters('location')]",
        "comments": "Automation account for OMS",
        "properties": {
          "sku": {
            "name": "OMS"
          }
        }
      },
      {
        "name": "[parameters('VMName')]",
        "type": "Microsoft.Compute/virtualMachines",
        "apiVersion": "2017-12-01",
        "location": "[parameters('location')]",
        "dependsOn": [
          "[parameters('storageAccountName')]",
          "[parameters('automationAccountName')]"
        ],
        "properties": {
          "hardwareProfile": {
            "vmSize": "[parameters('VMSize')]"
          },
          "osProfile": {
            "computerName": "[parameters('VMName')]",
            "adminUsername": "[parameters('adminUsername')]",
            "adminPassword": "[parameters('adminPassword')]"
          },
          "storageProfile": {
            "imageReference": {
              "publisher": "MicrosoftWindowsServer",
              "offer": "WindowsServer",
              "sku": "2016-Datacenter-Server-Core",
              "version": "latest"
            },
            "osDisk": {
              "createOption": "FromImage"
            },
            "dataDisks": [
              {
                "createOption": "Empty",
                "diskSizeGB": 100,
                "lun": 0
              }
            ]
          },
          "networkProfile": {
            "networkInterfaces": [
              {
                "id": "[resourceId('Microsoft.Network/networkInterfaces',parameters('NicName'))]"
              }
            ]
          },
          "diagnosticsProfile": {
            "bootDiagnostics": {
              "enabled": true,
              "storageUri": "[concat(reference(resourceId('Microsoft.Storage/storageAccounts/', parameters('storageAccountName'))).primaryEndpoints.blob)]"
            }
          }
        }
      },
      {
        "type": "Microsoft.Compute/virtualMachines/extensions",
        "name": "[concat(parameters('VMName'),'/Microsoft.Powershell.DSC')]",
        "apiVersion": "2017-12-01",
        "location": "[parameters('location')]",
        "dependsOn": [
          "[concat('Microsoft.Compute/virtualMachines/', parameters('VMName'))]"
        ],
        "properties": {
          "publisher": "Microsoft.Powershell",
          "type": "DSC",
          "typeHandlerVersion": "2.75",
          "autoUpgradeMinorVersion": true,
          "protectedSettings": {
            "Items": {
                "registrationKeyPrivate": "[listKeys(resourceId('Microsoft.Automation/automationAccounts/', parameters('automationAccountName')), '2018-01-15').Keys[0].value]"
            }
          },
          "settings": {
            "Properties": [
                  {
                    "Name": "RegistrationKey",
                    "Value": {
                        "UserName": "PLACEHOLDER_DONOTUSE",
                        "Password": "<PASSWORD>:registration<PASSWORD>"
                    },
                    "TypeName": "System.Management.Automation.PSCredential"
                },
                  {
                      "Name": "RegistrationUrl",
                      "Value": "[reference(concat('Microsoft.Automation/automationAccounts/', parameters('automationAccountName'))).registrationUrl]",
                      "TypeName": "System.String"
                  },
                  {
                      "Name": "NodeConfigurationName",
                      "Value": "[parameters('nodeConfigurationName')]",
                      "TypeName": "System.String"
                  },
                  {
                    "Name": "ConfigurationMode",
                    "Value": "ApplyandAutoCorrect",
                    "TypeName": "System.String"
                  },
                  {
                    "Name": "RebootNodeIfNeeded",
                    "Value": true,
                    "TypeName": "System.Boolean"
                  },
                  {
                    "Name": "ActionAfterReboot",
                    "Value": "ContinueConfiguration",
                    "TypeName": "System.String"
                  }
            ]
          }
        }
      }
    ],
    "outputs": {}
  }
  
{'fraction_non_alphanumeric': 0.16325925925925927, 'fraction_numerical': 0.012641975308641975, 'mean_word_length': 1.6404172099087353, 'pattern_counts': {'":': 201, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4936380', 'n_tokens_mistral': 2787, 'n_tokens_neox': 2633, 'n_words': 359}