mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Enabled SQL MIAA deployment in direct mode (#17874)
* Added customlocation, location, resource group, and connection mode to controllerinfo. Updated SQL MIAA create notebook with direct mode params. * Removed annotations from metadata in postgres test file. * Only parse the customlocation if the connection mode is direct. Co-authored-by: Candice Ye <canye@microsoft.com>
This commit is contained in:
@@ -32,6 +32,10 @@ export class ArcControllersOptionsSourceProvider implements rd.IOptionsSourcePro
|
||||
case 'namespace': return controller.info.namespace || '';
|
||||
case 'kubeConfig': return controller.info.kubeConfigFilePath;
|
||||
case 'clusterContext': return controller.info.kubeClusterContext;
|
||||
case 'resourceGroup': return controller.info.resourceGroup;
|
||||
case 'connectionMode': return controller.info.connectionMode;
|
||||
case 'location': return controller.info.location;
|
||||
case 'customLocation': return controller.info.customLocation;
|
||||
default: throw new Error(loc.variableValueFetchForUnsupportedVariable(variableName));
|
||||
}
|
||||
}
|
||||
@@ -41,6 +45,10 @@ export class ArcControllersOptionsSourceProvider implements rd.IOptionsSourcePro
|
||||
case 'namespace': return false;
|
||||
case 'kubeConfig': return false;
|
||||
case 'clusterContext': return false;
|
||||
case 'resourceGroup': return false;
|
||||
case 'connectionMode': return false;
|
||||
case 'location': return false;
|
||||
case 'customLocation': return false;
|
||||
default: throw new Error(loc.isPasswordFetchForUnsupportedVariable(variableName));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user