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
@description('''

View File

@ -11,8 +11,10 @@
"parameters": {
"stackName": {
"type": "string",
"minLength": 3,
"maxLength": 15,
"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": {

View File

@ -28,9 +28,12 @@
"toolTip": "",
"constraints": {
"required": true,
"regex": "",
"validationMessage": "",
"validations": []
"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": [],
"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
@description('''

View File

@ -11,8 +11,10 @@
"parameters": {
"stackName": {
"type": "string",
"minLength": 3,
"maxLength": 15,
"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": {

View File

@ -29,9 +29,12 @@
"toolTip": "Stack name",
"constraints": {
"required": true,
"regex": "",
"validationMessage": "",
"validations": []
"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": [],
"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
@description('''

View File

@ -11,8 +11,10 @@
"parameters": {
"stackName": {
"type": "string",
"minLength": 3,
"maxLength": 15,
"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": {

View File

@ -29,9 +29,12 @@
"toolTip": "Stack name",
"constraints": {
"required": true,
"regex": "",
"validationMessage": "",
"validations": []
"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": [],
"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
@description('''

View File

@ -11,8 +11,10 @@
"parameters": {
"stackName": {
"type": "string",
"minLength": 3,
"maxLength": 15,
"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": {

View File

@ -28,9 +28,12 @@
"toolTip": "",
"constraints": {
"required": true,
"regex": "",
"validationMessage": "",
"validations": []
"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": [],
"visible": true