Interface Batch

  • All Superinterfaces:
    BatchTypes, com.vmware.vapi.bindings.Service
    All Known Implementing Classes:
    BatchStub

    public interface Batch
    extends com.vmware.vapi.bindings.Service, BatchTypes
    • Method Detail

      • create

        @Deprecated
        BatchResponse create​(BatchRequest batchRequest,
                             java.lang.Boolean atomic)
        Deprecated.

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

        Parameters:
        batchRequest - (required)
        atomic - Ignored (transactional atomicity flag) (optional, default to false)
        Returns:
        com.vmware.nsx_policy.model.BatchResponse
        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
      • create

        @Deprecated
        BatchResponse create​(BatchRequest batchRequest,
                             java.lang.Boolean atomic,
                             com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.

        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:
        batchRequest - (required)
        atomic - Ignored (transactional atomicity flag) (optional, default to false)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.BatchResponse
        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
      • create

        @Deprecated
        void create​(BatchRequest batchRequest,
                    java.lang.Boolean atomic,
                    com.vmware.vapi.bindings.client.AsyncCallback<BatchResponse> asyncCallback)
        Deprecated.

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

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

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

        Parameters:
        batchRequest - (required)
        atomic - Ignored (transactional atomicity flag) (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • create

        @Deprecated
        void create​(BatchRequest batchRequest,
                    java.lang.Boolean atomic,
                    com.vmware.vapi.bindings.client.AsyncCallback<BatchResponse> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.

        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.BatchResponse

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

        Parameters:
        batchRequest - (required)
        atomic - Ignored (transactional atomicity flag) (optional, default to false)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.