Gets a list of service records for the specified service.
@param name The symbolic name of the service.
@param failedAddresses list of failed addresses.
@param dnssecMode security mode.
@return The list of SRV records mapped to the service name.
774821
public final List<SRVRecord> lookupSRVRecords(DnsName name, List<HostAddress> failedAddresses, DnssecMode dnssecMode) {
        checkIfDnssecRequestedAndSupported(dnssecMode);
        return lookupSRVRecords0(name, failedAddresses, dnssecMode);
    }
314648
public static dnssoarec[] get(nitro_service service, dnssoarec_args args) throws Exception{
		dnssoarec obj = new dnssoarec();
		options option = new options();
		option.set_args(nitro_util.object_to_string_withoutquotes(args));
		dnssoarec[] response = (dnssoarec[])obj.get_resources(service, option);
		return response;
	}
13199
public String[] nameToUrls(final String name) throws IOException {

		NameValuePair[] args = {
				new NameValuePair(
						ResourceFileLocationDBServlet.OPERATION_ARGUMENT,
						ResourceFileLocationDBServlet.LOOKUP_OPERATION),
					
				new NameValuePair(
						ResourceFileLocationDBServlet.NAME_ARGUMENT,
						name)
		};
		String locations = doGetMethod(args);
		if(locations != null) {
			return locations.split("\n");
		}
		return null;
	}
257902
public static InetAddress[]
    getAllByName(String name) throws UnknownHostException {
        try {
            InetAddress addr = getByAddress(name);
            return new InetAddress[]{addr};
        } catch (UnknownHostException e) {
            Record[] records = lookupHostName(name);
            InetAddress[] addrs = new InetAddress[records.length];
            for (int i = 0; i < records.length; i++)
                addrs[i] = addrFromRecord(name, records[i]);
            return addrs;
        }
    }
203008
public static dnsnameserver[] get(nitro_service service) throws Exception{
		dnsnameserver obj = new dnsnameserver();
		dnsnameserver[] response = (dnsnameserver[])obj.get_resources(service);
		return response;
	}
490649
public Collection<Server> list(String name)
    {
        List<Server> ret = new ArrayList<Server>();
        Collection<Server> servers = list();
        for(Server server : servers)
        {
            if(name == null || server.getName().equals(name))
                ret.add(server);
        }
        return ret;
    }
212004
public static tmsessionpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{
		tmsessionpolicy_authenticationvserver_binding obj = new tmsessionpolicy_authenticationvserver_binding();
		obj.set_name(name);
		tmsessionpolicy_authenticationvserver_binding response[] = (tmsessionpolicy_authenticationvserver_binding[]) obj.get_resources(service);
		return response;
	}
244902
public static authenticationvserver_authenticationsamlpolicy_binding[] get(nitro_service service, String name) throws Exception{
		authenticationvserver_authenticationsamlpolicy_binding obj = new authenticationvserver_authenticationsamlpolicy_binding();
		obj.set_name(name);
		authenticationvserver_authenticationsamlpolicy_binding response[] = (authenticationvserver_authenticationsamlpolicy_binding[]) obj.get_resources(service);
		return response;
	}
746816
public static auditnslogpolicy_csvserver_binding[] get(nitro_service service, String name) throws Exception{
		auditnslogpolicy_csvserver_binding obj = new auditnslogpolicy_csvserver_binding();
		obj.set_name(name);
		auditnslogpolicy_csvserver_binding response[] = (auditnslogpolicy_csvserver_binding[]) obj.get_resources(service);
		return response;
	}
875703
@Override
    public String[] getInstanceNameList(final String dsExecName) throws DevFailed {
        final DeviceData argin = new DeviceData();
        argin.insert(dsExecName);
        final DeviceData argout = database.command_inout("DbGetInstanceNameList", argin);
        return argout.extractStringArray();
    }
1122896
public static dnspolicy_dnspolicylabel_binding[] get(nitro_service service, String name) throws Exception{
		dnspolicy_dnspolicylabel_binding obj = new dnspolicy_dnspolicylabel_binding();
		obj.set_name(name);
		dnspolicy_dnspolicylabel_binding response[] = (dnspolicy_dnspolicylabel_binding[]) obj.get_resources(service);
		return response;
	}
1020971
public List<String> getUsersForRole(String name) {
        try {
            return model.model.get("g").get("g").rm.getUsers(name);
        } catch (Error e) {
            if (!e.getMessage().equals("error: name does not exist")) {
                throw e;
            }
        }
        return null;
    }
966078
public ArrayList<String> serviceName_glueRecord_GET(String serviceName, String host) throws IOException {
		String qPath = "/domain/{serviceName}/glueRecord";
		StringBuilder sb = path(qPath, serviceName);
		query(sb, "host", host);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t2);
	}
1173252
public static InetAddress
    getByName(String name) throws UnknownHostException {
        try {
            return getByAddress(name);
        } catch (UnknownHostException e) {
            Record[] records = lookupHostName(name);
            return addrFromRecord(name, records[0]);
        }
    }
553847
public ArrayList<OvhFailoverIp> project_serviceName_ip_failover_GET(String serviceName) throws IOException {
		String qPath = "/cloud/project/{serviceName}/ip/failover";
		StringBuilder sb = path(qPath, serviceName);
		String resp = exec(qPath, "GET", sb.toString(), null);
		return convertTo(resp, t13);
	}
76684
private List<ServerAddress> getServerAddressList(List<String> addressStringList) throws UnknownHostException {

        List<ServerAddress> addressList = new ArrayList<>();

        for (String addressString : addressStringList) {
            addressList.add(new ServerAddress(addressString));
        }
        return addressList;
    }
1095206
public static tmtrafficpolicy_csvserver_binding[] get(nitro_service service, String name) throws Exception{
		tmtrafficpolicy_csvserver_binding obj = new tmtrafficpolicy_csvserver_binding();
		obj.set_name(name);
		tmtrafficpolicy_csvserver_binding response[] = (tmtrafficpolicy_csvserver_binding[]) obj.get_resources(service);
		return response;
	}