create_acr {AzureContainers} | R Documentation |
Method for the AzureRMR::az_resource_group class.
create_acr(name, location = self$location, admin_user_enabled = TRUE, sku = "Standard", ...)
name
: The name of the container registry.
location
: The location/region in which to create the container registry. Defaults to this resource group's location.
admin_user_enabled
: Whether to enable the Admin user. Currently this must be TRUE
for ACI to pull from the registry.
sku
: Either "Basic", "Standard" (the default) or "Premium".
wait
: Whether to wait until the ACR resource provisioning is complete.
...
: Other named arguments to pass to the az_resource initialization function.
An ACR resource is a Docker registry hosted in Azure. See the documentation for the resource for more information. To work with the registry (transfer images, retag images, etc) see the documentation for the registry endpoint.
An object of class az_container_registry
representing the registry resource.
get_acr, delete_acr, list_acrs
docker_registry for the registry endpoint
ACR documentation and API reference
## Not run:
rg <- AzureRMR::get_azure_login()$
get_subscription("subscription_id")$
get_resource_group("rgname")
rg$create_acr("myregistry")
## End(Not run)