mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
@@ -240,6 +240,12 @@ export function getClusterEndpoints(serverInfo: azdata.ServerInfo): bdc.IEndpoin
|
||||
});
|
||||
}
|
||||
|
||||
export async function isBigDataCluster(connectionId: string): Promise<boolean> {
|
||||
const serverInfo = await azdata.connection.getServerInfo(connectionId);
|
||||
|
||||
return !!serverInfo?.options?.[constants.isBigDataClusterProperty];
|
||||
}
|
||||
|
||||
export type HostAndIp = { host: string, port: string };
|
||||
|
||||
export function getHostAndPortFromEndpoint(endpoint: string): HostAndIp {
|
||||
|
||||
Reference in New Issue
Block a user