{"id":20505980,"url":"https://github.com/ligoj/plugin-vm-azure","last_synced_at":"2025-04-13T21:12:38.195Z","repository":{"id":52802008,"uuid":"87830832","full_name":"ligoj/plugin-vm-azure","owner":"ligoj","description":"Ligoj plugin for Azure instance life cycle management : scheduled ON/OFF","archived":false,"fork":false,"pushed_at":"2025-02-12T08:36:15.000Z","size":504,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-27T11:38:25.036Z","etag":null,"topics":["azure","ligoj","ligoj-plugin","vm"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ligoj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-10T16:03:40.000Z","updated_at":"2025-02-12T08:36:18.000Z","dependencies_parsed_at":"2022-08-23T05:11:21.964Z","dependency_job_id":"9088c3ab-06a9-4ec0-ae08-e2986eec1179","html_url":"https://github.com/ligoj/plugin-vm-azure","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligoj%2Fplugin-vm-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligoj%2Fplugin-vm-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligoj%2Fplugin-vm-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ligoj%2Fplugin-vm-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ligoj","download_url":"https://codeload.github.com/ligoj/plugin-vm-azure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782259,"owners_count":21160717,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["azure","ligoj","ligoj-plugin","vm"],"created_at":"2024-11-15T19:52:36.579Z","updated_at":"2025-04-13T21:12:38.169Z","avatar_url":"https://github.com/ligoj.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :link: Ligoj Azure VM plugin [![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.ligoj.plugin/plugin-vm-azure/badge.svg)](https://maven-badges.herokuapp.com/maven-central/org.ligoj.plugin/plugin-vm-azure)\n\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=org.ligoj.plugin%3Aplugin-vm-azure\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=org.ligoj.plugin%3Aplugin-vm-azure)\n[![Quality Gate](https://sonarcloud.io/api/project_badges/measure?metric=alert_status\u0026project=org.ligoj.plugin:plugin-vm-azure)](https://sonarcloud.io/dashboard/index/org.ligoj.plugin:plugin-vm-azure)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/bc580f38cbcc4dc3be7d2602c8b77fd4)](https://www.codacy.com/gh/ligoj/plugin-vm-azure?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=ligoj/plugin-vm-azure\u0026amp;utm_campaign=Badge_Grade)\n[![CodeFactor](https://www.codefactor.io/repository/github/ligoj/plugin-vm-azure/badge)](https://www.codefactor.io/repository/github/ligoj/plugin-vm-azure-azure)\n[![Maintainability](https://api.codeclimate.com/v1/badges/edaa5b4d7dc0405eb10302b4ec34fbec/maintainability)](https://codeclimate.com/github/ligoj/plugin-vm-azure/maintainability)\n[![License](http://img.shields.io/:license-mit-blue.svg)](http://fabdouglas.mit-license.org/)\n\n[Ligoj](https://github.com/ligoj/ligoj) EC2 AWS plugin, and extending [VM plugin](https://github.com/ligoj/plugin-vm)\nProvides the following features :\n- Supported operations from the [VM plugin](https://github.com/ligoj/plugin-vm) : ON, OFF, REBOOT, RESTART. No suspend or resume.\n- Use AWS secret and access key with AWS API 4.0\n\nDashboard features :\n- Status of the VM, including the intermediate busy mode\n- OS\n- DNS and IP\n- Disk size\n- CPU\n- RAM\n\n# Subscription parameters\n* Tenant ID (Directory ID)\n* Application ID (Identifier of application account of ligoj)\n* Key (secret token of application account of ligoj)\n* Subscription ID\n* Resource group name\n* VM (RM) name\n\n## How to create/get these Azure parameters?\n### Tenant ID/Application ID and Key\nEverything takes place in [Azure Active Directory](https://portal.azure.com/?l=en.en-us#blade/Microsoft_AAD_IAM)\n* Navigate to [RegisteredApps](https://portal.azure.com/?l=en.en-us#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps)\n* Click on \"New application registration\"\n* Fill the form : Name=\"ligoj\", Application type=\"Web app / API\", Sign-on URL=ligoj URL, can be updated later\n* \"Create\"\n* Click on the created registration\n* Copy the \"Application ID\"\n* Click on \"Keys\" (right panel)\n* In the \"Passwords\" panel, fill \"Key Description\" and \"Duration\", then \"Save\"\n* Copy the one time displayed key value. \n* Navigate to [Properties](https://portal.azure.com/?l=en.en-us#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Properties)\n* Copy the \"Directory ID\", used as \"Tenant ID\" by Ligoj\n\n### Resource Group\nNavigate to [Resource groups](https://portal.azure.com/?l=en.en-us#blade/HubsExtension/Resources/resourceType/Microsoft.Resources%2Fsubscriptions%2FresourceGroups)\nCopy the resource group name\nGrant the rights to \"ligoj\" account on the selected resource group\n\n### Subscription\n* Navigate to [Cost Management + Billing](https://portal.azure.com/?l=en.en-us#blade/Microsoft_Azure_Billing/SubscriptionsBlade)\n* Get the subscription id from one of your enabled subscription\n\n# Technical details\nUsed API is \"Microsoft.Compute\" (2017-03-30)\nAuthentication is OAuth2, no required CLI to be installed\nOnly RM type \"VM\" are supported, no \"Classic\".\nOnly the VM name is stored, not its identifier. So a deleted VM and then recreated with the same name is not lost by ligoj.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligoj%2Fplugin-vm-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fligoj%2Fplugin-vm-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fligoj%2Fplugin-vm-azure/lists"}