{ "name": "asde-deployment", "displayName": "%extension-displayName%", "description": "%extension-description%", "version": "0.4.2", "publisher": "Microsoft", "preview": true, "license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt", "icon": "images/extension.png", "aiKey": "AIF-444c3af9-8e69-4462-ab49-4191e6ad1916", "engines": { "vscode": "*", "azdata": ">=1.25.0" }, "repository": { "type": "git", "url": "https://github.com/Microsoft/azuredatastudio.git" }, "forceReload": true, "contributes": { "resourceDeploymentTypes": [ { "name": "sql-edge", "displayName": "%resource-type-sql-edge-display-name%", "description": "%resource-type-sql-edge-description%", "platforms": "*", "icon": "./images/sqldb_edge.svg", "tags": [ "Hybrid", "SQL Server" ], "options": [ { "name": "type", "displayName": "%sql-edge-type-display-name%", "values": [ { "name": "local", "displayName": "%sql-edge-local-display-name%" }, { "name": "remote", "displayName": "%sql-edge-remote-display-name%" }, { "name": "azure-create-new-password-auth", "displayName": "%sql-edge-azure-display-name%" }, { "name": "azure-create-new-sshkey-auth", "displayName": "%sql-edge-azure-sshkey-display-name%" }, { "name": "azure-single-device", "displayName": "%sql-edge-azure-single-device-display-name%" }, { "name": "azure-multi-device", "displayName": "%sql-edge-azure-multi-device-display-name%" } ] } ], "providers": [ { "name": "sql-edge_local", "dialog": { "notebook": "./notebooks/edge/deploy-sql-edge-local.ipynb", "title": "%sql-edge-local-title%", "name": "sql-edge-local-dialog", "tabs": [ { "title": "", "sections": [ { "title": "", "fields": [ { "label": "%docker-container-name-field%", "variableName": "AZDATA_NB_VAR_DOCKER_CONTAINER_NAME", "type": "datetime_text", "defaultValue": "SQLEDGE-", "required": true }, { "label": "%docker-sql-password-field%", "variableName": "AZDATA_NB_VAR_SA_PASSWORD", "type": "sql_password", "userName": "sa", "confirmationRequired": true, "confirmationLabel": "%docker-confirm-sql-password-field%", "defaultValue": "", "required": true }, { "label": "%docker-sql-port-field%", "variableName": "AZDATA_NB_VAR_DOCKER_PORT", "type": "number", "defaultValue": "1433", "required": true, "min": 1, "max": 65535 } ] }, { "title": "%docker-settings-section-title%", "collapsible": true, "collapsed": true, "fields": [ { "label": "%docker-registry-field%", "variableName": "AZDATA_NB_VAR_DOCKER_REGISTRY", "type": "text", "defaultValue": "mcr.microsoft.com", "required": true }, { "label": "%docker-repository-field%", "variableName": "AZDATA_NB_VAR_DOCKER_REPOSITORY", "type": "text", "defaultValue": "azure-sql-edge", "required": true }, { "label": "%docker-imagetag-field%", "variableName": "AZDATA_NB_VAR_DOCKER_IMAGETAG", "type": "text", "defaultValue": "latest", "required": true }, { "label": "%docker-username-field%", "variableName": "AZDATA_NB_VAR_DOCKER_USERNAME", "type": "text", "defaultValue": "", "required": false }, { "label": "%docker-password-field%", "variableName": "AZDATA_NB_VAR_DOCKER_PASSWORD", "type": "password", "defaultValue": "", "required": false } ] } ] } ] }, "requiredTools": [ { "name": "docker" } ], "when": "type=local" }, { "name": "sql-edge_remote", "dialog": { "notebook": "./notebooks/edge/deploy-sql-edge-remote.ipynb", "title": "%sql-edge-remote-title%", "name": "sql-edge-remote-dialog", "tabs": [ { "title": "", "sections": [ { "title": "", "fields": [ { "label": "%docker-container-name-field%", "variableName": "AZDATA_NB_VAR_DOCKER_CONTAINER_NAME", "type": "datetime_text", "defaultValue": "SQLEDGE-", "required": true }, { "label": "%docker-sql-password-field%", "variableName": "AZDATA_NB_VAR_SA_PASSWORD", "type": "sql_password", "userName": "sa", "confirmationRequired": true, "confirmationLabel": "%docker-confirm-sql-password-field%", "defaultValue": "", "required": true }, { "label": "%docker-sql-port-field%", "variableName": "AZDATA_NB_VAR_DOCKER_PORT", "type": "number", "defaultValue": "1433", "required": true, "min": 1, "max": 65535 } ] }, { "title": "%remote-info-section-title%", "collapsible": true, "collapsed": false, "fields": [ { "label": "%edge-remote-target-field%", "variableName": "AZDATA_NB_VAR_SSH_TARGET", "type": "text", "defaultValue": "", "required": true }, { "label": "%edge-remote-username-field%", "variableName": "AZDATA_NB_VAR_SSH_USERNAME", "type": "text", "defaultValue": "", "required": true }, { "label": "%edge-remote-password-field%", "variableName": "AZDATA_NB_VAR_SSH_PASSWORD", "type": "password", "defaultValue": "", "required": true } ] }, { "title": "%docker-settings-section-title%", "collapsible": true, "collapsed": true, "fields": [ { "label": "%docker-registry-field%", "variableName": "AZDATA_NB_VAR_DOCKER_REGISTRY", "type": "text", "defaultValue": "mcr.microsoft.com", "required": true }, { "label": "%docker-repository-field%", "variableName": "AZDATA_NB_VAR_DOCKER_REPOSITORY", "type": "text", "defaultValue": "azure-sql-edge", "required": true }, { "label": "%docker-imagetag-field%", "variableName": "AZDATA_NB_VAR_DOCKER_IMAGETAG", "type": "text", "defaultValue": "latest", "required": true }, { "label": "%docker-username-field%", "variableName": "AZDATA_NB_VAR_DOCKER_USERNAME", "type": "text", "defaultValue": "", "required": false }, { "label": "%docker-password-field%", "variableName": "AZDATA_NB_VAR_DOCKER_PASSWORD", "type": "password", "defaultValue": "", "required": false } ] } ] } ] }, "requiredTools": [], "when": "type=remote" }, { "name": "sql-edge-azure-create-new-password-auth", "dialog": { "notebook": "./notebooks/edge/deploy-sql-edge-azure.ipynb", "title": "%sql-edge-azure-title%", "name": "sql-edge-azure-dialog", "tabs": [ { "title": "", "sections": [ { "title": "%azure-info-section-title%", "collapsible": true, "fields": [ { "subscriptionVariableName": "AZDATA_NB_VAR_ASDE_SUBSCRIPTIONID", "resourceGroupVariableName": "AZDATA_NB_VAR_ASDE_RESOURCEGROUP", "type": "azure_account", "required": true, "allowNewResourceGroup": true, "newResourceGroupFlagVariableName": "AZDATA_NB_VAR_ASDE_NEW_RESOURCEGROUP", "newResourceGroupNameVariableName": "AZDATA_NB_VAR_ASDE_NEW_RESOURCEGROUP_NAME" }, { "type": "azure_locations", "label": "%azure_location%", "defaultValue": "westus", "required": true, "locationVariableName": "AZDATA_NB_VAR_ASDE_AZURE_LOCATION", "locations": [ "australiaeast", "australiasoutheast", "brazilsouth", "canadacentral", "canadaeast", "centralindia", "centralus", "eastasia", "eastus", "eastus2", "francecentral", "japaneast", "japanwest", "koreacentral", "koreasouth", "northcentralus", "northeurope", "southcentralus", "southindia", "southeastasia", "uksouth", "ukwest", "westcentralus", "westeurope", "westus", "westus2" ] }, { "label": "%vm_admin%", "variableName": "AZDATA_NB_VAR_ASDE_VM_ADMIN", "type": "text", "required": true }, { "label": "%vm_password%", "variableName": "AZDATA_NB_VAR_ASDE_VM_PASSWORD", "type": "password", "confirmationRequired": true, "confirmationLabel": "%vm_password_confirm%", "required": true, "validations": [ { "type": "regex_match", "regex": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[\\W_])[A-Za-z\\d\\W_]{12,123}$", "description": "%vm_password_validation_error_message%" } ] } ] }, { "title": "%sqlserver-info-section-title%", "collapsible": true, "fields": [ { "label": "%docker-sql-password-field%", "variableName": "AZDATA_NB_VAR_SA_PASSWORD", "type": "sql_password", "userName": "sa", "confirmationRequired": true, "confirmationLabel": "%docker-confirm-sql-password-field%", "defaultValue": "", "required": true }, { "label": "%docker-sql-port-field%", "variableName": "AZDATA_NB_VAR_ASDE_SQL_PORT", "type": "number", "defaultValue": 31433, "required": true }, { "label": "%package_path%", "description": "%package_path_description%", "variableName": "AZDATA_NB_VAR_ASDE_PACKAGE_PATH", "type": "file_picker", "required": false, "filter": { "displayName": "%package-files%", "fileTypes": [ "zip", "bacpac", "dacpac" ] } } ] } ] } ] }, "requiredTools": [ { "name": "azure-cli", "version": "2.13.0" } ], "when": "type=azure-create-new-password-auth" }, { "name": "sql-edge-azure-create-new-sshkey-auth", "dialog": { "notebook": "./notebooks/edge/deploy-sql-edge-azure-sshkey.ipynb", "title": "%sql-edge-azure-title%", "name": "sql-edge-azure-dialog", "tabs": [ { "title": "", "sections": [ { "title": "%azure-info-section-title%", "collapsible": true, "fields": [ { "subscriptionVariableName": "AZDATA_NB_VAR_ASDE_SUBSCRIPTIONID", "resourceGroupVariableName": "AZDATA_NB_VAR_ASDE_RESOURCEGROUP", "type": "azure_account", "required": true, "allowNewResourceGroup": true, "newResourceGroupFlagVariableName": "AZDATA_NB_VAR_ASDE_NEW_RESOURCEGROUP", "newResourceGroupNameVariableName": "AZDATA_NB_VAR_ASDE_NEW_RESOURCEGROUP_NAME" }, { "type": "azure_locations", "label": "%azure_location%", "defaultValue": "westus", "required": true, "locationVariableName": "AZDATA_NB_VAR_ASDE_AZURE_LOCATION", "locations": [ "australiaeast", "australiasoutheast", "brazilsouth", "canadacentral", "canadaeast", "centralindia", "centralus", "eastasia", "eastus", "eastus2", "francecentral", "japaneast", "japanwest", "koreacentral", "koreasouth", "northcentralus", "northeurope", "southcentralus", "southindia", "southeastasia", "uksouth", "ukwest", "westcentralus", "westeurope", "westus", "westus2" ] }, { "label": "%vm_admin%", "variableName": "AZDATA_NB_VAR_ASDE_VM_ADMIN", "type": "text", "required": true }, { "label": "%vm_ssh_public_key%", "variableName": "AZDATA_NB_VAR_ASDE_VM_PASSWORD", "type": "text", "required": true } ] }, { "title": "%sqlserver-info-section-title%", "collapsible": true, "fields": [ { "label": "%docker-sql-password-field%", "variableName": "AZDATA_NB_VAR_SA_PASSWORD", "type": "sql_password", "userName": "sa", "confirmationRequired": true, "confirmationLabel": "%docker-confirm-sql-password-field%", "defaultValue": "", "required": true }, { "label": "%docker-sql-port-field%", "variableName": "AZDATA_NB_VAR_ASDE_SQL_PORT", "type": "number", "defaultValue": 31433, "required": true }, { "label": "%package_path%", "description": "%package_path_description%", "variableName": "AZDATA_NB_VAR_ASDE_PACKAGE_PATH", "type": "file_picker", "required": false, "filter": { "displayName": "%package-files%", "fileTypes": [ "zip", "bacpac", "dacpac" ] } } ] } ] } ] }, "requiredTools": [ { "name": "azure-cli", "version": "2.13.0" } ], "when": "type=azure-create-new-sshkey-auth" }, { "name": "sql-edge_azure-single-device", "dialog": { "notebook": "./notebooks/edge/deploy-sql-edge-single-device.ipynb", "title": "%sql-edge-azure-single-device-title%", "name": "sql-edge-azure-single-device-dialog", "tabs": [ { "title": "", "sections": [ { "title": "%azure-info-section-title%", "collapsible": true, "fields": [ { "type": "azure_account", "subscriptionVariableName": "AZDATA_NB_VAR_ASDE_SUBSCRIPTIONID", "resourceGroupVariableName": "AZDATA_NB_VAR_ASDE_RESOURCEGROUP", "required": true }, { "label": "%iot-hub-name%", "variableName": "AZDATA_NB_VAR_ASDE_HUBNAME", "type": "text", "required": true }, { "label": "%device-id%", "variableName": "AZDATA_NB_VAR_ASDE_DEVICE_ID", "type": "text", "required": true }, { "label": "%device-ip-address%", "variableName": "AZDATA_NB_VAR_ASDE_DEVICE_IP_ADDRESS", "type": "text", "description": "%device-ip-address-description%", "required": false } ] }, { "title": "%sqlserver-info-section-title%", "collapsible": true, "fields": [ { "label": "%docker-sql-password-field%", "variableName": "AZDATA_NB_VAR_SA_PASSWORD", "type": "sql_password", "userName": "sa", "confirmationRequired": true, "confirmationLabel": "%docker-confirm-sql-password-field%", "defaultValue": "", "required": true }, { "label": "%docker-sql-port-field%", "variableName": "AZDATA_NB_VAR_ASDE_SQL_PORT", "type": "number", "defaultValue": 31433, "required": true }, { "label": "%package_path%", "description": "%package_path_description%", "variableName": "AZDATA_NB_VAR_ASDE_PACKAGE_PATH", "type": "file_picker", "required": false, "filter": { "displayName": "%package-files%", "fileTypes": [ "zip", "bacpac", "dacpac" ] } } ] } ] } ] }, "requiredTools": [ { "name": "azure-cli", "version": "2.13.0" } ], "when": "type=azure-single-device" }, { "name": "sql-edge_azure-multi-device", "dialog": { "notebook": "./notebooks/edge/deploy-sql-edge-multi-device.ipynb", "title": "%sql-edge-azure-multi-device-title%", "name": "sql-edge-azure-multi-device-dialog", "tabs": [ { "title": "", "sections": [ { "title": "%azure-info-section-title%", "collapsible": true, "fields": [ { "type": "azure_account", "subscriptionVariableName": "AZDATA_NB_VAR_ASDE_SUBSCRIPTIONID", "resourceGroupVariableName": "AZDATA_NB_VAR_ASDE_RESOURCEGROUP", "required": true }, { "label": "%iot-hub-name%", "variableName": "AZDATA_NB_VAR_ASDE_HUBNAME", "type": "text", "required": true }, { "label": "%device-target-condition%", "variableName": "AZDATA_NB_VAR_ASDE_TARGET_CONDITION", "type": "text", "required": true }, { "type": "readonly_text", "label": "{0}", "links": [ { "text": "%device-target-condition-learn-more%", "url": "https://docs.microsoft.com/azure/iot-edge/module-deployment-monitoring#target-condition" } ] } ] }, { "title": "%sqlserver-info-section-title%", "collapsible": true, "fields": [ { "label": "%docker-sql-password-field%", "variableName": "AZDATA_NB_VAR_SA_PASSWORD", "type": "sql_password", "userName": "sa", "confirmationRequired": true, "confirmationLabel": "%docker-confirm-sql-password-field%", "defaultValue": "", "required": true }, { "label": "%docker-sql-port-field%", "variableName": "AZDATA_NB_VAR_ASDE_SQL_PORT", "type": "number", "defaultValue": 31433, "required": true }, { "label": "%package_path%", "description": "%package_path_description%", "variableName": "AZDATA_NB_VAR_ASDE_PACKAGE_PATH", "type": "file_picker", "required": false, "filter": { "displayName": "%package-files%", "fileTypes": [ "zip", "bacpac", "dacpac" ] } } ] } ] } ] }, "requiredTools": [ { "name": "azure-cli", "version": "2.13.0" } ], "when": "type=azure-multi-device" } ], "agreements": [ { "template": "%edge-agreement%", "links": [ { "text": "%microsoft-privacy-statement%", "url": "https://go.microsoft.com/fwlink/?LinkId=853010" }, { "text": "%edge-eula%", "url": "https://go.microsoft.com/fwlink/?linkid=2128283" } ], "when": "true" } ] } ] }, "__metadata": { "id": "76", "publisherDisplayName": "Microsoft", "publisherId": "Microsoft" } }