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

        @Deprecated
        RestoreConfiguration get()
        Deprecated.
        Get configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
        Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.

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

        Returns:
        com.vmware.nsx_policy.model.RestoreConfiguration
        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
        RestoreConfiguration get​(com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Get configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
        Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.

        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.RestoreConfiguration
        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​(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
        Deprecated.
        Get configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
        Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.

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

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

        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

        @Deprecated
        void get​(com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback,
                 com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Get configuration information for the file server used to store backed-up files. Fields that contain secrets (password, passphrase) are not returned.
        Deprecated. Please use API /cluster/backups/config, to get remote file server(where backed-up files are stored) details durign restore.

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

        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

        @Deprecated
        RestoreConfiguration update​(RestoreConfiguration restoreConfiguration)
        Deprecated.
        Configure file server where the backed-up files used for the Restore operation are available.
        Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.

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

        Parameters:
        restoreConfiguration - (required)
        Returns:
        com.vmware.nsx_policy.model.RestoreConfiguration
        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

        @Deprecated
        RestoreConfiguration update​(RestoreConfiguration restoreConfiguration,
                                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Configure file server where the backed-up files used for the Restore operation are available.
        Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.

        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:
        restoreConfiguration - (required)
        invocationConfig - Configuration for the method invocation.
        Returns:
        com.vmware.nsx_policy.model.RestoreConfiguration
        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

        @Deprecated
        void update​(RestoreConfiguration restoreConfiguration,
                    com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback)
        Deprecated.
        Configure file server where the backed-up files used for the Restore operation are available.
        Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.

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

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

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

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

        @Deprecated
        void update​(RestoreConfiguration restoreConfiguration,
                    com.vmware.vapi.bindings.client.AsyncCallback<RestoreConfiguration> asyncCallback,
                    com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
        Deprecated.
        Configure file server where the backed-up files used for the Restore operation are available.
        Please use API /cluster/backups/config, to configure remote file server(where backed-up files are stored) details during restore.

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

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

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