存储参考 [英] storage reference
问题描述
我创建了一个带有文件共享的Azure存储帐户。 我想在类似于下面的JSON文件中引用文件共享路径(URL)。 这只是一段摘录。 有没有更好的方法来调用存储文件共享,我错过任何
以正确调用文件共享名称? 欢迎任何建设性的建议。
I've created a Azure Storage account with a File Share. I want to reference the file share path (URL) in a JSON file similar to below. This is just an excerpt. Is there a better way to call the Storage File Share, am I missing anything to correctly call the file share name? Any constructive suggestions are welcome.
" variables":{
"variables": {
" assetLocation":" https://account.files.core .windows.net /"
"assetLocation": "https://account.files.core.windows.net/"
}
推荐答案
对延迟道歉!代码看起来不错。 我还建议您在这种情况下使用Blob:
保存到Azure BLOB中的所有对象都有自己的URL,您可以将其存储在SQL数据库中以便以后检索它们。
检查 https://docs.microsoft.com/en-us/azure /storage/common/storage-decide-blobs-files-disks?toc=%2fazure%2fstorage%2ffiles%2ftoc.jso n#comparison-files-and-blobs 到
可以清楚地比较Azure文件和Blob。
如果上述情况有所帮助或者您需要在这个问题上需要进一步的帮助,请告诉我们。
------------------------------------------- ----------------------------------------------- 跨度>
点击帮助您的帖子上的"标记为答案",这对其他社区成员有益。
这篇关于存储参考的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!