IRPCVaultsAdmin.TestConnectionToSQLDatabase

View as Markdown

Administration API / specialized admin session idempotent

Tests whether the server can connect to a Microsoft SQL Server database, for example before creating a vault in it.

ServiceVault management MFiles.IRPCVaultsAdmin
gRPC method/MFiles.IRPCVaultsAdmin/TestConnectionToSQLDatabase
HTTP (mf-http-grpc)POST /grpc/v1/test-connection-to-sqldatabase
RequestTestConnectionToSQLDatabaseRequest
ResponseTestConnectionToSQLDatabaseResponse
Book and levelAdministration API, specialized
Kindadmin
SessionRequired: the session ID from LogIn in the mfiles-session-id-bin metadata.
Idempotentyes
Returns metadata structure versionno
Streamingnone (unary)

Remarks

Request: TestConnectionToSQLDatabaseRequest

Nested message fields are expanded to depth 3; follow a type link for deeper levels and for the type's own page.

FieldTypeDescription
sqldbSQLDatabaseThe database server, database name and credentials to test.
sqldb.engineDBEngineDatabase engine identification.Values: DBENGINE_NONE (0), DBENGINE_FIREBIRD (1), DBENGINE_MS_SQL_SERVER (2).
sqldb.server_namestringThe data source i.e. the database server name where the vault's database is residing. This is specified for data service DB engines only. It is empty or unset for embedded databases such as Firebird Embedded.
sqldb.database_namestringThe catalog i.e. the database name where the vault's data is residing. Allows the database name to differ from the vault display name. This is not specified in the Firebird case.
sqldb.system_admin_impersonationImpersonationImpersonation information for accessing the database engine for administrative purposes. This contains SYSDBA (System Database Administrator) user name and password. If unset, the default user name and password are used.
sqldb.system_admin_impersonation.typeImpersonationTypeImpersonation type.Values: IMPERSONATION_TYPE_SYSTEM_ACCOUNT (0), IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT (1), IMPERSONATION_TYPE_EXTERNAL_ACCOUNT (2).
sqldb.system_admin_impersonation.accountstringAccount name (e.g. DOMAIN\user).
sqldb.system_admin_impersonation.encrypted_passwordbytesEncrypted password.
sqldb.basic_user_impersonationImpersonationImpersonation information for accessing the database engine in basic user operations that do not modify the database structure. This contains DB user name and password. If unset, the default user name and password are used.
sqldb.basic_user_impersonation.typeImpersonationTypeImpersonation type.Values: IMPERSONATION_TYPE_SYSTEM_ACCOUNT (0), IMPERSONATION_TYPE_LOCAL_WINDOWS_ACCOUNT (1), IMPERSONATION_TYPE_EXTERNAL_ACCOUNT (2).
sqldb.basic_user_impersonation.accountstringAccount name (e.g. DOMAIN\user).
sqldb.basic_user_impersonation.encrypted_passwordbytesEncrypted password.
database_should_existboolTrue to also fail if the database does not exist. False accepts both an existing and a missing database (a new vault can use an existing empty database).

Response: TestConnectionToSQLDatabaseResponse

No fields.