Skip to content
This repository has been archived by the owner on Oct 31, 2019. It is now read-only.

Support classic VMs #39

Closed
BertTijhuis opened this issue Dec 27, 2016 · 3 comments
Closed

Support classic VMs #39

BertTijhuis opened this issue Dec 27, 2016 · 3 comments

Comments

@BertTijhuis
Copy link

BertTijhuis commented Dec 27, 2016

Thanks for the nice AzureSMR package,

Was trying to use it with an Shiny application together with the Windows taskscheduler to start and stop
Azure VM.

Although due to the fact that we're using next to

  • Microsoft.Compute/virtualMachines

also

  • Microsoft.ClassicCompute/virtualMachines and
  • Microsoft.ClassicCompute/domainNames

which we want also to restart on a scheduled way.

Is it possible to add as extra argumnent with these functions the type containing
one of the next types:

  • Microsoft.Compute/virtualMachines <- default
  • Microsoft.ClassicCompute/virtualMachines
  • Microsoft.ClassicCompute/domainNames

and so the next code should be
instead of:

    URL <- paste("https://management.azure.com/subscriptions/", 
        SUBIDI, "/resourceGroups/", RGI, "/providers/Microsoft.Compute/virtualmachines/", 
        vmNameI, "/deallocate?api-version=2015-05-01-preview", 
   URL <- paste("https://management.azure.com/subscriptions/", 
        SUBIDI, "/resourceGroups/", RGI, "/providers/',type,"/", 
        vmNameI, "/deallocate?api-version=2015-05-01-preview", 

Or provide me feedback when this isn't a good idea

@Alanwe
Copy link
Member

Alanwe commented Dec 28, 2016

Hi BertTijhuis , I wasn't sure how much demand there would be for Classic mode. Adding a Type argument would be straightforward, however I believe that if we support classic, we may also need to consider storage and network as well as Virtual Machines. Is there a specific reason you are unable to move the VMs to ARM?

@BertTijhuis
Copy link
Author

BertTijhuis commented Dec 28, 2016 via email

@andrie andrie changed the title azureListVM , azureStopVM and azureStartVM azureListVM , azureStopVM and azureStartVM doesn't work for classic VMs Feb 6, 2017
@andrie andrie changed the title azureListVM , azureStopVM and azureStartVM doesn't work for classic VMs Support classic VMs May 21, 2017
@andrie andrie added the wontfix label May 21, 2017
@andrie
Copy link
Contributor

andrie commented May 21, 2017

Closing, since we don't intend to add support for classic VMs, unless there is a strong demand and business case.

@andrie andrie closed this as completed May 21, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants