azure-blob-storage

Nodejs uploading base64 image to azure blob storage results to “ResourceNotFound” error

折月煮酒 提交于 2019-12-13 19:38:24
问题 Here is the post request JSON : { "name":"images.jpg", "file":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxQTEhIUEhIUFBUV…K9rk8hCAEkjFMUYiEAI+nHIpsQh0AkisDYRTOiCAbWVtgCtI6IlkHh7LDTQXLH0EIQBj//2Q==" } And here's my node controller under the request /upload route, I am using createBlockBlobFromText() from azure-storage. var azure = require('azure-storage'); var blobSvc = azure.createBlobService('myblob.blob.core.windows.net/mycontainer', THE_KEY); controllers.upload = function

Azure Blob Storage 400 Bad Request

不羁的心 提交于 2019-12-13 17:15:25
问题 Good morning, I'm trying to implement Azure Blog Storage for the first time using their example code provided. However my app is through a very broad 400 Bad Request error when trying to UploadFromStream(). I have done a bunch of searching on this issue. Almost everything i have come across identifies naming conventions of the container or blob to be the issue. this is NOT my issue, i'm using all lowercase, etc. My code is no different from their example code: The connection string: <add key=

Copy data from multiple csv files into one csv file

谁说我不能喝 提交于 2019-12-13 09:13:24
问题 I have multiple csv files in my azure blob storage which I wish to append into one csv file also stored in azure blob storage using the azure data factory pipeline. The problem is that all the columns of the source files are not present in the sink file and vice versa and also all the source files are not identical. I just want to map the columns I need from source files to the columns in sink file. The copy activity in the data factory is not allowing me to do so. 回答1: According my

azure function binding causing multiple events fired

眉间皱痕 提交于 2019-12-13 08:07:32
问题 Why are we getting duplicate events for the same BlobCreated? I'm using the following binding in my function app: [Blob("%Detach:Output%/{file}", Write)] CloudBlockBlob @out, The only time when I am writing to this output binding is here: await @out.UploadTextAsync(xml); I have an event defined like so: Where Detach:Output env variable is xml-output-with-links-container . I am consistently getting 2 events for every execution of this function: The eventTime between the two events are slightly

MarkLogic Cluster & Forest replica - XDMP-BAD: No label found

你。 提交于 2019-12-13 05:47:24
问题 We are setting up MarkLogic Cluster in Azure using data directory as Azure Blob container. Following steps has been followed Setup 1st MarkLogic server Added 2nd server in cluster by providing host name of 1st server Added 3rd server in cluster by providing host name of 1st server Add 3 forests, data directory is "azure://" as mentioned in page number 32 here In 1st Forest, added 2 as a replicas As soon as i add replica in Forest01, Label of Forest01 becomes empty with 0 size, before it is

Azure BLOB storage phantom requests

北城余情 提交于 2019-12-12 18:21:45
问题 I see strange requests when uploading blobs to storage. The only methods I use is PutBlob and SetBlobTier . But metrics shows large amount of GetBlobProperties requests with time interval about 1 hour. It seems like Azure makes some extra requests for statistic purposes. It happens only when uploading process is running. At attached diagram you can see 4 peaks of GetBlobProperties requests. Does anybody know what is it? Another question is, will I be billed for this requests? 回答1: Any API

Azure Storage Account - Read Only Group

China☆狼群 提交于 2019-12-12 14:24:51
问题 I have an Azure Storage account, and a group of users called 'Readers' I want to give the Readers group read-only access to all blobs and containers in the storage account. I've tried: In the Storage Account > Access Control > Add > Role: Storage Blob Data Reader Assign access to: Azure AD user, group, or application Select: Readers But users in the Readers group could not even see the storage account to try and access it. I then removed the above access control and tried: I've tried: In the

Change Default Service Version of Microsoft Azure Blob - PHP

送分小仙女□ 提交于 2019-12-12 02:43:49
问题 $this->blobClient = ServicesBuilder::getInstance() ->createBlobService($azureString); $properties = $this->blobClient->getServiceProperties(); How can i change the default service version of microsoft azure? Currently it is set at 2009-09-19. i want to change it to 2012-02-12. Thanks. 回答1: You mean STORAGE_API_LATEST_VERSION? It is set to 2015-04-05 in the latest SDK version (v 0.14.0). However, you can change it at: vendor\microsoft\azure-storage\src\Common\Internal\Resources.php EDIT: Per

Dynamically get the value of Azure blob property

穿精又带淫゛_ 提交于 2019-12-12 01:19:27
问题 Is there a way to get the property of Azure blob dynamically without explicitly mentioning it. Example, if I want to get the created date of blob then I need to write something like this CloudStorageAccount storageAccount = CloudStorageAccount.Parse("Storage Account") CloudBlobClient sourceBlobClient = storageAccount.CreateCloudBlobClient(); var sourceContainer = sourceBlobClient.GetContainerReference("Container Name"); var blockBlob = blobContainer.GetBlockBlobReference("Blob Name");

How to download Azure BLOB?

纵然是瞬间 提交于 2019-12-12 00:07:56
问题 I am not able to download azure blob file to my local disk. Please find below the java code I am using to download the file. When I run and do a HTTP trigger test, I do not see the file downloaded into my Local path. Also, I have given the authentication as public access.And , I am able to read the contents of the txt file using the blob.downloadText(). But I am not able to download it to a file. My requirement is to download a pdf in the Blob Storage to my Local Disk. @FunctionName(