繁体   English   中英

Microsoft.Azure.Management.Resourcemanager.Fluent 和 Microsoft.Azure.Management.Fluent Z0558440846982BFE7FF23B159C377F9B 包有什么区别?

[英]What is the difference between Microsoft.Azure.Management.Resourcemanager.Fluent and Microsoft.Azure.Management.Fluent nuget packages?

Azure资源管理有2个nuget包:

  1. Microsoft.Azure.Management.Resourcemanager.Fluent
  2. Microsoft.Azure.Management.Fluent

这些 nuget 封装究竟有何不同,何时使用哪一个?

Microsoft.Azure.Management.Fluent is a wrapper package , it depends on other dedicated packages like Microsoft.Azure.Management.Resourcemanager.Fluent / Microsoft.Azure.Management.Storage.Fluent etc. You can refer to this screenshot below:

在此处输入图像描述

Microsoft.Azure.Management.Fluent package提供了认证/指定订阅等基本功能,还提供了很多ResourceGroups / StorageAccounts等属性,你可以使用这些属性来创建ResourceGroups / StorageAccounts管理的入口。 这是一个截图,如下所示:

在此处输入图像描述

The package Microsoft.Azure.Management.Resourcemanager.Fluent is used to manage azure resources like create / update / delete a resource group / storage account etc. It needs the package Microsoft.Azure.Management.Fluent for authentication / get a entry point.

So for your question, you should always install the package Microsoft.Azure.Management.Fluent , which would automatically install all the other dedicated packages I listed in screenshot 1. Then in your code, Microsoft.Azure.Management.Fluent provides some basic services像身份验证/创建入口点,像Microsoft.Azure.Management.Resourcemanager.Fluent这样的其他包然后用于对 azure 资源进行一些管理,例如创建/更新/删除。

为了更好地理解,您可以通过此处的示例 go 。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM