https://github.com/ligoj/plugin-prov-azure
Ligoj plugin for Azure provisioning : fetch prices and Terraform implementation
https://github.com/ligoj/plugin-prov-azure
azure ligoj ligoj-plugin spring terraform
Last synced: about 1 year ago
JSON representation
Ligoj plugin for Azure provisioning : fetch prices and Terraform implementation
- Host: GitHub
- URL: https://github.com/ligoj/plugin-prov-azure
- Owner: ligoj
- License: mit
- Created: 2017-04-12T09:01:51.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-12T08:35:48.000Z (over 1 year ago)
- Last Synced: 2025-04-13T21:12:16.285Z (about 1 year ago)
- Topics: azure, ligoj, ligoj-plugin, spring, terraform
- Language: Java
- Homepage: https://ligoj.io
- Size: 398 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# :link: Ligoj Azure plugin [](https://maven-badges.herokuapp.com/maven-central/org.ligoj.plugin/plugin-prov-azure)
[](https://sonarcloud.io/dashboard?id=org.ligoj.plugin%3Aplugin-prov-azure)
[](https://sonarcloud.io/dashboard/index/org.ligoj.plugin:plugin-prov-azure)
[](https://www.codacy.com/gh/ligoj/plugin-prov-azure?utm_source=github.com&utm_medium=referral&utm_content=ligoj/plugin-prov-azure&utm_campaign=Badge_Grade)
[](https://www.codefactor.io/repository/github/ligoj/plugin-prov-azure)
[](http://fabdouglas.mit-license.org/)
[Ligoj](https://github.com/ligoj/ligoj) Azure provisioning plugin, and extending [Provisioning plugin](https://github.com/ligoj/plugin-prov)
Provides the following features :
- Prices are updated from the Azure API prices.
- Supported services : Compute (including software) with all terms, Storage and managed databases (no DTU and Hyperscale)
# Subscription parameters
* Tenant ID (Directory ID)
* Application ID (Identifier of application account of Ligoj)
* Key (secret token of application account of Ligoj)
* Subscription
* Resource group
## How to create/get these Azure parameters?
### Tenant ID/Application ID and Key
Everything takes place in [Azure Active Directory](https://portal.azure.com/?l=en.en-us#blade/Microsoft_AAD_IAM)
* Navigate to [RegisteredApps](https://portal.azure.com/?l=en.en-us#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps)
* Click on `New application registration`
* Fill the form : Name=`ligoj`, Application type=`Web app / API`, Sign-on URL=Ligoj URL, can be updated later
* `Create`
* `Create registration`
* Copy the `Application ID`
* Click on `Keys` (right panel)
* In the `Passwords` panel, fill `Key Description` and `Duration`, then `Save`
* Copy the one time displayed key value.
* Navigate to [Properties](https://portal.azure.com/?l=en.en-us#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Properties)
* Copy the `Directory ID`, used as `Tenant ID` by Ligoj
### Resource Group
Navigate to [Resource groups](https://portal.azure.com/?l=en.en-us#blade/HubsExtension/Resources/resourceType/Microsoft.Resources%2Fsubscriptions%2FresourceGroups)
Copy the resource group name
Grant the rights to `ligoj` account on the selected resource group
### Subscription
* Navigate to [Cost Management + Billing](https://portal.azure.com/?l=en.en-us#blade/Microsoft_Azure_Billing/SubscriptionsBlade)
* Get the subscription id from one of your enabled subscription
# Technical details
Used API is `Microsoft.Compute` (2017-03-30)
Authentication is `OAuth2`, no required CLI to be installed