title: ARM Template 'type' property required
body: <p>I am trying to deploy a documentDb from the Azure-Cli (version 0.10.2) and so I exported the template directly from azure portal. </p>
  
  <p>This resulted in an error of:</p>
  
  <blockquote>
    <p>InvalidRequestContent : The request content was invalid and could not be deserialized: 'Could not find member 'defaultValue' on object of type 'DeploymentParameterDefinition'. Path 'properties.parameters.arm_document_db.defaultValue'</p>
  </blockquote>
  
  <p>Changing those to "value" results in:</p>
  
  <blockquote>
    <p>InvalidDeploymentParameterType : The type of deployment parameter 'arm_document_db' should not be specified. Please see <a href="https://aka.ms/arm-deploy/#parameter-file" rel="nofollow">https://aka.ms/arm-deploy/#parameter-file</a> for details.</p>
  </blockquote>
  
  <p>checking this page indicates that type is required, but is all in lowercase. This gave the same error.</p>
  
  <p>removing "type" then gives me this error:</p>
  
  <blockquote>
    <p>InvalidRequestContent : The request content was invalid and could not be deserialized: 'Required property 'type' not found in JSON. Path 'properties.template.parameters.arm_document_db'</p>
  </blockquote>
  
  <pre><code>{
  "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
      "arm_document_db": {
          "defaultValue": null,
          "type": "SecureString"
      },
      "arm_document_db01": {
          "defaultValue": "arm-document-db01",
          "type": "String"
      }
  },
  "variables": {},
  "resources": [
      {
          "type": "Microsoft.DocumentDB/databaseAccounts",
          "kind": "DocumentDB",
          "name": "[parameters('arm_document_db01')]",
          "apiVersion": "2015-04-08",
          "location": "Japan West",
          "tags": {},
          "properties": {
              "databaseAccountOfferType": "Standard",
              "name": "[parameters('arm_document_db')]"
          },
          "dependsOn": []
      }
  ]
  }
  </code></pre>
  
  <p>The aka.ms link shows that 'type' is required, however the error says that it isn't. Many thanks in advance!</p>