update stackName parameter description and validation constraints for Azure Key Vault compatibility

pull/902/head
Piwccle 2026-06-09 11:37:02 +02:00
parent e28cd0e5c9
commit 869d8e62f1
12 changed files with 48 additions and 20 deletions

View File

@ -1,4 +1,6 @@
@description('Stack name') @description('Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix ("<stackName>-keyvault"), which is limited to 24 characters.')
@minLength(3)
@maxLength(15)
param stackName string param stackName string
@description(''' @description('''

View File

@ -11,8 +11,10 @@
"parameters": { "parameters": {
"stackName": { "stackName": {
"type": "string", "type": "string",
"minLength": 3,
"maxLength": 15,
"metadata": { "metadata": {
"description": "Stack name" "description": "Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
} }
}, },
"certificateType": { "certificateType": {

View File

@ -28,9 +28,12 @@
"toolTip": "", "toolTip": "",
"constraints": { "constraints": {
"required": true, "required": true,
"regex": "", "validations": [
"validationMessage": "", {
"validations": [] "regex": "^[a-zA-Z][a-zA-Z0-9-]{1,13}[a-zA-Z0-9]$",
"message": "Must be 3-15 characters, start with a letter, contain only letters, numbers and hyphens, and not end with a hyphen. It is used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
}
]
}, },
"infoMessages": [], "infoMessages": [],
"visible": true "visible": true

View File

@ -1,4 +1,6 @@
@description('Stack name') @description('Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix ("<stackName>-keyvault"), which is limited to 24 characters.')
@minLength(3)
@maxLength(15)
param stackName string param stackName string
@description(''' @description('''

View File

@ -11,8 +11,10 @@
"parameters": { "parameters": {
"stackName": { "stackName": {
"type": "string", "type": "string",
"minLength": 3,
"maxLength": 15,
"metadata": { "metadata": {
"description": "Stack name" "description": "Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
} }
}, },
"certificateType": { "certificateType": {

View File

@ -29,9 +29,12 @@
"toolTip": "Stack name", "toolTip": "Stack name",
"constraints": { "constraints": {
"required": true, "required": true,
"regex": "", "validations": [
"validationMessage": "", {
"validations": [] "regex": "^[a-zA-Z][a-zA-Z0-9-]{1,13}[a-zA-Z0-9]$",
"message": "Must be 3-15 characters, start with a letter, contain only letters, numbers and hyphens, and not end with a hyphen. It is used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
}
]
}, },
"infoMessages": [], "infoMessages": [],
"visible": true "visible": true

View File

@ -1,4 +1,6 @@
@description('Stack name') @description('Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix ("<stackName>-keyvault"), which is limited to 24 characters.')
@minLength(3)
@maxLength(15)
param stackName string param stackName string
@description(''' @description('''

View File

@ -11,8 +11,10 @@
"parameters": { "parameters": {
"stackName": { "stackName": {
"type": "string", "type": "string",
"minLength": 3,
"maxLength": 15,
"metadata": { "metadata": {
"description": "Stack name" "description": "Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
} }
}, },
"certificateType": { "certificateType": {

View File

@ -29,9 +29,12 @@
"toolTip": "Stack name", "toolTip": "Stack name",
"constraints": { "constraints": {
"required": true, "required": true,
"regex": "", "validations": [
"validationMessage": "", {
"validations": [] "regex": "^[a-zA-Z][a-zA-Z0-9-]{1,13}[a-zA-Z0-9]$",
"message": "Must be 3-15 characters, start with a letter, contain only letters, numbers and hyphens, and not end with a hyphen. It is used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
}
]
}, },
"infoMessages": [], "infoMessages": [],
"visible": true "visible": true

View File

@ -1,4 +1,6 @@
@description('Stack name') @description('Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix ("<stackName>-keyvault"), which is limited to 24 characters.')
@minLength(3)
@maxLength(15)
param stackName string param stackName string
@description(''' @description('''

View File

@ -11,8 +11,10 @@
"parameters": { "parameters": {
"stackName": { "stackName": {
"type": "string", "type": "string",
"minLength": 3,
"maxLength": 15,
"metadata": { "metadata": {
"description": "Stack name" "description": "Stack name. Maximum 15 characters: used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
} }
}, },
"certificateType": { "certificateType": {

View File

@ -28,9 +28,12 @@
"toolTip": "", "toolTip": "",
"constraints": { "constraints": {
"required": true, "required": true,
"regex": "", "validations": [
"validationMessage": "", {
"validations": [] "regex": "^[a-zA-Z][a-zA-Z0-9-]{1,13}[a-zA-Z0-9]$",
"message": "Must be 3-15 characters, start with a letter, contain only letters, numbers and hyphens, and not end with a hyphen. It is used as the Azure Key Vault name prefix (\"<stackName>-keyvault\"), which is limited to 24 characters."
}
]
}, },
"infoMessages": [], "infoMessages": [],
"visible": true "visible": true