mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
[Port] Sync up arc and azdata extensions with main (#12810)
* Sync up arc and azdata extensions with main * capture 'this' to use retrieveVariable as callback (#12828) * capture 'this' to use retrieveVariable as callback * remove change not needed for #12082 Co-authored-by: Arvind Ranasaria <ranasaria@outlook.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "arc",
|
||||
"displayName": "%arc.displayName%",
|
||||
"description": "%arc.description%",
|
||||
"version": "0.3.5",
|
||||
"version": "0.5.1",
|
||||
"publisher": "Microsoft",
|
||||
"preview": true,
|
||||
"license": "https://raw.githubusercontent.com/Microsoft/azuredatastudio/main/LICENSE.txt",
|
||||
@@ -14,6 +14,7 @@
|
||||
"activationEvents": [
|
||||
"onCommand:arc.connectToController",
|
||||
"onCommand:arc.createController",
|
||||
"onCommand:azdata.resource.deploy",
|
||||
"onView:azureArc"
|
||||
],
|
||||
"extensionDependencies": [
|
||||
@@ -97,7 +98,7 @@
|
||||
"view/item/context": [
|
||||
{
|
||||
"command": "arc.openDashboard",
|
||||
"when": "view == azureArc && viewItem != postgresInstances",
|
||||
"when": "view == azureArc && viewItem",
|
||||
"group": "navigation@1"
|
||||
},
|
||||
{
|
||||
@@ -143,7 +144,7 @@
|
||||
"providers": [
|
||||
{
|
||||
"notebookWizard": {
|
||||
"notebook": "./notebooks/arcDeployment/deploy.arc.control.plane.ipynb",
|
||||
"notebook": "./notebooks/arcDeployment/deploy.arc.data.controller.ipynb",
|
||||
"type": "new-arc-control-plane",
|
||||
"doneAction": {
|
||||
"label": "%deploy.done.action%"
|
||||
@@ -158,52 +159,30 @@
|
||||
"generateSummaryPage": false,
|
||||
"pages": [
|
||||
{
|
||||
"title": "%arc.control.plane.select.cluster.title%",
|
||||
"title": "%arc.data.controller.select.cluster.title%",
|
||||
"sections": [
|
||||
{
|
||||
"fields": [
|
||||
{
|
||||
"type": "kube_cluster_context_picker",
|
||||
"label": "%arc.control.plane.kube.cluster.context%",
|
||||
"label": "%arc.data.controller.kube.cluster.context%",
|
||||
"required": true,
|
||||
"inputWidth": "350px",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_CLUSTER_CONTEXT",
|
||||
"configFileVariableName": "AZDATA_NB_VAR_ARC_CONFIG_FILE"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.container.registry.title%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.control.plane.container.registry.name%",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_DOCKER_USERNAME",
|
||||
"type": "text",
|
||||
"required": true,
|
||||
"defaultValue": "22cda7bb-2eb1-419e-a742-8710c313fe79",
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.container.registry.password%",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_DOCKER_PASSWORD",
|
||||
"type": "password",
|
||||
"userName": "docker",
|
||||
"confirmationRequired": false,
|
||||
"defaultValue": "",
|
||||
"required": true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.cluster.config.profile.title%",
|
||||
"title": "%arc.data.controller.cluster.config.profile.title%",
|
||||
"sections": [
|
||||
{
|
||||
"fields": [
|
||||
{
|
||||
"type": "options",
|
||||
"label": "%arc.control.plane.cluster.config.profile%",
|
||||
"label": "%arc.data.controller.cluster.config.profile%",
|
||||
"required": true,
|
||||
"variableName": "AZDATA_NB_VAR_ARC_PROFILE",
|
||||
"editable": false,
|
||||
@@ -220,14 +199,14 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.data.controller.create.title%",
|
||||
"title": "%arc.data.controller.data.controller.create.title%",
|
||||
"sections": [
|
||||
{
|
||||
"title": "%arc.control.plane.project.details.title%",
|
||||
"title": "%arc.data.controller.project.details.title%",
|
||||
"fields": [
|
||||
{
|
||||
"type": "readonly_text",
|
||||
"label": "%arc.control.plane.project.details.description%",
|
||||
"label": "%arc.data.controller.project.details.description%",
|
||||
"labelWidth": "600px"
|
||||
},
|
||||
{
|
||||
@@ -240,30 +219,30 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.data.controller.details.title%",
|
||||
"title": "%arc.data.controller.data.controller.details.title%",
|
||||
"fields": [
|
||||
{
|
||||
"type": "readonly_text",
|
||||
"label": "%arc.control.plane.data.controller.details.description%",
|
||||
"label": "%arc.data.controller.data.controller.details.description%",
|
||||
"labelWidth": "600px"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "%arc.control.plane.arc.data.controller.namespace%",
|
||||
"label": "%arc.data.controller.arc.data.controller.namespace%",
|
||||
"textValidationRequired": true,
|
||||
"textValidationRegex": "^[a-z0-9]([-a-z0-9]{0,11}[a-z0-9])?$",
|
||||
"textValidationDescription": "%arc.control.plane.arc.data.controller.namespace.validation.description%",
|
||||
"textValidationRegex": "^[a-z0-9]([-a-z0-9]{0,61}[a-z0-9])?$",
|
||||
"textValidationDescription": "%arc.data.controller.arc.data.controller.namespace.validation.description%",
|
||||
"defaultValue": "arc",
|
||||
"required": true,
|
||||
"variableName": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_NAMESPACE"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "%arc.control.plane.arc.data.controller.name%",
|
||||
"label": "%arc.data.controller.arc.data.controller.name%",
|
||||
"textValidationRequired": true,
|
||||
"textValidationRegex": "^[a-z0-9]([-a-z0-9]{0,11}[a-z0-9])?$",
|
||||
"textValidationDescription": "%arc.control.plane.arc.data.controller.name.validation.description%",
|
||||
"defaultValue": "arc-cp1",
|
||||
"textValidationRegex": "^[a-z0-9]([-.a-z0-9]{0,251}[a-z0-9])?$",
|
||||
"textValidationDescription": "%arc.data.controller.arc.data.controller.name.validation.description%",
|
||||
"defaultValue": "arc-dc",
|
||||
"required": true,
|
||||
"variableName": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_NAME"
|
||||
},
|
||||
@@ -276,42 +255,33 @@
|
||||
},
|
||||
{
|
||||
"type": "azure_locations",
|
||||
"label": "%arc.control.plane.arc.data.controller.location%",
|
||||
"label": "%arc.data.controller.arc.data.controller.location%",
|
||||
"defaultValue": "eastus",
|
||||
"required": true,
|
||||
"locationVariableName": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_LOCATION",
|
||||
"displayLocationVariableName": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_DISPLAY_LOCATION",
|
||||
"locations": [
|
||||
"australiaeast",
|
||||
"centralus",
|
||||
"eastus",
|
||||
"eastus2",
|
||||
"centralus",
|
||||
"westus2",
|
||||
"francecentral",
|
||||
"japaneast",
|
||||
"koreacentral",
|
||||
"northeurope",
|
||||
"southeastasia",
|
||||
"westeurope"
|
||||
"uksouth",
|
||||
"westeurope",
|
||||
"westus2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "options",
|
||||
"label": "%arc.control.plane.arc.data.controller.connectivity.mode%",
|
||||
"options": {
|
||||
"values": [
|
||||
"Indirect",
|
||||
"Direct"
|
||||
],
|
||||
"defaultValue": "Indirect",
|
||||
"optionsType": "radio"
|
||||
},
|
||||
"enabled": false,
|
||||
"required": true,
|
||||
"variableName": "AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CONNECTIVITY_MODE"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.admin.account.title%",
|
||||
"title": "%arc.data.controller.admin.account.title%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.control.plane.admin.account.name%",
|
||||
"label": "%arc.data.controller.admin.account.name%",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_ADMIN_USERNAME",
|
||||
"type": "text",
|
||||
"required": true,
|
||||
@@ -319,12 +289,12 @@
|
||||
"enabled": true
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.admin.account.password%",
|
||||
"label": "%arc.data.controller.admin.account.password%",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_ADMIN_PASSWORD",
|
||||
"type": "sql_password",
|
||||
"userName": "arcadmin",
|
||||
"confirmationRequired": true,
|
||||
"confirmationLabel": "%arc.control.plane.admin.account.confirm.password%",
|
||||
"confirmationLabel": "%arc.data.controller.admin.account.confirm.password%",
|
||||
"defaultValue": "",
|
||||
"required": true
|
||||
}
|
||||
@@ -333,7 +303,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.data.controller.create.summary.title%",
|
||||
"title": "%arc.data.controller.data.controller.create.summary.title%",
|
||||
"isSummaryPage": true,
|
||||
"fieldHeight": "16px",
|
||||
"sections": [
|
||||
@@ -349,7 +319,7 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"label": "%arc.control.plane.summary.arc.data.controller%",
|
||||
"label": "%arc.data.controller.summary.arc.data.controller%",
|
||||
"type": "readonly_text",
|
||||
"enabled": true,
|
||||
"labelWidth": "185px"
|
||||
@@ -359,7 +329,7 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"label": "%arc.control.plane.summary.estimated.cost.per.month%",
|
||||
"label": "%arc.data.controller.summary.estimated.cost.per.month%",
|
||||
"type": "readonly_text",
|
||||
"enabled": true,
|
||||
"labelWidth": "190px",
|
||||
@@ -376,7 +346,7 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"label": "%arc.control.plane.summary.arc.by.microsoft%",
|
||||
"label": "%arc.data.controller.summary.arc.by.microsoft%",
|
||||
"type": "readonly_text",
|
||||
"labelWidth": "185px"
|
||||
}
|
||||
@@ -385,7 +355,7 @@
|
||||
{
|
||||
"items": [
|
||||
{
|
||||
"label": "%arc.control.plane.summary.free%",
|
||||
"label": "%arc.data.controller.summary.free%",
|
||||
"type": "readonly_text",
|
||||
"enabled": true,
|
||||
"defaultValue": "",
|
||||
@@ -403,10 +373,10 @@
|
||||
"label": "{0}",
|
||||
"type": "readonly_text",
|
||||
"enabled": true,
|
||||
"labelWidth": "67px",
|
||||
"labelWidth": "69px",
|
||||
"links": [
|
||||
{
|
||||
"text": "%arc.control.plane.summary.arc.terms.of.use%",
|
||||
"text": "%arc.data.controller.summary.arc.terms.of.use%",
|
||||
"url": "https://go.microsoft.com/fwlink/?linkid=2045708"
|
||||
}
|
||||
]
|
||||
@@ -423,10 +393,10 @@
|
||||
"label": "{0}",
|
||||
"type": "readonly_text",
|
||||
"enabled": true,
|
||||
"labelWidth": "102px",
|
||||
"labelWidth": "100px",
|
||||
"links": [
|
||||
{
|
||||
"text": "%arc.control.plane.summary.arc.terms.privacy.policy%",
|
||||
"text": "%arc.data.controller.summary.arc.terms.privacy.policy%",
|
||||
"url": "https://go.microsoft.com/fwlink/?linkid=512132"
|
||||
}
|
||||
]
|
||||
@@ -438,17 +408,17 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.summary.terms%",
|
||||
"title": "%arc.data.controller.summary.terms%",
|
||||
"fieldHeight": "88px",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.control.plane.summary.terms.description%",
|
||||
"label": "%arc.data.controller.summary.terms.description%",
|
||||
"type": "readonly_text",
|
||||
"enabled": true,
|
||||
"labelWidth": "750px",
|
||||
"links": [
|
||||
{
|
||||
"text": "%arc.control.plane.summary.terms.link.text%",
|
||||
"text": "%arc.data.controller.summary.terms.link.text%",
|
||||
"url": "https://go.microsoft.com/fwlink/?linkid=2045624"
|
||||
}
|
||||
]
|
||||
@@ -456,76 +426,64 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.summary.kubernetes%",
|
||||
"title": "%arc.data.controller.summary.kubernetes%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.control.plane.summary.kube.config.file.path%",
|
||||
"label": "%arc.data.controller.summary.kube.config.file.path%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_CONFIG_FILE)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.cluster.context%",
|
||||
"label": "%arc.data.controller.summary.cluster.context%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_CLUSTER_CONTEXT)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.profile%",
|
||||
"label": "%arc.data.controller.summary.profile%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_PROFILE)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.username%",
|
||||
"label": "%arc.data.controller.summary.username%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_ADMIN_USERNAME)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.docker.username%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_DOCKER_USERNAME)"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.control.plane.summary.azure%",
|
||||
"title": "%arc.data.controller.summary.azure%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.control.plane.summary.data.controller.namespace%",
|
||||
"label": "%arc.data.controller.summary.data.controller.namespace%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_DATA_CONTROLLER_NAMESPACE)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.data.controller.name%",
|
||||
"label": "%arc.data.controller.summary.data.controller.name%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_DATA_CONTROLLER_NAME)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.data.controller.connectivity.mode%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_DATA_CONTROLLER_CONNECTIVITY_MODE)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.subscription%",
|
||||
"label": "%arc.data.controller.summary.subscription%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_DISPLAY_SUBSCRIPTION)",
|
||||
"inputWidth": "600"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.resource.group%",
|
||||
"label": "%arc.data.controller.summary.resource.group%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_RESOURCE_GROUP)"
|
||||
},
|
||||
{
|
||||
"label": "%arc.control.plane.summary.location%",
|
||||
"label": "%arc.data.controller.summary.location%",
|
||||
"type": "readonly_text",
|
||||
"isEvaluated": true,
|
||||
"defaultValue": "$(AZDATA_NB_VAR_ARC_DATA_CONTROLLER_DISPLAY_LOCATION)"
|
||||
@@ -542,7 +500,7 @@
|
||||
},
|
||||
{
|
||||
"name": "azdata",
|
||||
"version": "20.1.0"
|
||||
"version": "20.2.0"
|
||||
}
|
||||
],
|
||||
"when": true
|
||||
@@ -561,7 +519,7 @@
|
||||
"tags": ["Hybrid", "SQL Server"],
|
||||
"providers": [
|
||||
{
|
||||
"dialog": {
|
||||
"notebookWizard": {
|
||||
"notebook": "./notebooks/arcDeployment/deploy.sql.existing.arc.ipynb",
|
||||
"doneAction": {
|
||||
"label": "%deploy.done.action%"
|
||||
@@ -576,14 +534,16 @@
|
||||
"generateSummaryPage": false,
|
||||
"pages": [
|
||||
{
|
||||
"title": "",
|
||||
"title": "%arc.sql.wizard.page1.title%",
|
||||
"labelWidth": "175px",
|
||||
"inputWidth": "280px",
|
||||
"sections": [
|
||||
{
|
||||
"title": "%arc.sql.settings.section.title%",
|
||||
"title": "%arc.sql.connection.settings.section.title%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.controller%",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_CONTROLLER",
|
||||
"variableName": "",
|
||||
"type": "options",
|
||||
"editable": false,
|
||||
"required": true,
|
||||
@@ -597,23 +557,28 @@
|
||||
}
|
||||
},
|
||||
"optionsType": "dropdown"
|
||||
},
|
||||
"labelWidth": "100%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "%arc.sql.instance.name%",
|
||||
"variableName": "AZDATA_NB_VAR_SQL_INSTANCE_NAME",
|
||||
"type": "text",
|
||||
"defaultValue": "sqlinstance1",
|
||||
"description": "%arc.sql.invalid.instance.name%",
|
||||
"required": true,
|
||||
"labelWidth": "100%"
|
||||
"textValidationRequired": true,
|
||||
"textValidationRegex": "^[a-z]([-a-z0-9]{0,11}[a-z0-9])?$",
|
||||
"textValidationDescription": "%arc.sql.invalid.instance.name%"
|
||||
},
|
||||
{
|
||||
"label": "%arc.sql.username%",
|
||||
"variableName": "AZDATA_NB_VAR_SQL_USERNAME",
|
||||
"type": "text",
|
||||
"defaultValue": "sa",
|
||||
"enabled": false
|
||||
"description": "%arc.sql.invalid.username%",
|
||||
"required": true,
|
||||
"textValidationRequired": true,
|
||||
"textValidationRegex": "^(?!sa$)",
|
||||
"textValidationDescription": "%arc.sql.invalid.username%"
|
||||
},
|
||||
{
|
||||
"label": "%arc.password%",
|
||||
@@ -624,7 +589,12 @@
|
||||
"confirmationLabel": "%arc.confirm.password%",
|
||||
"defaultValue": "",
|
||||
"required": true
|
||||
},
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.sql.instance.settings.section.title%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.storage-class.data.label%",
|
||||
"description": "%arc.sql.storage-class.data.description%",
|
||||
@@ -638,6 +608,38 @@
|
||||
"variableName": "AZDATA_NB_VAR_SQL_STORAGE_CLASS_LOGS",
|
||||
"type": "kube_storage_class",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"label": "%arc.cores-request.label%",
|
||||
"description": "%arc.sql.cores-request.description%",
|
||||
"variableName": "AZDATA_NB_VAR_SQL_CORES_REQUEST",
|
||||
"type": "number",
|
||||
"min": 1,
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"label": "%arc.cores-limit.label%",
|
||||
"description": "%arc.sql.cores-limit.description%",
|
||||
"variableName": "AZDATA_NB_VAR_SQL_CORES_LIMIT",
|
||||
"type": "number",
|
||||
"min": 1,
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"label": "%arc.memory-request.label%",
|
||||
"description": "%arc.sql.memory-request.description%",
|
||||
"variableName": "AZDATA_NB_VAR_SQL_MEMORY_REQUEST",
|
||||
"type": "number",
|
||||
"min": 2,
|
||||
"required": false
|
||||
},
|
||||
{
|
||||
"label": "%arc.memory-limit.label%",
|
||||
"description": "%arc.sql.memory-limit.description%",
|
||||
"variableName": "AZDATA_NB_VAR_SQL_MEMORY_LIMIT",
|
||||
"type": "number",
|
||||
"min": 2,
|
||||
"required": false
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -651,7 +653,7 @@
|
||||
},
|
||||
{
|
||||
"name": "azdata",
|
||||
"version": "20.1.0"
|
||||
"version": "20.2.0"
|
||||
}
|
||||
],
|
||||
"when": "true"
|
||||
@@ -683,7 +685,7 @@
|
||||
"tags": ["Hybrid", "PostgreSQL"],
|
||||
"providers": [
|
||||
{
|
||||
"dialog": {
|
||||
"notebookWizard": {
|
||||
"notebook": "./notebooks/arcDeployment/deploy.postgres.existing.arc.ipynb",
|
||||
"doneAction": {
|
||||
"label": "%deploy.done.action%"
|
||||
@@ -698,14 +700,16 @@
|
||||
"generateSummaryPage": false,
|
||||
"pages": [
|
||||
{
|
||||
"title": "",
|
||||
"title": "%arc.postgres.wizard.page1.title%",
|
||||
"labelWidth": "205px",
|
||||
"inputWidth": "280px",
|
||||
"sections": [
|
||||
{
|
||||
"title": "%arc.postgres.settings.section.title%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.controller%",
|
||||
"variableName": "AZDATA_NB_VAR_ARC_CONTROLLER",
|
||||
"variableName": "",
|
||||
"type": "options",
|
||||
"editable": false,
|
||||
"required": true,
|
||||
@@ -719,17 +723,16 @@
|
||||
}
|
||||
},
|
||||
"optionsType": "dropdown"
|
||||
},
|
||||
"labelWidth": "100%"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.name%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_NAME",
|
||||
"type": "text",
|
||||
"description": "%arc.postgres.server.group.name.validation.description%",
|
||||
"textValidationRequired": true,
|
||||
"textValidationRegex": "^[a-z]([-a-z0-9]{0,8}[a-z0-9])?$",
|
||||
"textValidationRegex": "^[a-z]([-a-z0-9]{0,10}[a-z0-9])?$",
|
||||
"textValidationDescription": "%arc.postgres.server.group.name.validation.description%",
|
||||
"defaultValue": "postgres1",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
@@ -742,11 +745,12 @@
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.workers%",
|
||||
"label": "%arc.postgres.server.group.workers.label%",
|
||||
"description": "%arc.postgres.server.group.workers.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_WORKERS",
|
||||
"type": "number",
|
||||
"defaultValue": "1",
|
||||
"min": 1
|
||||
"defaultValue": "0",
|
||||
"min": 0
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.port%",
|
||||
@@ -756,6 +760,27 @@
|
||||
"min": 1,
|
||||
"max": 65535
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.engine.version%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_ENGINE_VERSION",
|
||||
"type": "options",
|
||||
"options": [
|
||||
"11",
|
||||
"12"
|
||||
],
|
||||
"defaultValue": "12"
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.extensions.label%",
|
||||
"description": "%arc.postgres.server.group.extensions.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_EXTENSIONS",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": "%arc.postgres.settings.storage.title%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.storage-class.data.label%",
|
||||
"description": "%arc.postgres.storage-class.data.description%",
|
||||
@@ -763,6 +788,14 @@
|
||||
"type": "kube_storage_class",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.volume.size.data.label%",
|
||||
"description": "%arc.postgres.server.group.volume.size.data.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_VOLUME_SIZE_DATA",
|
||||
"type": "number",
|
||||
"defaultValue": "5",
|
||||
"min": 1
|
||||
},
|
||||
{
|
||||
"label": "%arc.storage-class.logs.label%",
|
||||
"description": "%arc.postgres.storage-class.logs.description%",
|
||||
@@ -770,12 +803,28 @@
|
||||
"type": "kube_storage_class",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.volume.size.logs.label%",
|
||||
"description": "%arc.postgres.server.group.volume.size.logs.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_VOLUME_SIZE_LOGS",
|
||||
"type": "number",
|
||||
"defaultValue": "5",
|
||||
"min": 1
|
||||
},
|
||||
{
|
||||
"label": "%arc.storage-class.backups.label%",
|
||||
"description": "%arc.postgres.storage-class.backups.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_STORAGE_CLASS_BACKUPS",
|
||||
"type": "kube_storage_class",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.volume.size.backups.label%",
|
||||
"description": "%arc.postgres.server.group.volume.size.backups.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_VOLUME_SIZE_BACKUPS",
|
||||
"type": "number",
|
||||
"defaultValue": "5",
|
||||
"min": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -783,28 +832,32 @@
|
||||
"title": "%arc.postgres.settings.resource.title%",
|
||||
"fields": [
|
||||
{
|
||||
"label": "%arc.postgres.server.group.cores.request%",
|
||||
"label": "%arc.postgres.server.group.cores.request.label%",
|
||||
"description": "%arc.postgres.server.group.cores.request.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_CORES_REQUEST",
|
||||
"type": "number",
|
||||
"min": 0
|
||||
"min": 1
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.cores.limit%",
|
||||
"label": "%arc.postgres.server.group.cores.limit.label%",
|
||||
"description": "%arc.postgres.server.group.cores.limit.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_CORES_LIMIT",
|
||||
"type": "number",
|
||||
"min": 0
|
||||
"min": 1
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.memory.request%",
|
||||
"label": "%arc.postgres.server.group.memory.request.label%",
|
||||
"description": "%arc.postgres.server.group.memory.request.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_MEMORY_REQUEST",
|
||||
"type": "number",
|
||||
"min": 0
|
||||
"min": 0.25
|
||||
},
|
||||
{
|
||||
"label": "%arc.postgres.server.group.memory.limit%",
|
||||
"label": "%arc.postgres.server.group.memory.limit.label%",
|
||||
"description": "%arc.postgres.server.group.memory.limit.description%",
|
||||
"variableName": "AZDATA_NB_VAR_POSTGRES_SERVER_GROUP_MEMORY_LIMIT",
|
||||
"type": "number",
|
||||
"min": 0
|
||||
"min": 0.25
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -814,11 +867,11 @@
|
||||
},
|
||||
"requiredTools": [
|
||||
{
|
||||
"name": "azure-cli"
|
||||
"name": "kubectl"
|
||||
},
|
||||
{
|
||||
"name": "azdata",
|
||||
"version": "20.1.0"
|
||||
"version": "20.2.0"
|
||||
}
|
||||
],
|
||||
"when": "true"
|
||||
@@ -858,5 +911,10 @@
|
||||
"sinon": "^9.0.2",
|
||||
"typemoq": "2.1.0",
|
||||
"vscodetestcover": "^1.1.0"
|
||||
},
|
||||
"__metadata": {
|
||||
"id": "68",
|
||||
"publisherDisplayName": "Microsoft",
|
||||
"publisherId": "Microsoft"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user