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 
      Modifier and Type Method Description
      AggregatePolicyDnsAnswer get​(java.lang.String tier0Id, java.lang.String address, java.lang.String enforcementPointPath)
      Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server.
      void get​(java.lang.String tier0Id, java.lang.String address, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<AggregatePolicyDnsAnswer> asyncCallback)
      Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server.
      void get​(java.lang.String tier0Id, java.lang.String address, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.AsyncCallback<AggregatePolicyDnsAnswer> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server.
      AggregatePolicyDnsAnswer get​(java.lang.String tier0Id, java.lang.String address, java.lang.String enforcementPointPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
      Query the nameserver for an ip-address or a FQDN of the given an address optionally using an specified DNS server.
    • Method Detail

      • get

        AggregatePolicyDnsAnswer get​(java.lang.String tier0Id,
                                     java.lang.String address,
                                     java.lang.String enforcementPointPath)
        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). If enforcement point is specified, then DNS forwarder nslookup answer will get fetched from specified enforcement point. Otherwise from all enforcement points.

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

        Parameters:
        tier0Id - (required)
        address - IP address or FQDN for nslookup (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        Returns:
        com.vmware.nsx_policy.model.AggregatePolicyDnsAnswer
        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

        AggregatePolicyDnsAnswer get​(java.lang.String tier0Id,
                                     java.lang.String address,
                                     java.lang.String enforcementPointPath,
                                     com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        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). If enforcement point is specified, then DNS forwarder nslookup answer will get fetched from specified enforcement point. Otherwise from all enforcement points.

        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:
        tier0Id - (required)
        address - IP address or FQDN for nslookup (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.AggregatePolicyDnsAnswer
        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

        void get​(java.lang.String tier0Id,
                 java.lang.String address,
                 java.lang.String enforcementPointPath,
                 com.vmware.vapi.bindings.client.AsyncCallback<AggregatePolicyDnsAnswer> asyncCallback)
        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). If enforcement point is specified, then DNS forwarder nslookup answer will get fetched from specified enforcement point. Otherwise from all enforcement points.

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

        Invocation Result:
        com.vmware.nsx_policy.model.AggregatePolicyDnsAnswer

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

        Parameters:
        tier0Id - (required)
        address - IP address or FQDN for nslookup (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(java.lang.String tier0Id,
                 java.lang.String address,
                 java.lang.String enforcementPointPath,
                 com.vmware.vapi.bindings.client.AsyncCallback<AggregatePolicyDnsAnswer> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        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). If enforcement point is specified, then DNS forwarder nslookup answer will get fetched from specified enforcement point. Otherwise from all enforcement points.

        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_policy.model.AggregatePolicyDnsAnswer

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

        Parameters:
        tier0Id - (required)
        address - IP address or FQDN for nslookup (optional)
        enforcementPointPath - String Path of the enforcement point (optional)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.