This policy sample will block users from setting HTTPs only to disabled on storage accounts. You can not deploy this via template deployment in the Azure Portal. You can deploy the template using Azure CLI or Azure PowerShell.
New-AzDeployment -Location location -TemplateFile path-to-template
az deployment create --location location --template-file path-to-template