Azure Code Samples

Learn to interact with Azure services through code

107 code samples match your filter

Use Apache Kafka with Apache Storm on HDInsight

Java-based example of reading and writing to Apache Kafka from Apache Storm on HDInsight

blackmist by Larry Franks,
Last updated: 7/21/2017

Write to HDFS from Storm on HDInsight

Learn how to write data to Azure Data Lake Store from a Java-based Apache Storm topology using HDInsight.

blackmist by Larry Franks,
Last updated: 7/19/2017

hdinsight-java-storm-eventhub

A basic example of how to read and write data to Azure Event Hubs from an Apache Storm topology running on HDInsight.

blackmist by Larry Franks,
Last updated: 7/13/2017

Integrating Azure AD into a Java web application

A server app that uses Azure AD and the ADAL4J library for authenticating the user and calling a web API using OAuth 2.0 access tokens.

brandwe by Brandon Werner,
Last updated: 6/30/2017

Calling the Azure AD Graph API in a web application

A java web application that shows how to query the Azure AD Graph API including authentication, submitting REST requests & parsing JSON for read and write operations.

brandwe by Brandon Werner,
Last updated: 6/30/2017

Getting started with Service Fabric with Java

Getting started with Service Fabric with Java

vturecek by Vaclav Turecek,
Last updated: 6/28/2017

cosmosdb-java-create-documentdb-and-get-mongodb-connection-string

Create a DocumentDB and get MongoDB connection string using Java

alvadb by Alva,
Last updated: 6/22/2017

cosmosdb-java-create-documentdb-and-configure-firewall

Create a DocumentDB, configure it for high availability and create a firewall by limiting access to DocumentDB from an approved set of IP addresses using Java

alvadb by Alva,
Last updated: 6/22/2017

cosmosdb-java-create-documentdb-and-configure-for-eventual-consistency

Create a DocumentDB and configure it with eventual consistency using Java

alvadb by Alva,
Last updated: 6/22/2017

cosmosdb-java-create-documentdb-and-configure-for-high-availability

Create a DocumentDB and configure it for high availability using Java

alvadb by Alva,
Last updated: 6/22/2017

aad-java-manage-passwords

Getting started on managing passwords for applications and service principals.

jianghaolu by Jianghao Lu,
Last updated: 6/22/2017

aad-java-browse-graph-and-manage-roles

Getting started on browsing graph (users, groups and members) and managing roles.

jianghaolu by Jianghao Lu,
Last updated: 6/22/2017

aad-java-manage-service-principals

Getting started with managing service principals using Java.

jianghaolu by Jianghao Lu,
Last updated: 6/22/2017

app-service-java-deploy-image-from-acr-to-linux

Deploy a container image from Azure Container Registry to Linux containers in App Service using Java

jianghaolu by Jianghao Lu,
Last updated: 6/22/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: 6/22/2017

acr-java-manage-azure-container-registry

Getting started on managing container registries.

milismsft by Milis,
Last updated: 6/22/2017

acs-java-manage-azure-container-service

Getting started on managing Azure Container Service using Java

milismsft by Milis,
Last updated: 6/22/2017

Getting Started with Trafficmanager - Manage Traffic Manager - in Java

Getting started on managing Traffic Manager Profiles in Java

anuchandy by Anu Thomas Chandy,
Last updated: 6/15/2017