# NOT RUN {
rg <- AzureRMR::az_rm$
new(tenant="myaadtenant.onmicrosoft.com", app="app_id", password="password")$
get_subscription("subscription_id")$
get_resource_group("rgname")
# get the ACR resource that contains the image
myacr <- rg$get_acr("myregistry")
rg$create_aci("mycontainer",
image="myregistry.azurecr.io/myimage:latest",
registry_creds=myacr)
# }
Run the code above in your browser using DataLab