Skip to content

Azure-Samples/java-on-azure-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java on Azure Examples

This GitHub repository contains a set of Azure examples specifically for Java developers to quickly get started with Azure. Please use the issue tracker to leave feedback, file issues or to propose other examples.

Getting started

To work with these examples it is assumed you have the Azure CLI installed, and you have logged in and set your default subscription. If you haven't done so follow the steps below.

Note: Logging in and setting your default subscription needs to be done once per terminal session.

Install Azure CLI

To setup the Azure CLI, please visit Install the Azure CLI. And once you are done come back to this README.

Login into Azure

  az login

Set your default subscription

Get a list of your subscriptions (notice the refresh parameter that retrieves up-to-date subscriptions from the server) :

  az account list --output table --refresh

Set your default subscription for this session using the subscription id from the previous output:

  az account set --subscription "subscription-id"

Our alphabetical list of examples

  1. Azure App Configuration examples
  2. Azure App Service examples
  3. Azure Cache for Redis examples
  4. Azure Cognitive Services examples
  5. Azure Container Apps examples
  6. Azure Container Instances examples
  7. Azure Container Registry examples
  8. Azure Cosmos DB examples
  9. Azure Front Door examples
  10. Azure Data Explorer examples
  11. Azure Database for MySQL examples
  12. Azure Database for PostgreSQL examples
  13. Azure Event Hubs examples
  14. Azure Functions examples
  15. Azure Key Vault examples
  16. Azure Kubernetes Service examples
  17. Azure Monitor examples
  18. Azure Networking examples
  19. Azure Red Hat OpenShift examples
  20. Azure Resource Group examples
  21. Azure Service Bus examples
  22. Azure Spring Apps examples
  23. Azure SQL Database examples
  24. Azure Storage examples

Contributing

How do I contribute? See Contributing