Deletes a specific PhysicalNetworkFunctionRecord.

@param idNsr the ID of the NetworkFunctionRecord containing the PhysicalNetworkFunctionRecord
@param idPnfr the ID of the PhysicalNetworkFunctionRecord to delete
@throws SDKException if the request fails
324408
@Help(
    help = "Delete the PhysicalNetworkFunctionRecord of a NetworkServiceRecord with specific id"
  )
  public void deletePhysicalNetworkFunctionRecord(final String idNsr, final String idPnfr)
      throws SDKException {
    String url = idNsr + "/pnfrecords" + "/" + idPnfr;
    requestDelete(url);
  }
642693
public static base_response delete(nitro_service client, String reversedomain) throws Exception {
		dnsptrrec deleteresource = new dnsptrrec();
		deleteresource.reversedomain = reversedomain;
		return deleteresource.delete_resource(client);
	}
891981
public static base_response delete(nitro_service client, String serverip) throws Exception {
		ntpserver deleteresource = new ntpserver();
		deleteresource.serverip = serverip;
		return deleteresource.delete_resource(client);
	}
1318810
public void deleteService(String id, boolean force) {
        try {
            if (id == null || id.isEmpty()) {
                id = selectRunningService();
            }
            final String idFinal = id;
            int input = 'Y';
            if (!force) {
                OutputStreamFormater.printValue(String.format(
                    "Do you really want to delete the connector: %s (Y/n): ", id));
                input = keyboard.read();
            }
            if ('n' != (char) input && 'N' != (char) input) {
                SecurityContext.executeWithSystemPermissions(new Callable<Object>() {
                    @Override
                    public Object call() throws Exception {
                        serviceManager.delete(idFinal);
                        return null;
                    }
                });
                OutputStreamFormater.printValue(String.format("Service: %s successfully deleted", id));
            }
        } catch (ExecutionException e) {
            e.printStackTrace();
            System.err.println("Could not delete service");
        } catch (IOException e) {
            e.printStackTrace();
            System.err.println("Unexpected Error");
        }
    }
997530
public static base_responses delete(nitro_service client, String Dnssuffix[]) throws Exception {
		base_responses result = null;
		if (Dnssuffix != null && Dnssuffix.length > 0) {
			dnssuffix deleteresources[] = new dnssuffix[Dnssuffix.length];
			for (int i=0;i<Dnssuffix.length;i++){
				deleteresources[i] = new dnssuffix();
				deleteresources[i].Dnssuffix = Dnssuffix[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
1295738
def delete_ikepolicy(self, ikepolicy):
        '''
        
        '''
        ikepolicy_id = self._find_ikepolicy_id(ikepolicy)
        ret = self.network_conn.delete_ikepolicy(ikepolicy_id)
        return ret if ret else True
696508
public static base_response delete(nitro_service client, String ip) throws Exception {
		dnsnameserver deleteresource = new dnsnameserver();
		deleteresource.ip = ip;
		return deleteresource.delete_resource(client);
	}
1274015
public void removeChannel(
            T channel,
            String functionalityName,
            String requesterID,
            String conversationID)
    {
        synchronized (this.channelsWithId)
        {
            this.channelsWithId.remove(calculateId(functionalityName, requesterID, conversationID));
        }
        synchronized (this.channelsWithFunctionalityName)
        {
            this.channelsWithFunctionalityName.get(functionalityName).remove(channel);
        }
    }
1132328
def _delete_record(self, identifier=None, rtype=None, name=None, content=None):
        
        if not identifier:
            records = self._list_records(rtype, name, content)
            identifiers = [record["id"] for record in records]
        else:
            identifiers = [identifier]

        LOGGER.debug("delete_records: %s", identifiers)

        for record_id in identifiers:
            self._delete(
                "/v1/domains/{0}/records/{1}".format(
                    self.domain, record_id
                )
            )
            LOGGER.debug("delete_record: %s", record_id)

        LOGGER.debug("delete_record: %s", True)
        return True
146477
public static syslog_sslvpn delete(nitro_service client, syslog_sslvpn resource) throws Exception
	{
		resource.validate("delete");
		return ((syslog_sslvpn[]) resource.delete_resource(client))[0];
	}
420486
def delete_sdr(self, record_id):
        

        reservation_id = self.reserve_device_sdr_repository()
        rsp = self.send_message_with_name('DeleteSdr',
                                          reservation_id=reservation_id,
                                          record_id=record_id)
        return rsp.record_id
600939
public function disconnectFromNSQLookupd($addr)
    {
        $addr = $this->formatAddress($addr);
        if (!isset($this->lookupdHTTPAddrs[$addr])) {
            throw new NsqException("not connected");
        }

        if (count($this->lookupdHTTPAddrs) === 1) {
            throw new NsqException("cannot disconnect from only remaining nsqlookupd HTTP address $addr");
        }

        unset($this->lookupdHTTPAddrs[$addr]);

        foreach ($this->getConnections() as $conn) {
            if ($conn->getLookupAddr() === $addr) {
                $conn->tryClose();
            }
        }
    }
758573
public static base_responses delete(nitro_service client, dnsnameserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnsnameserver deleteresources[] = new dnsnameserver[resources.length];
			for (int i=0;i<resources.length;i++){
				deleteresources[i] = new dnsnameserver();
				deleteresources[i].ip = resources[i].ip;
				deleteresources[i].dnsvservername = resources[i].dnsvservername;
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
1131570
public static base_responses delete(nitro_service client, String serverip[]) throws Exception {
		base_responses result = null;
		if (serverip != null && serverip.length > 0) {
			ntpserver deleteresources[] = new ntpserver[serverip.length];
			for (int i=0;i<serverip.length;i++){
				deleteresources[i] = new ntpserver();
				deleteresources[i].serverip = serverip[i];
			}
			result = delete_bulk_request(client, deleteresources);
		}
		return result;
	}
682975
@Help(
    help =
        "Create the VirtualNetworkFunctionDescriptor dependency of a NetworkServiceDescriptor with specific id"
  )
  public VNFDependency createVNFDependency(final String idNSD, final VNFDependency vnfDependency)
      throws SDKException {
    String url = idNSD + "/vnfdependencies" + "/";
    return (VNFDependency) requestPost(url, vnfDependency);
  }
1124791
@Help(
    help =
        "get the VirtualNetworkFunctionDescriptor dependency with specific id of a NetworkServiceDescriptor with specific id"
  )
  public VNFDependency getVNFDependency(final String idNSD, final String idVnfd)
      throws SDKException {
    String url = idNSD + "/vnfdependencies" + "/" + idVnfd;
    return (VNFDependency) requestGet(url, VNFDependency.class);
  }
392582
@Override
  public void _Network_Peers_removePeer(String name) throws MBeanException {
    try {
      MutablePeerTable n = (MutablePeerTable) stack.unwrap(PeerTable.class);
      n.removePeer(name);
    }
    catch (InternalException e) {
      throw new MBeanException(e, "Failed to remove peer with name '" + name + "'");
    }
  }