-
Notifications
You must be signed in to change notification settings - Fork 566
StorageManagementClient.blobServices is missing in azure-arm-storage #4655
Comments
This appears to be due to this project using an old version of arm-storage-manager: Current version is 7.0.0: I can confirm that the 7.0.0 version contains the |
@amclin, I don't believe that's the issue. The version specified in package.json was used to build an Azure SDK for Node.js package which included all the SDKs at the same time. This is not released anymore. The issue may have different root cause. I see you're using new TypeScript SDK (@azure/arm-storage) mixed with old Node.js SDK (ms-rest-azure). Please see https://github.com/Azure/azure-sdk-for-js/blob/master/documentation/Migration.md and ask me or @daschult if you have more questions. Please reopen the issue if the new package won't resolve it. |
@kpajdzik between the NPM package entries, the readmes in the root of the various github repos, and the docs.microsoft.com, it is impossible to tell what the authoritative/recommended "latest" packages are. The example implementations in provided documentation are inconsistent. All three modules listed in NPM give you different implementation versions:
|
@amclin, I understand the confusion, we're working on clarifying that but it takes some time to update all the readmes. The updated readme looks like this - https://www.npmjs.com/package/azure-arm-eventgrid - if you feel like this can be improved let me know. I'll try to update storage package as soon as possible. I wasn't aware that "azure" package is not marked as deprecated. I will work on that. Thanks for bringing this to my attention. |
According to the docs,
blobServices
is supposed to be a property on the StorageManagementClient:https://docs.microsoft.com/en-us/javascript/api/azure-arm-storage/storagemanagementclient?view=azure-node-latest
However, when initializing a StorageManagementClient,
blobServices
is undefined.Without this, it's impossible to manage blobServices properties
Example code
The text was updated successfully, but these errors were encountered: