Interface Nslookup

  • All Superinterfaces:
    NslookupTypes, com.vmware.vapi.bindings.Service
    All Known Implementing Classes:
    NslookupStub

    public interface Nslookup
    extends com.vmware.vapi.bindings.Service, NslookupTypes
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      DnsAnswer get​(java.lang.String forwarderId, java.lang.String address, java.lang.String serverIp, java.lang.String sourceIp)
      Deprecated.
      void get​(java.lang.String forwarderId, java.lang.String address, java.lang.String serverIp, java.lang.String sourceIp, com.vmware.vapi.bindings.client.AsyncCallback<DnsAnswer> asyncCallback)
      Deprecated.
      void get​(java.lang.String forwarderId, java.lang.String address, java.lang.String serverIp, java.lang.String sourceIp, com.vmware.vapi.bindings.client.AsyncCallback<DnsAnswer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
      DnsAnswer get​(java.lang.String forwarderId, java.lang.String address, java.lang.String serverIp, java.lang.String sourceIp, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Deprecated.
    • Method Detail

      • get

        @Deprecated
        DnsAnswer get​(java.lang.String forwarderId,
                      java.lang.String address,
                      java.lang.String serverIp,
                      java.lang.String sourceIp)
        Deprecated.
        Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server. If the address is a fqdn, nslookup will resolve ip-address with it. If the address is an ip-address, do a reverse lookup and answer fqdn(s).

        Synchronous method overload. Result of the invocation will be reported as a method return value.

        Parameters:
        forwarderId - (required)
        address - IP address or FQDN for nslookup (optional)
        serverIp - IPv4 address (optional)
        sourceIp - IPv4 address (optional)
        Returns:
        com.vmware.nsx.model.DnsAnswer
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        @Deprecated
        DnsAnswer get​(java.lang.String forwarderId,
                      java.lang.String address,
                      java.lang.String serverIp,
                      java.lang.String sourceIp,
                      com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server. If the address is a fqdn, nslookup will resolve ip-address with it. If the address is an ip-address, do a reverse lookup and answer fqdn(s).

        Synchronous method overload. Result of the invocation will be reported as a method return value. Use invocationConfig to specify configuration for this particular invocation.

        Parameters:
        forwarderId - (required)
        address - IP address or FQDN for nslookup (optional)
        serverIp - IPv4 address (optional)
        sourceIp - IPv4 address (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx.model.DnsAnswer
        Throws:
        com.vmware.vapi.std.errors.InvalidRequest - Bad Request, Precondition Failed
        com.vmware.vapi.std.errors.Unauthorized - Forbidden
        com.vmware.vapi.std.errors.ServiceUnavailable - Service Unavailable
        com.vmware.vapi.std.errors.InternalServerError - Internal Server Error
        com.vmware.vapi.std.errors.NotFound - Not Found
      • get

        @Deprecated
        void get​(java.lang.String forwarderId,
                 java.lang.String address,
                 java.lang.String serverIp,
                 java.lang.String sourceIp,
                 com.vmware.vapi.bindings.client.AsyncCallback<DnsAnswer> asyncCallback)
        Deprecated.
        Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server. If the address is a fqdn, nslookup will resolve ip-address with it. If the address is an ip-address, do a reverse lookup and answer fqdn(s).

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback.

        Invocation Result:
        com.vmware.nsx.model.DnsAnswer

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        forwarderId - (required)
        address - IP address or FQDN for nslookup (optional)
        serverIp - IPv4 address (optional)
        sourceIp - IPv4 address (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        @Deprecated
        void get​(java.lang.String forwarderId,
                 java.lang.String address,
                 java.lang.String serverIp,
                 java.lang.String sourceIp,
                 com.vmware.vapi.bindings.client.AsyncCallback<DnsAnswer> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server. If the address is a fqdn, nslookup will resolve ip-address with it. If the address is an ip-address, do a reverse lookup and answer fqdn(s).

        Asynchronous method overload. Result of the invocation will be reported via the specified asyncCallback. Use invocationConfig to specify configuration for this particular invocation.

        Invocation Result:
        com.vmware.nsx.model.DnsAnswer

        Operation Errors:
        InvalidRequest - Bad Request, Precondition Failed
        Unauthorized - Forbidden
        ServiceUnavailable - Service Unavailable
        InternalServerError - Internal Server Error
        NotFound - Not Found

        Parameters:
        forwarderId - (required)
        address - IP address or FQDN for nslookup (optional)
        serverIp - IPv4 address (optional)
        sourceIp - IPv4 address (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.