ResourceMoveProviderValidationFailed 错误
ResourceMoveProviderValidationFailed Error
将 VM 从一个资源组移动到另一个资源组时遇到此错误虽然没有 SQL 与 VM 关联的 VM 仍然出现此错误
{
**"code": "ResourceMoveProviderValidationFailed",**
"message": "Resource move validation failed. Please see details. Diagnostic information: timestamp '20200908T142742Z', subscription id 'xxx-xxx-xxxx', tracking id 'xxxxxxx-414a-xxxxx-adb4-xxxxxx', request correlation id 'xxxxxxxxxxxx'.",
"details": [
{
"code": "MissingMoveResources",
"target": "Microsoft.SqlVirtualMachine/SqlVirtualMachines",
"message": **"Cannot move resource(s) because following resources /subscriptions/xxxxxxxxx/resourceGroups/myrgroup/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/xxxxx0020 need to be included in move request to target resource group as well. Please include these and try again.**"
}
]
}
错误代码 409 MissingMoveResources 在 Azure SQL VM REST API documentation 中记录为:
409 MissingMoveResources - Cannot move resources(s) because some
resources are missing in the request.
因此,根据上面发布的错误详细信息,这确实意味着您正在查看的虚拟机链接到 SQL 虚拟机。最简单的方法是从 Portal 本身验证它:
如上图所示:
- SQL 服务器配置 选项卡位于 设置 blade 和
- Publisher 是 MicrosoftSQLServer
确认相同。
因此,您必须知道关联的 SQL 虚拟机并将其也包含在您的请求中才能成功完成移动操作。您可以通过 accessing the SQL Server configuration 选项卡访问 SQL 虚拟机。
将 VM 从一个资源组移动到另一个资源组时遇到此错误虽然没有 SQL 与 VM 关联的 VM 仍然出现此错误
{
**"code": "ResourceMoveProviderValidationFailed",**
"message": "Resource move validation failed. Please see details. Diagnostic information: timestamp '20200908T142742Z', subscription id 'xxx-xxx-xxxx', tracking id 'xxxxxxx-414a-xxxxx-adb4-xxxxxx', request correlation id 'xxxxxxxxxxxx'.",
"details": [
{
"code": "MissingMoveResources",
"target": "Microsoft.SqlVirtualMachine/SqlVirtualMachines",
"message": **"Cannot move resource(s) because following resources /subscriptions/xxxxxxxxx/resourceGroups/myrgroup/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines/xxxxx0020 need to be included in move request to target resource group as well. Please include these and try again.**"
}
]
}
错误代码 409 MissingMoveResources 在 Azure SQL VM REST API documentation 中记录为:
409 MissingMoveResources - Cannot move resources(s) because some resources are missing in the request.
因此,根据上面发布的错误详细信息,这确实意味着您正在查看的虚拟机链接到 SQL 虚拟机。最简单的方法是从 Portal 本身验证它:
如上图所示:
- SQL 服务器配置 选项卡位于 设置 blade 和
- Publisher 是 MicrosoftSQLServer
确认相同。
因此,您必须知道关联的 SQL 虚拟机并将其也包含在您的请求中才能成功完成移动操作。您可以通过 accessing the SQL Server configuration 选项卡访问 SQL 虚拟机。