mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-27 17:23:21 -05:00
adding cpu count and ram to server info (#16109)
This commit is contained in:
8
src/sql/azdata.d.ts
vendored
8
src/sql/azdata.d.ts
vendored
@@ -503,6 +503,14 @@ declare module 'azdata' {
|
||||
* The Operating System version string of the machine running the instance.
|
||||
*/
|
||||
osVersion: string;
|
||||
/**
|
||||
* The CPU count of the host running the server.
|
||||
*/
|
||||
cpuCount: number;
|
||||
/**
|
||||
* The physical memory of the host running the server.
|
||||
*/
|
||||
physicalMemoryInMb: number;
|
||||
/**
|
||||
* options for all new server properties.
|
||||
*/
|
||||
|
||||
@@ -60,6 +60,8 @@ suite('Dashboard Properties Widget Tests', () => {
|
||||
serverEdition: undefined,
|
||||
azureVersion: undefined,
|
||||
osVersion: undefined,
|
||||
cpuCount: undefined,
|
||||
physicalMemoryInMb: undefined,
|
||||
options: {},
|
||||
};
|
||||
|
||||
|
||||
@@ -1332,7 +1332,9 @@ suite('SQL ConnectionManagementService tests', () => {
|
||||
azureVersion: 0,
|
||||
osVersion: 'test_version',
|
||||
options: { isBigDataCluster: 'test' },
|
||||
isCloud: true
|
||||
isCloud: true,
|
||||
cpuCount: 0,
|
||||
physicalMemoryInMb: 0
|
||||
};
|
||||
let uri: string = 'Editor Uri';
|
||||
let options: IConnectionCompletionOptions = {
|
||||
|
||||
Reference in New Issue
Block a user