azure-storage

cannot convert to microsoft.azure.cosmosDB.table.itableentity

拥有回忆 提交于 2020-03-03 08:07:28
问题 I'm trying to insert some test values into an Azure table using storage connection string. When I tried to perform insert operation it showing error as cannot convert TableStorage.RunnerInputs to Microsoft.azure.cosmosDB.table.itableentity. I'm working on this with the reference to https://docs.microsoft.com/en-us/azure/cosmos-db/table-storage-how-to-use-dotnet * CloudStorageAccount storageAccount = CloudStorageAccount.Parse( CloudConfigurationManager.GetSetting("StorageConnectionString")); /

Azure blob storage: Shared access signature for multiple containers?

安稳与你 提交于 2020-02-27 06:56:38
问题 I'm creating an application that will be hosted in Azure. In this application, users will be able to upload their own content. They will also be able to configure a list of other trusted app users who will be able to read their files. I'm trying to figure out how to architect the storage. I think that I'll create a storage container named after each user's application ID, and they will be able to upload files there. My question relates to how to grant read access to all files to which a user

Azure blob storage: Shared access signature for multiple containers?

只愿长相守 提交于 2020-02-27 06:56:29
问题 I'm creating an application that will be hosted in Azure. In this application, users will be able to upload their own content. They will also be able to configure a list of other trusted app users who will be able to read their files. I'm trying to figure out how to architect the storage. I think that I'll create a storage container named after each user's application ID, and they will be able to upload files there. My question relates to how to grant read access to all files to which a user

How to hide warnings from Azure powershell command lets

和自甴很熟 提交于 2020-02-23 10:21:07
问题 Am getting warnings when i invoke some azure commandlets. Example: Get-AzureStorageAccount -StorageAccountName $storageName -ErrorAction SilentlyContinue -WarningAction SilentlyContinue -verbose:$false New-AzureStorageAccount -StorageAccountName $storageName -Location $storageLocation -ErrorAction Stop -WarningAction SilentlyContinue -verbose:$false WARNING : GeoReplicationEnabled property will be deprecated in a future release of Azure PowerShell. The value will be merged into the

“Unexpected Response Code for Operation: 0” when executing Azure Table Storage batch delete

允我心安 提交于 2020-02-21 11:15:13
问题 I'm using version 4.3.0 of the Windows Azure Storage libraries for .NET. In my ATS repository class, I have a couple of batch delete methods that look like this: public async Task DeleteAsync(IEnumerable<T> entities) { await ExecuteAsBatch(entities, (batch, entity) => batch.Delete(entity)); } private async Task ExecuteAsBatch(IEnumerable<T> entities, Action<TableBatchOperation, T> batchAction) { var byPartition = entities.GroupBy(x => x.PartitionKey).ToList(); await byPartition

Creating a blobServiceClient in azure-sdk-for-js with JWT accessToken

时光怂恿深爱的人放手 提交于 2020-02-05 02:34:14
问题 When migrating from v2 to v10 version of a azure SDK javascript library , we have been facing an issue. We need to create a blobServiceClient using the JWT accessToken that has been received from acquireTokenWithAuthorizationCode function in the adal-node library. The options seem limited to us and the examples are few. SimpleTokenCredential class have been removed from the azure-sdk-for-js and thus it cannot be instantiated. Going, through the javascript source code for the azure-sdk-for-js

How to use continuation tokens in azure table Using Rest API

限于喜欢 提交于 2020-02-02 10:20:31
问题 Iam using .net Azure storage client library to retrieve data from server. My Entity contains more than 10000 records & it is retrieving 1000 records at once & giving response Headers x-ms-continuation-NextPartitionKey & x-ms-continuation-NextRowKey I referred this https://docs.microsoft.com/en-us/rest/api/storageservices/Query-Entities?redirectedfrom=MSDN] But did not understand how to use the those headers next time to get continuous records using Rest API string storageAccount = "MyAccount"

How to use continuation tokens in azure table Using Rest API

橙三吉。 提交于 2020-02-02 10:20:30
问题 Iam using .net Azure storage client library to retrieve data from server. My Entity contains more than 10000 records & it is retrieving 1000 records at once & giving response Headers x-ms-continuation-NextPartitionKey & x-ms-continuation-NextRowKey I referred this https://docs.microsoft.com/en-us/rest/api/storageservices/Query-Entities?redirectedfrom=MSDN] But did not understand how to use the those headers next time to get continuous records using Rest API string storageAccount = "MyAccount"

How to use continuation tokens in azure table Using Rest API

别来无恙 提交于 2020-02-02 10:20:15
问题 Iam using .net Azure storage client library to retrieve data from server. My Entity contains more than 10000 records & it is retrieving 1000 records at once & giving response Headers x-ms-continuation-NextPartitionKey & x-ms-continuation-NextRowKey I referred this https://docs.microsoft.com/en-us/rest/api/storageservices/Query-Entities?redirectedfrom=MSDN] But did not understand how to use the those headers next time to get continuous records using Rest API string storageAccount = "MyAccount"

How to use continuation tokens in azure table Using Rest API

邮差的信 提交于 2020-02-02 10:19:03
问题 Iam using .net Azure storage client library to retrieve data from server. My Entity contains more than 10000 records & it is retrieving 1000 records at once & giving response Headers x-ms-continuation-NextPartitionKey & x-ms-continuation-NextRowKey I referred this https://docs.microsoft.com/en-us/rest/api/storageservices/Query-Entities?redirectedfrom=MSDN] But did not understand how to use the those headers next time to get continuous records using Rest API string storageAccount = "MyAccount"