Мне удалось создать бесплатную учетную запись sendgrid с использованием шаблона ARM, но я не смог создать учетную запись бронзового типа.
{
"name": "[variables('testsendgrid')]",
"type": "Sendgrid.Email/accounts",
"location": "[resourceGroup().location]",
"apiVersion": "2015-01-01",
"plan": {
"name": "bronze",
"publisher": "Sendgrid",
"product": "sendgrid_azure",
"promotionCode": ""
},
"properties": {
"password": "[variables('pswd')]",
"acceptMarketingEmails":true,
"email": "xxx.xx@xx.com"
}
}
"ошибка": {
"code": "ResourcePurchaseValidationFailed",
«message»: «Пользователь не прошел проверку для покупки ресурсов. Сообщение об ошибке:« Для этого элемента в данной подписке не приняты юридические условия: «dXXXX-xxxx-xx-xx-xxxxxxxx». Чтобы принять юридические условия с помощью PowerShell, используйте API Get-AzureRmMarketplaceTerms и Set-AzureRmMarketplaceTerms (https://go.microsoft.com/fwlink/?linkid=862451) или разверните через портал Azure, чтобы принять условия ""
}