Azure Code Samples

Learn to interact with Azure services through code

562 code samples match your filter

Developing a Python app using Azure Cosmos DB

Azure Cosmos DB's DocumentDB API provides a JSON document database data model and the power of SQL and JavaScript over schema-less data. This tutorial shows how to get started with the DocumentDB API and the Python SDK.

arramac by Aravind Krishna R.,
Last updated: 10/17/2017

Azure Virtual Machine Management Sample using Azure SDK for Go

This package demonstrates how to manage Azure virtual machines using Go

mcardosos by Mariana Cardoso,
Last updated: 10/17/2017

Retrieve Azure Monitor metrics with .NET

Code sample of the Azure Monitor metrics API using the .Net SDK

gucalder by gucalder,
Last updated: 10/17/2017

Retrieve Azure Monitor multi-dimensional metrics with .NET

Code samples for the Azure Monitor's multidimensional metrics API

gucalder by gucalder,
Last updated: 10/17/2017

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

Manage Azure resources and resource groups with Ruby

An example illustrating how to use Ruby to manipulate Azure resources and resource groups

devigned by David Justice,
Last updated: 10/16/2017

Create Azure virtual machines with Managed Service Identity using Ruby

This sample demonstrates how to create Azure virtual machine with Managed Service Identity Extension using a Ruby client

vishrutshah by Vishrut Shah,
Last updated: 10/16/2017

Service Fabric Standalone Cluster Configuration

Templates for Service Fabric Standalone cluster configurations.

maburlik by Max Burlik,
Last updated: 10/13/2017

network-java-create-simple-internet-facing-load-balancer

Create a simple Internet Facing load balancer using Java

martinsawicki by Martin Sawicki,
Last updated: 10/13/2017

search-java-manage-search-service

Getting started on managing Azure search service using Java

milismsft by Milis,
Last updated: 10/13/2017

network-java-use-new-watcher

Getting started on using network watcher in Java

lenala by Elena Lakhno,
Last updated: 10/13/2017

compute-java-manage-resources-from-vm-with-msi-in-aad-group

Getting started on managing Azure resources from a managed service identity (MSI) enabled virtual machine that belongs to a Azure Active Directory (AAD) security group.

anuchandy by Anu Thomas Chandy,
Last updated: 10/13/2017

aad-java-manage-users-groups-and-roles

Manage users and groups and manage their roles

jianghaolu by Jianghao Lu,
Last updated: 10/13/2017

acs-java-deploy-image-from-acr-to-kubernetes

Deploy an image from Azure Container Registry to Kubernetes cluster in Azure Container Service using Java

milismsft by Milis,
Last updated: 10/13/2017

Using the Circuit Breaker pattern in your HA apps with RA-GRS Storage

Shows how to implement the Circuit Breaker pattern for HA apps using RA-GRS Storage

robinsh by Robin Shahan,
Last updated: 10/12/2017

Getting Started with Compute - Manage Zonal Virtual Machine Scale Set - in .Net

Manage virtual machine scale sets in availability zones

anuchandy by Anu Thomas Chandy,
Last updated: 10/12/2017

Getting Started with Network - Manage Internet Facing Load Balancer - in .Net

Create a simple Internet Facing load balancer using C#

martinsawicki by Martin Sawicki,
Last updated: 10/12/2017

Getting Started with Search - Manage Search - in .Net

Getting started on managing Azure search service using C#

milismsft by Milis,
Last updated: 10/12/2017