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.
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.
To setup the Azure CLI, please visit Install the Azure CLI. And once you are done come back to this README.
az login
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"
- Azure App Configuration examples
- Azure App Service examples
- Azure Cache for Redis examples
- Azure Cognitive Services examples
- Azure Container Apps examples
- Azure Container Instances examples
- Azure Container Registry examples
- Azure Cosmos DB examples
- Azure Front Door examples
- Azure Data Explorer examples
- Azure Database for MySQL examples
- Azure Database for PostgreSQL examples
- Azure Event Hubs examples
- Azure Functions examples
- Azure Key Vault examples
- Azure Kubernetes Service examples
- Azure Monitor examples
- Azure Networking examples
- Azure Red Hat OpenShift examples
- Azure Resource Group examples
- Azure Service Bus examples
- Azure Spring Apps examples
- Azure SQL Database examples
- Azure Storage examples
How do I contribute? See Contributing