首页 > 解决方案 > Microsoft.Azure.Management.EventHub.Models 中的目标类没有支持 Data Lake Storage 的属性

问题描述

我正在尝试创建一个启用了捕获功能的 EventHub。我正在使用来自 Microsoft.Azure.Management.EventHub 的 EventHubManagementClient。

Azure 门户允许从存储帐户和数据湖存储等两个捕获提供程序中进行选择。但是当我尝试使用客户端库时,Microsoft.Azure.Management.EventHub.Models 中的 Destination 类没有支持 Data Lake Storage 的属性。

 public class Destination{
      public Destination();
      public Destination(string name = null, string storageAccountResourceId = null, string 
      blobContainer = null, string archiveNameFormat = null);

      public string Name { get; set; }
      public string StorageAccountResourceId { get; set; }
      public string BlobContainer { get; set; }
      public string ArchiveNameFormat { get; set; }
}

为什么这里不包括在内?我必须使用不同的客户端来实现这一点吗?

标签: azureazure-data-lakeazure-eventhub

解决方案


推荐阅读