title: az aks nodepool delete
body: <p>I use the command <code>az aks nodepool delete -g $myresource --cluster-name $mycluster --name $mypool</code> to delete node pools in aks, but this command kill any running job. I am trying to optimize azure AKS cots, and some times it would be useful to schedule <code>az aks nodepool delete</code>.</p>
  
  <p>Is it any way to schedule <code>az aks nodepool delete</code> so a node pool will be deleted after a job is finished? </p>