Ligoj - Plugin VM Azure

Plugin parent pom the plugins should have.

License

License

GroupId

GroupId

org.ligoj.plugin
ArtifactId

ArtifactId

plugin-vm-azure
Last Version

Last Version

1.0.17
Release Date

Release Date

Type

Type

jar
Description

Description

Ligoj - Plugin VM Azure
Plugin parent pom the plugins should have.
Project Organization

Project Organization

Ligoj
Source Code Management

Source Code Management

https://github.com/ligoj/plugin-vm-azure.git

Download plugin-vm-azure

How to add to project

<!-- https://jarcasting.com/artifacts/org.ligoj.plugin/plugin-vm-azure/ -->
<dependency>
    <groupId>org.ligoj.plugin</groupId>
    <artifactId>plugin-vm-azure</artifactId>
    <version>1.0.17</version>
</dependency>
// https://jarcasting.com/artifacts/org.ligoj.plugin/plugin-vm-azure/
implementation 'org.ligoj.plugin:plugin-vm-azure:1.0.17'
// https://jarcasting.com/artifacts/org.ligoj.plugin/plugin-vm-azure/
implementation ("org.ligoj.plugin:plugin-vm-azure:1.0.17")
'org.ligoj.plugin:plugin-vm-azure:jar:1.0.17'
<dependency org="org.ligoj.plugin" name="plugin-vm-azure" rev="1.0.17">
  <artifact name="plugin-vm-azure" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.ligoj.plugin', module='plugin-vm-azure', version='1.0.17')
)
libraryDependencies += "org.ligoj.plugin" % "plugin-vm-azure" % "1.0.17"
[org.ligoj.plugin/plugin-vm-azure "1.0.17"]

Dependencies

compile (7)

Group / Artifact Type Version
org.apache.maven : maven-artifact jar 3.5.2
javax.annotation : javax.annotation-api jar 1.3.1
org.ligoj.bootstrap : bootstrap-business jar 2.4.3
org.apache.commons : commons-collections4 jar 4.1
org.springframework : spring-context-support jar 5.1.0.RELEASE
org.quartz-scheduler : quartz jar 2.3.0
org.apache.httpcomponents : httpclient jar 4.5.6

provided (6)

Group / Artifact Type Version
org.ligoj.plugin : plugin-vm jar [2.0.0-SNAPSHOT,2.1.0)
org.ligoj.api : plugin-core jar 3.1.1
org.projectlombok : lombok jar 1.18.2
javax.transaction : javax.transaction-api jar 1.2
javax.servlet : javax.servlet-api jar 3.1.0
javax.enterprise : cdi-api jar 1.2

test (4)

Group / Artifact Type Version
org.ligoj.api : plugin-api-test jar 3.1.1
org.ligoj.bootstrap : bootstrap-business-test jar 2.4.3
org.mockito : mockito-core jar 2.22.0
com.github.tomakehurst : wiremock jar 2.19.0

Project Modules

There are no modules declared in this project.

🔗 Ligoj Azure VM plugin Maven Central Download

Build Status Build Status Build Status Coverage Quality Gate Codacy Badge CodeFactor License

Ligoj EC2 AWS plugin, and extending VM plugin Provides the following features :

  • Supported operations from the VM plugin : ON, OFF, REBOOT, RESTART. No suspend or resume.
  • Use AWS secret and access key with AWS API 4.0

Dashboard features :

  • Status of the VM, including the intermediate busy mode
  • OS
  • DNS and IP
  • Disk size
  • CPU
  • RAM

Susbcription parameters

  • Tenant ID (Directory ID)
  • Application ID (Id of application account of ligoj)
  • Key (secret token of application account of ligoj)
  • Subscription ID
  • Resource group name
  • VM (RM) name

How to create/get these Azure parameters?

Tenant ID/Application ID and Key

Everything takes place in Azure Active Directory

  • Navigate to 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"
  • Click on the 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
  • Copy the "Directory ID", used as "Tenant ID" by Ligoj

Resource Group

Navigate to Resource groups Copy the resource group name Grant the rights to "ligoj" account on the selected resource group

Subscription

Technical details

Used API is "Microsoft.Compute" (2017-03-30) Authentication is OAuth2, no required CLI to be installed Only RM type "VM" are supported, no "Classic". Only the VM name is stored, not its identifier. So a deleted VM and then recreated with the same name is not lost by ligoj.

Versions

Version
1.0.17
1.0.16
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0