Learn R Programming

AzureContainers (version 1.3.3)

delete_aci: Delete an Azure Container Instance (ACI)

Description

Method for the AzureRMR::az_resource_group class.

Value

NULL on successful deletion.

Usage

delete_aci(name, confirm=TRUE, wait=FALSE)

Arguments

  • name: The name of the container instance.

  • confirm: Whether to ask for confirmation before deleting.

  • wait: Whether to wait until the deletion is complete.

See Also

create_aci, get_aci

az_container_instance

ACI documentation and API reference

Docker commandline reference

Examples

Run this code
if (FALSE) {

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

rg$delete_aci("mycontainer")

}

Run the code above in your browser using DataLab