mysql - Azure 尝试创建 MySQL 数据库时失败

标签 mysql rest azure

当我尝试使用纯 REST 请求 (PUT) 在 Microsoft Azure 上创建 MySQL 数据库时:

https://management.azure.com/subscriptions/<subscriptionid>/resourceGroups
/resource-<id>/providers/successbricks.cleardb/databases/<my-database>?
api-version=2014-04-01

我收到此错误:

HTTP 状态代码 400 错误请求

Error message: 'Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item or create it there for the first time'

因此,我访问了 Microsoft Azure 门户,并接受了法律条款。我又试了一次,同样的错误。我几乎在整个 Azure 门户中搜索了一些与此相关的配置,但一无所获。

有人有同样的问题吗?

谢谢。

最佳答案

您不仅应该接受这些条款,还应该遵循使编程访问成为可能的程序。它应该位于许可证页面上。

enter image description here

关于mysql - Azure 尝试创建 MySQL 数据库时失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36846231/

相关文章:

php - 选择外键列: Cannot add or update a child row: a foreign key constraint fails

mysql - 插入 MySQL 表或更新(如果存在但没有唯一键)

rest - 如何从 yii2 REST API 中的 api 调用获取特定字段或更新主题并获取关系字段?

azure - 通过 Terraform 创建 Azure 自动化启动/停止解决方案

java - Selenium 网格和 azure

mysql - 如何仅更新日期数据类型的月份部分

mysql - 在 .values() Django ORM 中获取用户全名

java - MULE ESB 使用先前组件的参数发送帖子

java - Spring REST 服务不会因 URL 中的某些符号而触发

azure - 在 Azure DevOps 中通过拉取请求进行构建