{ "name": "sample-resource-deployment", "displayName": "%extension-displayName%", "description": "%extension-description%", "version": "0.0.1", "publisher": "Contoso", "preview": true, "license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/master/LICENSE.txt", "icon": "images/sqlserver.png", "aiKey": "AIF-37eefaf0-8022-4671-a3fb-64752724682e", "engines": { "vscode": "*", "azdata": ">=1.19.0" }, "repository": { "type": "git", "url": "https://github.com/Microsoft/azuredatastudio.git" }, "extensionDependencies": [ "microsoft.mssql", "microsoft.notebook", "microsoft.resource-deployment" ], "contributes": { "resourceDeploymentTypes": [ { "name": "test-wizard", "displayName": "%resource.type.wizard.display.name%", "description": "%resource.type.wizard.description%", "platforms": "*", "icon": { "light": "./images/book.svg", "dark": "./images/book_inverse.svg" }, "providers": [ { "notebookWizard": { "notebook": "%deployment-notebook-1%", "type": "new-arc-control-plane", "runNotebook": false, "codeCellInsertionPosition": 1, "actionText": "%deploy.wizard.action%", "title": "%wizard.new.wizard.title%", "name": "wizard.new.wizard", "labelPosition": "left", "generateSummaryPage": false, "pages": [ { "title": "%wizard.select.cluster.title%", "sections": [ { "fields": [ { "type": "kube_cluster_context_picker", "label": "%wizard.kube.cluster.context%", "required": true, "inputWidth": "350px", "variableName": "AZDATA_NB_VAR_CLUSTER_CONTEXT", "configFileVariableName": "AZDATA_NB_VAR_CONFIG_FILE" } ] } ] }, { "title": "%wizard.cluster.config.profile.title%", "sections": [ { "fields": [ { "type": "readonly_text", "label": "%wizard.project.details.description%", "labelWidth": "600px" }, { "type": "options", "label": "%wizard.cluster.config.profile%", "required": true, "variableName": "AZDATA_NB_VAR_PROFILE", "editable": false, "options": { "values":[ "aks-dev-test", "aks-dev-test-ha", "aks-dev-test", "aks-private-preview", "kubeadm-dev-test", "kubeadm-private-preview" ], "defaultValue": "aks-dev-test", "optionsType": "radio" } }, { "label": "%wizard.dropdown.options.field%", "variableName": "AZDATA_NB_VAR_DROPDOWN_OPTIONS", "type": "options", "options": { "values": ["1","2","3"], "defaultValue": "2", "optionsType": "dropdown" } } ] } ] }, { "title": "%wizard.data.controller.create.summary.title%", "isSummaryPage": true, "fieldHeight": "16px", "sections": [ { "title": "", "collapsible": false, "fieldWidth": "200px", "fieldHeight": "12px", "spaceBetweenFields": 0, "rows": [ { "items": [ { "items": [ { "label": "%wizard.summary.data.controller%", "type": "readonly_text", "enabled": true, "labelWidth": "185px" } ] }, { "items": [ { "label": "%wizard.summary.estimated.cost.per.month%", "type": "readonly_text", "enabled": true, "labelWidth": "190px", "labelCSSStyles": { "fontWeight": "Bold" } } ] } ] }, { "items": [ { "items": [ { "label": "%wizard.summary.by.contoso%", "type": "readonly_text", "labelWidth": "185px" } ] }, { "items": [ { "label": "%wizard.summary.free%", "type": "readonly_text", "enabled": true, "defaultValue": "", "labelWidth": "100px" } ] } ] }, { "items": [ { "items": [ { "label": "{0}", "type": "readonly_text", "enabled": true, "labelCSSStyles": { "color": "#0078D4" }, "labelWidth": "67px", "links": [ { "text": "%wizard.summary.terms.of.use%", "url": "https://aka.ms/eula-azdata-en" } ] }, { "label": "|", "type": "readonly_text", "enabled": true, "defaultValue": "", "labelWidth": "4px", "fieldWidth": "6px" }, { "label": "{0}", "type": "readonly_text", "enabled": true, "labelCSSStyles": { "color": "#0078D4" }, "labelWidth": "102px", "links": [ { "text": "%wizard.summary.terms.privacy.policy%", "url": "https://go.contoso.com/fwlink/?LinkId=853010" } ] } ] } ] } ] }, { "title": "%wizard.summary.terms%", "fieldHeight": "88px", "fields":[ { "label": "%wizard.summary.terms.description%", "type": "readonly_text", "enabled": true, "labelWidth": "750px" } ] }, { "title": "%wizard.summary.kubernetes%", "fields":[ { "label": "%wizard.summary.kube.config.file.path%", "type": "readonly_text", "isEvaluated": true, "defaultValue": "$(AZDATA_NB_VAR_CONFIG_FILE)" }, { "label": "%wizard.summary.cluster.context%", "type": "readonly_text", "isEvaluated": true, "defaultValue": "$(AZDATA_NB_VAR_CLUSTER_CONTEXT)" }, { "label": "%wizard.summary.profile%", "type": "readonly_text", "isEvaluated": true, "defaultValue": "$(AZDATA_NB_VAR_PROFILE)" } ] } ] } ] }, "requiredTools": [ { "name": "kubectl" } ], "when": true } ], "agreement": { "template": "%wizard.data.controller.agreement%", "links": [ { "text": "%contoso.agreement.privacy.statement%", "url": "https://go.contoso.com/fwlink/?LinkId=853010" }, { "text": "%wizard.agreement.contosoCmd.eula%", "url": "https://aka.ms/eula-contosoCmd-en" } ] } }, { "name": "x-data-service", "displayName": "%resource-type-display-name%", "description": "%resource-type-description%", "platforms": [ "darwin", "win32", "linux" ], "icon": { "light": "./images/book.svg", "dark": "./images/book_inverse.svg" }, "options": [ { "name": "edition", "displayName": "%option-display-name%", "values": [ { "name": "evaluation", "displayName": "%option-value-name-1%" }, { "name": "standard", "displayName": "%option-value-name-2%" } ] } ], "providers": [ { "dialog": { "notebook": "%deployment-notebook-1%", "title": "%dialog-title-1%", "name": "dialog1", "tabs": [ { "title": "", "sections": [ { "title": "", "fields": [ { "label": "%text-field%", "variableName": "AZDATA_NB_VAR_TEXT", "type": "text", "defaultValue": "abc", "required": true }, { "label": "%password-field%", "variableName": "AZDATA_NB_VAR_PASSWORD", "type": "password", "confirmationRequired": true, "confirmationLabel": "%confirm-password%", "defaultValue": "", "required": true }, { "type": "kube_cluster_context_picker", "label": "%kube.cluster.context%", "required": true, "inputWidth": "350px", "variableName": "AZDATA_NB_VAR_CLUSTER_CONTEXT", "configFileVariableName": "AZDATA_NB_VAR_CONFIG_FILE" }, { "label": "%number-field%", "variableName": "AZDATA_NB_VAR_NUMBER", "type": "number", "defaultValue": "100", "required": true, "min": 1, "max": 65535 } ] } ] } ] }, "requiredTools": [ { "name": "kubectl" } ], "when": "edition=evaluation" }, { "dialog": { "notebook": "%deployment-notebook-2%", "title": "%dialog-title-2%", "name": "dialog2", "tabs": [ { "title": "", "sections": [ { "title": "", "fields": [ { "label": "%text-field%", "variableName": "AZDATA_NB_VAR_TEXT", "type": "text", "defaultValue": "abc", "required": true }, { "label": "%password-field%", "variableName": "AZDATA_NB_VAR_PASSWORD", "type": "password", "confirmationRequired": true, "confirmationLabel": "%confirm-password%", "defaultValue": "", "required": true }, { "label": "%number-field%", "variableName": "AZDATA_NB_VAR_NUMBER", "type": "number", "defaultValue": "100", "required": true, "min": 1, "max": 65535 } ] } ] } ] }, "requiredTools": [ { "name": "docker" } ], "when": "edition=standard" } ], "agreement": { "template": "%agreement%", "links": [ { "text": "%agreement-1-name%", "url": "https://www.contoso.com" }, { "text": "%agreement-2-name%", "url": "https://portal.azure.com" } ] } } ] } }