# NOT RUN {
sub <- AzureRMR::get_azure_login()$
get_subscription("subscription_id")
sub$get_vm("myvirtualmachine")
sub$get_vm_scaleset("myscaleset")
rg <- sub$get_resource_group("rgname")
rg$get_vm("myothervirtualmachine")
rg$get_vm_scaleset("myotherscaleset")
# }
Run the code above in your browser using DataLab