InvalidResourceType:在api版本“2014-04-01”的命名空间“Microsoft.Sql”中找不到资源类型“servers”。支持的api版本是'2014-04-01-preview'。 [英] InvalidResourceType: The resource type 'servers' could not be found in the namespace 'Microsoft.Sql' for api version '2014-04-01'. The supported api-versions are '2014-04-01-preview'.

查看:72
本文介绍了InvalidResourceType:在api版本“2014-04-01”的命名空间“Microsoft.Sql”中找不到资源类型“servers”。支持的api版本是'2014-04-01-preview'。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为AzureStack的重点在于它使用的是与AzureCloud相同的API。 那么,为什么它使用2014-04-01预览api版本? 问题是我正在使用Azure SDK for .NET而且该库并没有提供
来覆盖硬编码的2014-04-01 apiVersion的方法。 我真的不想重写使用SqlManagementClient的代码,这样我就可以回退到版本2014-04-01-preview。

I thought the whole point of the AzureStack is that it used the same API as the AzureCloud.  So, why is it using the 2014-04-01-preview api version?  The problem is that I'm using the Azure SDK for .NET and the library does not provide a way to override the hard-coded 2014-04-01 apiVersion.  I really don't want to re-write the code that uses the SqlManagementClient so that I can fallback to version 2014-04-01-preview.

从积极的一面来看,方法是让资源组和虚拟机工作。

On the positive side, the methods to get the resource groups and virtual machines work.

推荐答案

嗨Paul,

感谢您在此发帖!

我们正在检查该问题很快就会回复给您。我很抱歉给您带来不便,感谢您在这件事上的时间和耐心。

We are checking on the query and would get back to you soon on this. I apologize for the inconvenience and appreciate your time and patience in this matter.

问候。

Md.Shihab
Regards.
Md. Shihab


这篇关于InvalidResourceType:在api版本“2014-04-01”的命名空间“Microsoft.Sql”中找不到资源类型“servers”。支持的api版本是'2014-04-01-preview'。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆