azure - Azure 媒体服务上媒体 Assets 的容器名称

标签 azure azure-storage azure-media-services

在为 Windows Azure 媒体服务创建 Assets 时如何设置容器的名称?

调用我的CloudMediaContext 像这样创建一个新 Assets 会在 blob 存储中创建一个名为“asset-[newGuid]”的新容器,例如“ Assets -f230411a-22a0-4813-9187-4b815dbfdf12”。

var assetName = "foobar";    
var asset = _mediaContext.Assets.Create(assetName, assetCreationOptions);

Nick Drouin 上述通话的背景信息 (在 AMS 的 MS 工作)

"Under the hood, the call above will: create an IAsset and add it to the assets collection; create an IFileInfo to put in the asset; create an AccessPolicy with write permission, request a SAS locator for the asset container in Azure Storage using the AccessPolicy, upload the file into your storage account, and finally revoke the SAS url."

问题 如何控制容器的名称?

最佳答案

当前 Windows Azure 媒体服务不允许用户指定将在其中创建 Assets 的现有容器名称或指定新容器的自定义名称。请使用http://azuremediaservices.uservoice.com/forums/88965-media-services-feature-suggestions提出新功能建议或投票。

关于azure - Azure 媒体服务上媒体 Assets 的容器名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17753073/

相关文章:

java - 使用 Azure Java SDK V12 和 ListBlobs() 列出 Azure Blobstorage 中的 Blob 速度非常慢

azure - Windows Azure 'Design Your SQL Database' 链接不起作用

azure - 如何将 az 网络公共(public) IP 列表输出导出到 csv?

Azure Pipeline如何从jenkins服务器触发构建并将文件从自托管Linux代理复制到托管代理并在托管代理上构建

rest - Azure REST WebClient PUT Blob

azure - 有没有办法使用逻辑应用将数据加载到 Azure 数据湖存储第 2 代?

.net - AppendBlockAsync - 如果不存在则创建 Blob

Azure 媒体服务 - 允许流式传输到特定域

azure - 将音轨添加到现有 Assets (通过 Azure 媒体服务)

javascript - Azure 媒体服务直接从网络摄像头上传文件