Interface Config

  • All Superinterfaces:
    ConfigTypes, com.vmware.vapi.bindings.Service
    All Known Implementing Classes:
    ConfigStub

    public interface Config
    extends com.vmware.vapi.bindings.Service, ConfigTypes
    • Method Detail

      • get

        BackupConfiguration get()
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

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

        Returns:
        com.vmware.nsx_policy.model.BackupConfiguration
        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

        BackupConfiguration get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

        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:
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.BackupConfiguration
        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​(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

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

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

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

        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • get

        void get​(com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Get a configuration of a file server and timers for automated backup. Fields that contain secrets (password, passphrase) are not returned.

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

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

        Parameters:
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.
      • update

        BackupConfiguration update​(BackupConfiguration backupConfiguration,
                                   java.lang.String frameType,
                                   java.lang.String siteId)
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

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

        Parameters:
        backupConfiguration - (required)
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        Returns:
        com.vmware.nsx_policy.model.BackupConfiguration
        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
      • update

        BackupConfiguration update​(BackupConfiguration backupConfiguration,
                                   java.lang.String frameType,
                                   java.lang.String siteId,
                                   com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

        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:
        backupConfiguration - (required)
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.BackupConfiguration
        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
      • update

        void update​(BackupConfiguration backupConfiguration,
                    java.lang.String frameType,
                    java.lang.String siteId,
                    com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback)
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

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

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

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

        Parameters:
        backupConfiguration - (required)
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
      • update

        void update​(BackupConfiguration backupConfiguration,
                    java.lang.String frameType,
                    java.lang.String siteId,
                    com.vmware.vapi.bindings.client.AsyncCallback<BackupConfiguration> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Configure file server and timers for automated backup. If secret fields are omitted (password, passphrase) then use the previously set value.

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

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

        Parameters:
        backupConfiguration - (required)
        frameType - Frame type (optional, default to LOCAL_LOCAL_MANAGER)
        siteId - Site ID (optional, default to localhost)
        asyncCallback - Receives the status (progress, result or error) of the operation invocation.
        invocationConfig - Configuration for the method invocation.