微软Azure storage account的path值代表什么含义

90 阅读1分钟

通过@BlobOutput annotation属性path指定的值:

flags/{tenantId}/{storeId}/customer_behavior_{environmentId}.json

在Azure上看到创建好的json文件,flags根目录:

tenantId:

storeID:

最后是json文件,environmentId值为staged:

这个json文件时如何写入的?
可以把@BlobOutput修饰的变量flagsSpecOutputBinding当成一个句柄:

调用该句柄的setValue完成数据写入到outbinding的动作,而outbinding指向了storage,因此最后数据就写入到了storage中.

要获取更多Jerry的原创文章,请关注公众号"汪子熙":