在为 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/