azure-management-api

Azure rest apis to ListKeys of classic storage account

一世执手 提交于 2019-12-02 10:26:35
I wanted to retrieve the access keys of classic storage account. I found this online POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/listKeys?api-version=2016-12-01 But this is not applicable for classic storage account. When I replace the Microsoft.Storage to Microsoft.ClassicStorage, it throws the following error { "error": { "code": "InvalidRequestUri", "message": "The request uri is invalid. The requested path '/subscriptions/{subscriptionID}/resourceGroups/{myresourcegroup}

Azure API Authentication

佐手、 提交于 2019-11-29 12:49:41
I am using Azure API's in C# code and used below libraries using Microsoft.Rest; using Microsoft.Rest.Azure.Authentication; using Microsoft.Azure.Management.DataLake.Store; using Microsoft.Azure.Management.DataLake.StoreUploader; using Microsoft.Azure.Management.DataLake.Analytics; using Microsoft.Azure.Management.DataLake.Analytics.Models; using Microsoft.WindowsAzure.Storage.Blob; To create connection with Azure, private static ServiceClientCredentials AuthenticateAzure(string domainName, string nativeClientAppCLIENTID) { // User login via interactive popup SynchronizationContext

Azure API Authentication

这一生的挚爱 提交于 2019-11-28 06:30:57
问题 I am using Azure API's in C# code and used below libraries using Microsoft.Rest; using Microsoft.Rest.Azure.Authentication; using Microsoft.Azure.Management.DataLake.Store; using Microsoft.Azure.Management.DataLake.StoreUploader; using Microsoft.Azure.Management.DataLake.Analytics; using Microsoft.Azure.Management.DataLake.Analytics.Models; using Microsoft.WindowsAzure.Storage.Blob; To create connection with Azure, private static ServiceClientCredentials AuthenticateAzure(string domainName,