Azure Code Samples

Learn to interact with Azure services through code

5 code samples match your filter

Microsoft Azure Billing API Code Samples: Usage API

A simple console app that calls the Azure Billing Usage REST API to retrieve resource usage data for a subscription. The Microsoft Azure Billing APIs enable integration of Azure Billing information into your applications, providing new insights into your consumption of Azure resources, allowing you to accurately predict and manage your Azure resource consumption costs.

bryanla by Bryan Lamos,
Last updated: 9/23/2016

Microsoft Azure Billing API Code Samples: RateCard API

A simple console app that calls the Azure Billing RateCard REST API to retrieve the list of resources per Azure offer in a given subscription, along with the pricing details for each resource. The Microsoft Azure Billing APIs enable integration of Azure Billing information into your applications, providing new insights into your consumption of Azure resources, allowing you to accurately predict and manage your Azure resource consumption costs.

bryanla by Bryan Lamos,
Last updated: 9/23/2016

Microsoft Azure Billing API Code Samples: Multi-Tenant Web Application

A Web application that allows the logged-in user to give consent to the application, to call the Azure Graph API and the Azure Usage API on the user's behalf. It also shows the OAuth flows required to get consent for the ‘Reader’ role, for the list of Microsoft Azure subscriptions that the user wants to allow access to. The Microsoft Azure Billing APIs enable integration of Azure Billing information into your applications, providing new insights into your consumption of Azure resources, allowing you to accurately predict and manage your Azure resource consumption costs.

bryanla by Bryan Lamos,
Last updated: 1/21/2016

Get Azure invoice with .NET Core

An example on how to use .NET Core to connect to Azure and get your invoices

jlian by John Lian,
Last updated: 4/25/2017

Azure Search .NET Management API Demo

Azure Search Managment API Demo

liamca by Liam Cavanagh,
Last updated: 6/28/2016