Azure Code Samples

Learn to interact with Azure services through code

9 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: 10/17/2017

Microsoft Azure Billing API Code Samples: RateCard API

Sample code that calls 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.

azure-samples by Azure Samples,
Last updated: 6/21/2018

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: 1/9/2018

Bursting from AKS to ACI with the Virtual Kubelet

Run image recognition from Azure Container Service (AKS) and burst into Azure Container Instances (ACI) with the Virtual-Kubelet.

Azure-Samples by Azure Samples,
Last updated: 7/18/2019

Implementing a simple Azure Function with a Xamarin.Forms client

This sample showcases how to create Azure Functions through the Azure portal and Visual Studio 2017, and how to call the function from a Xamarin.Forms client app.

Azure-Samples by Laurent Bugnion,
Last updated: 7/17/2019

Azure Search .NET Management API Demo

Azure Search Managment API Demo

liamca by Liam Cavanagh,
Last updated: 7/11/2017

On-demand calculation of Azure consumption cost

Azure Function that returns consumption cost per subscription in Node.js

itye-msft by Itye Richter,
Last updated: 2/27/2018