'Implements the BaseBomValidateDeployer interface.'

def do_undeploy(self):

    options = self.options
    if (options.deploy_spinnaker_type == 'distributed'):
        run_and_monitor('ssh    -i    {ssh_key}    -o    StrictHostKeyChecking=no    -o    UserKnownHostsFile=/dev/null    {user}@{ip}    sudo    hal    -q    --log=info    deploy    clean'.format(user=self.hal_user, ip=self.instance_ip, ssh_key=self.ssh_key_path))
    check_run_and_monitor('az    vm    delete    -y    --name    {name}    --resource-group    {rg}'.format(name=options.deploy_azure_name, rg=options.deploy_azure_resource_group))
