Example #1
0
        public async Task <HttpResponseMessage> GetResourcesProvider(string subscriptionId)
        {
            var json = await AzureResourceManagerUtil.GetResourcesProvider(subscriptionId);

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

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