create_acr {AzureContainers} | R Documentation |
Create Azure Container Registry (ACR)
Description
Method for the AzureRMR::az_resource_group class.
Usage
create_acr(name, location = self$location, admin_user_enabled = TRUE, sku = "Standard", ...)
Arguments
-
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 beTRUE
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.
Details
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.
Value
An object of class az_container_registry
representing the registry resource.
See Also
get_acr, delete_acr, list_acrs
docker_registry for the registry endpoint
ACR documentation and API reference
Examples
## Not run:
rg <- AzureRMR::get_azure_login()$
get_subscription("subscription_id")$
get_resource_group("rgname")
rg$create_acr("myregistry")
## End(Not run)