def METHOD_NAME(test, checks=None):
    """Kubernetescluster agentpool delete operation"""
    if checks is None:
        checks = []
    test.cmd(
        "az networkcloud kubernetescluster agentpool delete --name {name} "
        "--kubernetes-cluster-name {clusterName} --resource-group {rg} -y"
    )