Learn R Programming

AzureContainers (version 1.0.2)

get_acr: Get Azure Container Registry (ACR)

Description

Method for the AzureRMR::az_resource_group class.

Value

For get_acr(), an object of class az_container_registry representing the registry resource.

For list_acrs(), a list of such objects.

Usage

get_acr(name)
list_acrs()

Arguments

  • name: For get_acr(), the name of the container registry resource.

Details

The AzureRMR::az_resource_group class has both get_acr() and list_acrs() methods, while the AzureRMR::az_subscription class only has the latter.

See Also

create_acr, delete_acr

az_container_registry

docker_registry for the registry endpoint

ACR documentation and API reference

Docker registry API

Examples

Run this code
# NOT RUN {
rg <- AzureRMR::az_rm$
    new(tenant="myaadtenant.onmicrosoft.com", app="app_id", password="password")$
    get_subscription("subscription_id")$
    get_resource_group("rgname")

rg$get_acr("myregistry")

# }

Run the code above in your browser using DataLab