Learn R Programming

AzureContainers (version 1.0.2)

delete_aks: Delete an Azure Kubernetes Service (AKS)

Description

Method for the AzureRMR::az_resource_group class.

Value

NULL on successful deletion.

Usage

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

Arguments

  • name: The name of the Kubernetes service.

  • confirm: Whether to ask for confirmation before deleting.

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

See Also

create_aks, get_aks

az_kubernetes_service

kubernetes_cluster for the cluster endpoint

AKS documentation and API reference

Kubernetes reference

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$delete_aks("mycluster")

# }

Run the code above in your browser using DataLab