[英]Which Azure SDK for Node Mobile Service scripts is to be used / where is it documented?
Being new to Azure I am confused about the azure sdk one adds to mobile service scripts via require('azure');
刚接触Azure时,我对通过require('azure');
添加到移动服务脚本中的azure sdk感到困惑require('azure');
I want to get a blob and found this git project , which has nice wrappers for the blob storage . 我想要一个blob,并找到了这个git项目 ,该项目具有用于blob存储的不错的包装器 。
I assumed this to be related to my required one. 我认为这与我所需要的有关。 Yet, the required one returns a blob storage service object ( createBlobService
) that has methods like createContainerIfNotExists
and generateSharedAccessSignature
, but misses **getBlob**
( documented here ) among others, and has **getBlobToStream**
. 但是,所需的对象将返回一个blob存储服务对象( createBlobService
),该对象具有诸如createContainerIfNotExists
和generateSharedAccessSignature
类的方法,但是其中**getBlobToStream**
**getBlob**
( 此处记录),并且具有**getBlobToStream**
。
So clearly the azure sdk I require in Node is something completely different from the github project or just not the same version of it. 所以很明显,我在Node中需要的azure sdk与github项目完全不同,或者不是相同版本。
Questions: 问题:
where is the official documentation from Microsoft regarding what I get when I do require('azure')
? Microsoft在我require('azure')
时会提供什么有关“我require('azure')
时得到的官方文档?
how would I make sure I have the most recent version ? 如何确定我拥有最新版本?
if these are two different azure sdks, then is it recommended to replace the one I currently require with the github project mentioned above ? 如果这些是两个不同的azure sdks,那么是否建议用上述github项目替换我当前需要的一个?
Thanks 谢谢
Update : 更新 :
This link seems to be the official documentation. 该链接似乎是官方文档。 So in my specific case I am supposed to use getBlobToStream. 因此,在我的特定情况下,我应该使用getBlobToStream。
At that point, my question comes down to : how do I know which version of the azure sdk is currently deployed with my mobile service? 到那时,我的问题归结为 :我如何知道当前随移动服务一起部署的哪个版本的azure sdk? The package.json does not list this dependency. package.json没有列出此依赖关系。
I believe you install that by utilising npm and run the command: 我相信您可以利用npm进行安装并运行以下命令:
npm install azure
which will pull the package down from https://www.npmjs.org/package/azure 它将从https://www.npmjs.org/package/azure下拉包
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.