azure-storage

Getting Storage Account Properties using Storage Services REST API

為{幸葍}努か 提交于 2019-12-20 04:38:11
问题 Is there a way to get properties of a storage account, specifically the kind of account - GPv1, GPv2 or blob storage, through an API in Storage Services? I came across https://msdn.microsoft.com/en-us/library/azure/ee460802.aspx but if possible, I would like to re-use the SharedKey authentication I use for the Blob Service APIs. In this page, https://docs.microsoft.com/en-us/rest/api/storageservices/ I found this: "All access to storage services takes place through the storage account. The

Azure WebJobs NuGet Package Error

跟風遠走 提交于 2019-12-20 03:41:57
问题 I would like to know if someone has experienced running error on Azure WebJobs Queue sample on Visual Studio templates. The sample running to issue after I updated all the packages on NuGet manager. This is the error message: System.InvalidOperationException HResult=0x80131509 Message=Microsoft.WindowsAzure.Storage is deployed incorrectly. Are you missing a Table Service assembly (Microsoft.Data.Services.Client, Microsoft.Data.OData or Microsoft.Data.Edm) or a related binding redirect? Source

ftp to azure storage blob (triggered processing)

南笙酒味 提交于 2019-12-20 03:27:12
问题 I want to transfert encrypted files from an ftp server to `azure blob storage container Here is the workfow in question: CSV encrypted files on Ftp server ----------> Trigger (example: On adding files )----------> call to some local programs or api that process decryption and then create the output csv file in the blob container the files are structured like following: Input CSV file: column1;column2;column3; encryptedvalue1;encryptedvalue2;encryptedvalue3; and Output csv file: column1

Stream Analytics: Dynamic output path based on message payload

喜你入骨 提交于 2019-12-20 03:09:11
问题 I am working on an IoT analytics solution which consumes Avro formatted messages fired at an Azure IoT Hub and (hopefully) uses Stream Analytics to store messages in Data Lake and blob storage. A key requirement is the Avro containers must appear exactly the same in storage as they did when presented to the IoT Hub, for the benefit of downstream consumers. I am running into a limitation in Stream Analytics with granular control over individual file creation. When setting up a new output

Azure table storage store multiple types

余生颓废 提交于 2019-12-20 01:13:45
问题 What do you recommend in the following scenario: I have an azure table called Users where as columns are: PrimaryKey RowKey Timestamp FirstName LastName Email Phone Then there are different types of tasks for each user let's call them TaskType1 and TaskType2. Both task types have common columns but then have also type specific columns like this: PrimaryKey (this is the same as the Users PrimaryKey to find all tasks belonging to one user) RowKey Timestamp Name DueDate Description Priority then

Azure storage sdk v1.3 to v2 => SetConfigurationSettingPublisher

ⅰ亾dé卋堺 提交于 2019-12-19 17:57:29
问题 How could you convert this in Azure storage v2.0 since "SetConfigurationSettingPublisher" was deleted ? CloudStorageAccount.SetConfigurationSettingPublisher( ( configName, configSetter ) => { // Provide the configSetter with the initial value configSetter( RoleEnvironment.GetConfigurationSettingValue( configName ) ); RoleEnvironment.Changed += ( sender, arg ) => { if( arg.Changes.OfType<RoleEnvironmentConfigurationSettingChange>( ).Any( (change) => ( change.ConfigurationSettingName ==

Azure downloadtostreamasync method hangs

笑着哭i 提交于 2019-12-19 05:21:24
问题 here is the offending code public async static Task<MemoryStream> AsyncReadBlob(string identifier) { CloudStorageAccount storageAccount = CloudStorageAccount.Parse(storageString); CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient(); CloudBlobContainer container = blobClient.GetContainerReference(containerName); MemoryStream memstream = new MemoryStream(); CloudBlockBlob blockBlob = container.GetBlockBlobReference(identifier); await blockBlob.DownloadToStreamAsync(memstream);

How do I force Azure CDN content to be purged or invalidated?

天大地大妈咪最大 提交于 2019-12-18 21:54:25
问题 I have content that rarely changes that I want to serve over the Azure CDN for performance reasons. When the content does change, though, it's important that the updated data is immediately available. Ideally, I'd be able to set a long TTL but then proactively tell the CDN to expire content when I update it. How can I accomplish this? There is no cache invalidation or purge API right now, and I would rather not set a short TTL. 回答1: In 2015 December the Azure team added the ability to refresh

How can I log errors and user actions in Windows Azure (MVC)?

∥☆過路亽.° 提交于 2019-12-18 17:54:12
问题 Azure is changing so quickly so could someone give me some suggestions on how could I could log: Errors Exceptions User Actions I would like to be able to log these to table storage so they can be retrieved with code and viewed on administrative web pages. I am not looking so much for code but what I really want is to know where I should look. Azure changes so fast I want to be sure to use what's best. Thank you 回答1: I just did something similar on the weekend. I ended up just creating 1

How can I log errors and user actions in Windows Azure (MVC)?

流过昼夜 提交于 2019-12-18 17:54:07
问题 Azure is changing so quickly so could someone give me some suggestions on how could I could log: Errors Exceptions User Actions I would like to be able to log these to table storage so they can be retrieved with code and viewed on administrative web pages. I am not looking so much for code but what I really want is to know where I should look. Azure changes so fast I want to be sure to use what's best. Thank you 回答1: I just did something similar on the weekend. I ended up just creating 1