azure-storage

Azure Storage SAS AuthenticationFailed

倾然丶 夕夏残阳落幕 提交于 2021-02-19 07:54:05
问题 I have a private azure storage container and am trying out azure storage SAS, so that I can upload and download files. I am able to generate the signature, but it always throws me the Authentication Fail error AuthenticationFailed Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:a9dce486-0001-0021-23f7-d8f6dc000000 Time:2017-05-30T03:45:56.6617677Z Signature did not match. String to sign used was r

How to use ETag to throw exception on insert if ETag doesn't match (except when it's *)

孤街醉人 提交于 2021-02-18 12:59:27
问题 I need to be able to insert an entity to an azure storage table under these conditions: if it doesn't exist, insert. if it exists, but I specify ETag to be *, then replace. if it exists, but ETag has another value, then throw StorageException with code 409 or 412. (for example I would try to insert an entity I have retrieved, but it has been updated from elsewhere in the meantime) I made this simple program to test, but I can't figure out how to get this to work. it never reaches the

Azure Storage Emulator fails to init with “The database 'AzureStorageEmulatorDb57' does not exist”

☆樱花仙子☆ 提交于 2021-02-17 21:09:49
问题 I am having an issue with Azure Storage Emulator. I tried to re-initialise the database and got the error below. This was after installing Visual Studio 2019 Preview but this may just be a co-incidence. I tried for an hour or so to get it running and then gave up and just reset my machine with the "keep my files" option, re-installed Visual Studio 2017 and the Azure Tools but still see the same problem. I know a reset sounds a bit drastic but VS 2019 broke my Azure Functions in VS2017, they

Azure Blob Storage Pre-Signed Url Features

泪湿孤枕 提交于 2021-02-16 13:36:30
问题 As my experiences, AWS S3 has a feature called pre-signed. Which allows me to issue a url with specific expiry time to access. I cannot find any details about that on Azure official website. So, does anyone know if Azure Blob Storage can support pre-signed url features? 回答1: does anyone know if Azure Blob Storage can support pre-signed url features? Yes, Azure Blob Storage supports that. It is called Shared Access Signature (SAS) in Azure Storage. A SAS enables you to provide time-bound,

Azure Blob Storage Pre-Signed Url Features

戏子无情 提交于 2021-02-16 13:35:05
问题 As my experiences, AWS S3 has a feature called pre-signed. Which allows me to issue a url with specific expiry time to access. I cannot find any details about that on Azure official website. So, does anyone know if Azure Blob Storage can support pre-signed url features? 回答1: does anyone know if Azure Blob Storage can support pre-signed url features? Yes, Azure Blob Storage supports that. It is called Shared Access Signature (SAS) in Azure Storage. A SAS enables you to provide time-bound,

Azure Lifecycle Management - Regions

ぃ、小莉子 提交于 2021-02-11 18:20:32
问题 I've got an storage account in 'North Europe' and now I want to use the lifecycle management to move the cold blobs to archive tier. But I everytime I try I get the following failure: Failed to add a lifecycle management rule for storage account 'myStorrageAccount'. Error: ManagementPolicy rule MoveBackupToArchiv is invalid. Invalid value for parameter : baseBlob, tierToArchive is not supported in this region currently. I checked all my data in the container and every file is on cold storage.

Azure Lifecycle Management - Regions

陌路散爱 提交于 2021-02-11 18:18:18
问题 I've got an storage account in 'North Europe' and now I want to use the lifecycle management to move the cold blobs to archive tier. But I everytime I try I get the following failure: Failed to add a lifecycle management rule for storage account 'myStorrageAccount'. Error: ManagementPolicy rule MoveBackupToArchiv is invalid. Invalid value for parameter : baseBlob, tierToArchive is not supported in this region currently. I checked all my data in the container and every file is on cold storage.

Code sync from Azure Scale Set VM To Azure Storage

|▌冷眼眸甩不掉的悲伤 提交于 2021-02-11 15:17:07
问题 I need help to rectify one trouble which i am facing, am hosting my application through Azure auto scale set feature (virtual machine scale set) , when it get huge hit it will automatically scale up and an reverse when hit down, for that i need to maintain a azure storage location as well, so while push the code i need to push the similar code to azure storage from one of the VM , if we have fixed VM name we can use azcopy to push code to azure store but since its auto scale i don't have

Code sync from Azure Scale Set VM To Azure Storage

孤街浪徒 提交于 2021-02-11 15:16:19
问题 I need help to rectify one trouble which i am facing, am hosting my application through Azure auto scale set feature (virtual machine scale set) , when it get huge hit it will automatically scale up and an reverse when hit down, for that i need to maintain a azure storage location as well, so while push the code i need to push the similar code to azure storage from one of the VM , if we have fixed VM name we can use azcopy to push code to azure store but since its auto scale i don't have

Upload Zip Chunks and Join them on Azure Platform

两盒软妹~` 提交于 2021-02-11 14:30:00
问题 I want to know that.. If I make chunks of a big Zip file and upload all chunks on Azure Cloud Storage in Container Blobs. Can i Join these chunks on Azure Platform.? for chunking i am using this code which is also generating .bat file for rejoining the chunks.. public void SplitFile(){ int numericUpDown = 100;//in MB string PathToCopyChunks = ""; // path to store chunks and ( .bat ) file string FilePathMakeChunks = DirectoryNameToPutScannedData; //the path of file to make chunks. try{ int kbs