Checks whether a database exist on an SQL Instance and Host.
def _validate_sql_db(db_name, sql_instance, sql_host, timeout=30)
Name
Type
Description
Choices
db_name
str
The name of the database.
sql_instance
The SQL instance.
sql_host
The SQL server hostname.
Default
timeout
int
The number of seconds to wait to establish a connection with the Rubrik cluster before returning a timeout error.
30
Return Value
The ID of the MSSQL database.
Last updated 5 years ago