diff --git a/extensions/arc/notebooks/arcDeployment/deploy.arc.control.plane.ipynb b/extensions/arc/notebooks/arcDeployment/deploy.arc.control.plane.ipynb index c3e3e219ad..d26ee63a24 100644 --- a/extensions/arc/notebooks/arcDeployment/deploy.arc.control.plane.ipynb +++ b/extensions/arc/notebooks/arcDeployment/deploy.arc.control.plane.ipynb @@ -192,7 +192,7 @@ "os.environ[\"DOCKER_PASSWORD\"] = arc_docker_password\n", "if os.name == 'nt':\n", " print(f'If you don\\'t see output produced by azdata, you can run the following command in a terminal window to check the deployment status:\\n\\t {os.environ[\"AZDATA_NB_VAR_KUBECTL\"]} get pods -A')\n", - "run_command(f'azdata arc dc create --connectivity-mode {arc_data_controller_connectivity_mode} -n {arc_data_controller_name} -ns {arc_data_controller_namespace} -s {arc_subscription} -g {arc_resource_group} -l {arc_data_controller_display_location} -p {arc_profile}')\n", + "run_command(f'azdata arc dc create --connectivity-mode {arc_data_controller_connectivity_mode} -n {arc_data_controller_name} -ns {arc_data_controller_namespace} -s {arc_subscription} -g {arc_resource_group} -l {arc_data_controller_location} -p {arc_profile}')\n", "print(f'Azure Arc Data controller cluster: {arc_data_controller_name} created.') " ], "metadata": { @@ -247,4 +247,4 @@ "execution_count": null } ] -} +} \ No newline at end of file diff --git a/extensions/resource-deployment/src/ui/modelViewUtils.ts b/extensions/resource-deployment/src/ui/modelViewUtils.ts index c6c04fa638..2aba1e161b 100644 --- a/extensions/resource-deployment/src/ui/modelViewUtils.ts +++ b/extensions/resource-deployment/src/ui/modelViewUtils.ts @@ -1052,13 +1052,14 @@ async function processAzureLocationsField(context: AzureLocationsFieldContext): label: label.value!, variableName: context.fieldInfo.locationVariableName }); + context.onNewInputComponentCreated(context.fieldInfo.locationVariableName, { component: locationDropdown }); } if (context.fieldInfo.displayLocationVariableName) { context.fieldInfo.subFields!.push({ label: label.value!, variableName: context.fieldInfo.displayLocationVariableName }); - context.onNewInputComponentCreated(context.fieldInfo.displayLocationVariableName, { component: locationDropdown }); + context.onNewInputComponentCreated(context.fieldInfo.displayLocationVariableName, { component: locationDropdown, inputValueTransformer: (value => azurecoreApi.getRegionDisplayName(value)) }); } addLabelInputPairToContainer(context.view, context.components, label, locationDropdown, context.fieldInfo); return locationDropdown;