<pre>
Use this operation to delete NetScaler XVA file.
</pre>
432861
public static xen_nsvpx_image delete(nitro_service client, xen_nsvpx_image resource) throws Exception
	{
		resource.validate("delete");
		return ((xen_nsvpx_image[]) resource.delete_resource(client))[0];
	}
1181012
public static base_response delete(nitro_service client, String servicename) throws Exception {
		gslbservice deleteresource = new gslbservice();
		deleteresource.servicename = servicename;
		return deleteresource.delete_resource(client);
	}
253174
public static ntp_server delete(nitro_service client, ntp_server resource) throws Exception
	{
		resource.validate("delete");
		return ((ntp_server[]) resource.delete_resource(client))[0];
	}
955934
public void deleteCurrent(SITransaction simpTran)
  throws SISessionUnavailableException, SISessionDroppedException,
         SIIncorrectCallException,
         SIErrorException
  {
    if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
      SibTr.entry(CoreSPILockedMessageEnumeration.tc, "deleteCurrent", this);
      
    checkValidState("deleteCurrent");
    
    _localConsumerPoint.checkNotClosed();
    
    if (!_messageAvailable)
    {
      if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
        SibTr.exit(CoreSPILockedMessageEnumeration.tc, "deleteCurrent", "Invalid current Message");
        
      throw new SIIncorrectCallException(
        nls.getFormattedMessage("INVALID_MESSAGE_ERROR_CWSIP0191", 
          new Object[] { _localConsumerPoint.getConsumerManager().getDestination().getName(),
            _localConsumerPoint.getConsumerManager().getMessageProcessor().getMessagingEngineName() }, 
          null));
    }
    
    _singleMessage = null;
    _messageAvailable = false;
    
    if (TraceComponent.isAnyTracingEnabled() && CoreSPILockedMessageEnumeration.tc.isEntryEnabled())
      SibTr.exit(CoreSPILockedMessageEnumeration.tc, "deleteCurrent");
  }
420550
public static base_response delete(nitro_service client, String xmlcontenttypevalue) throws Exception {
		appfwxmlcontenttype deleteresource = new appfwxmlcontenttype();
		deleteresource.xmlcontenttypevalue = xmlcontenttypevalue;
		return deleteresource.delete_resource(client);
	}
20702
public static xen_smx_gsbvpx_image delete(nitro_service client, xen_smx_gsbvpx_image resource) throws Exception
	{
		resource.validate("delete");
		return ((xen_smx_gsbvpx_image[]) resource.delete_resource(client))[0];
	}
876393
public static af_persistant_stat_info delete(nitro_service client, af_persistant_stat_info resource) throws Exception
	{
		resource.validate("delete");
		return ((af_persistant_stat_info[]) resource.delete_resource(client))[0];
	}
557642
private void deleteVersion(final Future<Void> aFuture) {
        if (LOGGER.isDebugEnabled()) {
            LOGGER.debug(MessageCodes.PT_DEBUG_006, myPath);
        }

        myFileSystem.delete(getVersionFilePath(), result -> {
            if (result.succeeded()) {
                if (hasPrefix()) {
                    deletePrefix(aFuture);
                } else {
                    aFuture.complete();
                }
            } else {
                aFuture.fail(result.cause());
            }
        });
    }
795252
public static base_response delete(nitro_service client, dnsnameserver resource) throws Exception {
		dnsnameserver deleteresource = new dnsnameserver();
		deleteresource.ip = resource.ip;
		deleteresource.dnsvservername = resource.dnsvservername;
		return deleteresource.delete_resource(client);
	}
753126
@SuppressWarnings("FutureReturnValueIgnored")
  private void deleteProjectDirsInParallel(final ImmutableSet<File> projectDirsToDelete) {
    final int CLEANING_SERVICE_THREAD_NUM = 8;
    final ExecutorService deletionService = Executors
        .newFixedThreadPool(CLEANING_SERVICE_THREAD_NUM);

    for (final File toDelete : projectDirsToDelete) {
      deletionService.submit(() -> {
        log.info("Deleting project dir {} from project cache to free up space", toDelete);
        FileIOUtils.deleteDirectorySilently(toDelete);
      });
    }

    try {
      new ExecutorServiceUtils().gracefulShutdown(deletionService, Duration.ofDays(1));
    } catch (final InterruptedException e) {
      log.warn("Error when deleting files", e);
    }
  }
737681
public static base_response delete(nitro_service client, String urlname) throws Exception {
		vpnurl deleteresource = new vpnurl();
		deleteresource.urlname = urlname;
		return deleteresource.delete_resource(client);
	}
1304081
def _delete_os_nwk(self, tenant_id, tenant_name, direc, is_fw_virt=False):
        
        serv_obj = self.get_service_obj(tenant_id)
        fw_dict = serv_obj.get_fw_dict()
        fw_id = fw_dict.get('fw_id')
        fw_data, fw_data_dict = self.get_fw(fw_id)
        if fw_data is None:
            LOG.error("Unable to get fw_data for tenant %s", tenant_name)
            return False
        if direc == 'in':
            net_id = fw_data.in_network_id
            seg, vlan = self.get_in_seg_vlan(tenant_id)
            subnet_dict = self.get_in_ip_addr(tenant_id)
        else:
            net_id = fw_data.out_network_id
            seg, vlan = self.get_out_seg_vlan(tenant_id)
            subnet_dict = self.get_out_ip_addr(tenant_id)
        # Delete the Openstack Network
        sub = subnet_dict.get('subnet')
        try:
            ret = self.os_helper.delete_network_all_subnets(net_id)
            if not ret:
                LOG.error("Delete network for ID %(net)s direct %(dir)s "
                          "failed", {'net': net_id, 'dir': direc})
                return False
        except Exception as exc:
            LOG.error("Delete network for ID %(net)s direct %(dir)s failed"
                      " Exc %(exc)s",
                      {'net': net_id, 'dir': direc, 'exc': exc})
            return False

        # Release the segment, VLAN and subnet allocated
        if not is_fw_virt:
            self.service_vlans.release_segmentation_id(vlan)
        self.service_segs.release_segmentation_id(seg)
        self.release_subnet(sub, direc)
        # Release the network DB entry
        self.delete_network_db(net_id)
        return True
276892
public static void deleteFilePathOnExit(FilePath filePath) throws IOException, InterruptedException {
        filePath.act(new MasterToSlaveFileCallable<Void>() {
            public Void invoke(File file, VirtualChannel virtualChannel) throws IOException, InterruptedException {
                file.deleteOnExit();
                return null;
            }
        });
    }
1175775
public static xen_image delete(nitro_service client, xen_image resource) throws Exception
	{
		resource.validate("delete");
		return ((xen_image[]) resource.delete_resource(client))[0];
	}
981127
public static xen_sf_storagecentervpx_image delete(nitro_service client, xen_sf_storagecentervpx_image resource) throws Exception
	{
		resource.validate("delete");
		return ((xen_sf_storagecentervpx_image[]) resource.delete_resource(client))[0];
	}
647760
public static base_response delete(nitro_service client, nsip resource) throws Exception {
		nsip deleteresource = new nsip();
		deleteresource.ipaddress = resource.ipaddress;
		deleteresource.td = resource.td;
		return deleteresource.delete_resource(client);
	}
910914
public static xen_appcvpx_image delete(nitro_service client, xen_appcvpx_image resource) throws Exception
	{
		resource.validate("delete");
		return ((xen_appcvpx_image[]) resource.delete_resource(client))[0];
	}