mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-14 01:25:37 -05:00
Add resource deployment samples for (#17734)
This commit is contained in:
@@ -151,6 +151,10 @@
|
||||
{
|
||||
"name": "value-provider",
|
||||
"displayName": "%option-value-provider%"
|
||||
},
|
||||
{
|
||||
"name": "options",
|
||||
"displayName": "%option-options%"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -527,6 +531,74 @@
|
||||
},
|
||||
"requiredTools": [ ],
|
||||
"when": "sample-type=value-provider"
|
||||
},
|
||||
{
|
||||
"name": "sample-options",
|
||||
"notebookWizard": {
|
||||
"notebook": "./notebooks/empty-notebook.ipynb",
|
||||
"codeCellInsertionPosition": 1,
|
||||
"actionText": "%deploy.wizard.action%",
|
||||
"title": "%sample.options.title%",
|
||||
"name": "sample.options",
|
||||
"labelPosition": "left",
|
||||
"generateSummaryPage": false,
|
||||
"pages": [
|
||||
{
|
||||
"title": "%sample.options.title%",
|
||||
"sections": [
|
||||
{
|
||||
"title": "%sample.options.stringarray.title%",
|
||||
"collapsible": false,
|
||||
"fields": [
|
||||
{
|
||||
"label": "%sample.options.stringarray.label%",
|
||||
"description": "%sample.options.stringarray.description%",
|
||||
"type": "options",
|
||||
"variableName": "AZDATA_NB_VAR_SAMPLE_OPTIONS_STRINGARRAY",
|
||||
"defaultValue": "String option 2",
|
||||
"required": true,
|
||||
"options": [
|
||||
"String option 1",
|
||||
"String option 2",
|
||||
"%sample.options.value3.displayname%"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%sample.options.categoryvalue.title%",
|
||||
"collapsible": false,
|
||||
"fields": [
|
||||
{
|
||||
"label": "%sample.options.categoryvalue.label%",
|
||||
"description": "%sample.options.categoryvalue.description%",
|
||||
"type": "options",
|
||||
"variableName": "AZDATA_NB_VAR_SAMPLE_OPTIONS_CATEGORYVALUE",
|
||||
"defaultValue": "value2",
|
||||
"required": true,
|
||||
"options": [
|
||||
{
|
||||
"name": "value1",
|
||||
"displayName": "%sample.options.value1.displayname%"
|
||||
},
|
||||
{
|
||||
"name": "value2",
|
||||
"displayName": "%sample.options.value2.displayname%"
|
||||
},
|
||||
{
|
||||
"name": "value3",
|
||||
"displayName": "%sample.options.value3.displayname%"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"requiredTools": [ ],
|
||||
"when": "sample-type=options"
|
||||
}
|
||||
],
|
||||
"agreements": [
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"option-sample-type": "Sample Type",
|
||||
"option-wizard": "Wizard",
|
||||
"option-value-provider": "Value Provider",
|
||||
"option-options": "Options",
|
||||
|
||||
"resource.type.sample.display.name": "Sample Deployment Types",
|
||||
"resource.type.sample.description": "Provides samples of various deployment types and their options",
|
||||
@@ -34,6 +35,17 @@
|
||||
"sample.value-provider.multiple.title": "Multiple Trigger Value Provider Sample",
|
||||
"sample.value-provider.multiple.field.label": "Field using multiple trigger fields",
|
||||
|
||||
"sample.options.title": "Options Samples",
|
||||
"sample.options.stringarray.title": "Sample string array options",
|
||||
"sample.options.categoryvalue.title": "Sample CategoryValue array options",
|
||||
"sample.options.stringarray.label": "Option list provided by static string array",
|
||||
"sample.options.stringarray.description": "Note that you can use localized values if you want. (Including mixing both localized and unlocalized values but that isn't recommended)",
|
||||
"sample.options.categoryvalue.label": "Option list provided by static azdata.CategoryValue array",
|
||||
"sample.options.categoryvalue.description": "The variable will store the name property of the currently selected option",
|
||||
"sample.options.value1.displayname": "Value 1 Display Name",
|
||||
"sample.options.value2.displayname": "Value 2 Display Name",
|
||||
"sample.options.value3.displayname": "Value 3 Display Name",
|
||||
|
||||
"wizard.new.wizard.title": "Create Test controller",
|
||||
"wizard.cluster.environment.title": "What is your target existing Kubernetes cluster environment?",
|
||||
"wizard.select.cluster.title": "Select from installed existing Kubernetes clusters",
|
||||
|
||||
Reference in New Issue
Block a user