create_acr: Create Azure Container Registry (ACR)

Description Usage Arguments Details Value See Also Examples

Description

Method for the AzureRMR::az_resource_group class.

Usage

1
2
create_acr(name, location = self$location,
           admin_user_enabled = TRUE, sku = "Standard", ...)

Arguments

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

az_container_registry

docker_registry for the registry endpoint

ACR documentation and API reference

Docker registry API

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

rg <- AzureRMR::get_azure_login()$
    get_subscription("subscription_id")$
    get_resource_group("rgname")

rg$create_acr("myregistry")


## End(Not run)

Hong-Revo/AzureContainers documentation built on July 11, 2021, 4:34 a.m.