# NOT RUN {
# recommended way of retrieving a container: via a resource group object
rg <- AzureRMR::az_rm$
new(tenant="myaadtenant.onmicrosoft.com", app="app_id", password="password")$
get_subscription("subscription_id")$
get_resource_group("rgname")
myaci <- rg$get_aci("mycontainer")
myaci$stop()
myaci$restart()
# }
Run the code above in your browser using DataLab