instance
Manage Microsoft SQL Server instances
Subcommands
list
, ls
List linked instancesshow
Show details for an instanceadd
Add a linked instanceedit
Edit linked instanceunlink
, rm
Unlink an instance
list, ls
dbvcli instance list
dbvcli instance ls
List linked instances
show
dbvcli instance show [--OPTIONS]
Show details for an instance
Option | Type | Description |
---|---|---|
| string, required | host of instance to show |
| string | name of instance to show |
| string | port of instance to show |
add
Add a linked instance
Option | Type | Description |
---|---|---|
| string, required | host running instance to add |
| string | password for authentication to instance |
| string | port number of instance to add |
| string | user name for authentication to instance |
| auth, required | authentication type, value should be either 'SQL' or 'WIN' |
edit
Edit linked instance
Option | Type | Description |
---|---|---|
| string, required | host of instance to edit |
| string | name of instance to edit |
| string | port of instance to edit |
| string | new value for port |
| auth | new value for authentication type |
| string | new value for username |
| string | new value for password |
|
| apply edits even if connection to instance fails |
unlink, rm
Unlink an instance
Option | Type | Description |
---|---|---|
| string, required | host of instance to unlink |
| string | name of instance to unlink |
| string | port of instance to unlink |