{
    "properties": {
        "displayName": "Audit Windows VMs that have not restarted within the specified number of days",
        "policyType": "BuiltIn",
        "description": "This initiative deploys the policy requirements and audits Windows virtual machines that have not restarted within the specified number of days. For more information on Guest Configuration policies, please visit https://aka.ms/gcpol",
        "metadata": {
            "version": "1.0.0-deprecated",
            "category": "Guest Configuration",
            "deprecated": true
        },
        "parameters": {
            "NumberOfDays": {
                "type": "string",
                "metadata": {
                    "displayName": "Number of days",
                    "description": "The number of days without restart until the machine is considered non-compliant"
                },
                "defaultValue": "12"
            }
        },
        "policyDefinitions": [
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/f4b245d4-46c9-42be-9b1a-49e2b5b94194",
                "policyDefinitionReferenceId": "Deploy_MachineLastBootUpTime",
                "parameters": {
                    "NumberOfDays": {
                        "value": "[parameters('NumberOfDays')]"
                    }
                }
            },
            {
                "policyDefinitionId": "/providers/Microsoft.Authorization/policyDefinitions/7e84ba44-6d03-46fd-950e-5efa5a1112fa",
                "policyDefinitionReferenceId": "Audit_MachineLastBootUpTime"
            }
        ]
    },
    "id": "/providers/Microsoft.Authorization/policySetDefinitions/b8b5b0a8-b809-4e5d-8082-382c686e35b7",
    "name": "b8b5b0a8-b809-4e5d-8082-382c686e35b7"
}