Skip to content

nicogis/AzureManage

Repository files navigation

Description

Manage virtual machine of Azure

Compile the file config.json

{
  "subscriptions": [
    {
      "name": "my_name_alias_subscription",
      "subscription": {
        "subscription_id": "",
        "client_id": "",
        "secret": "",
        "tenant": ""
      }
    }
  ]
}

In name you can set an alias for a subscription while in subscription you compile the properties subscription_id, client_id,secret and tenant following the help in this link

Syntax

  • azure_manage.py -h
  • azure_manage.py -o (start|stop|deallocate|restart) -n my_name_alias_subscription -v name_vm -g group_name

If you have a proxy for connection you can set the variable PROXY in the script

For example:

    PROXIES = {
      "http": "http://10.10.1.10:3128",
      "https": "http://10.10.1.10:1080",
    }

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Anyone and everyone is welcome to contribute.

About

Azure Manage Virtual Machine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages