コード例 #1
0
ファイル: ProvidersController.cs プロジェクト: robzelt/ASC
        public async Task <HttpResponseMessage> GetStorageProvider(string subscriptionId)
        {
            var json = await AzureResourceManagerUtil.GetStorageProvider(subscriptionId);

            var response = this.Request.CreateResponse(HttpStatusCode.OK);

            response.Content = new StringContent(json, Encoding.UTF8, "application/json");
            return(response);
        }