зеркало из https://github.com/Azure/azure-saas.git
edit some parameter validation
This commit is contained in:
Родитель
0987836bf7
Коммит
b69c13fbb2
|
@ -30,9 +30,6 @@ param azureAdB2cSignupAdminClientSecretSecretValue string
|
|||
@description('The value of the Azure AD B2C Tenant Id Key Vault Secret.')
|
||||
param azureAdB2cTenantIdSecretValue string
|
||||
|
||||
@description('The object ID of the logged in Azure Active Directory User.')
|
||||
param azureAdUserID string
|
||||
|
||||
@description('The URL for the container registry to pull the docker images from')
|
||||
param containerRegistryUrl string = 'https://ghcr.io'
|
||||
|
||||
|
@ -63,12 +60,12 @@ param signupAdminContainerImageTag string = 'ghcr.io/azure/azure-saas/asdk-signu
|
|||
@description('The SaaS Provider name.')
|
||||
param saasProviderName string
|
||||
|
||||
@description('The deployment environment (e.g. prod, dev, test).')
|
||||
@description('The deployment environment (e.g. prd, dev, tst).')
|
||||
@allowed([
|
||||
'prod'
|
||||
'staging'
|
||||
'prd'
|
||||
'stg'
|
||||
'dev'
|
||||
'test'
|
||||
'tst'
|
||||
])
|
||||
param saasEnvironment string = 'dev'
|
||||
|
||||
|
@ -207,7 +204,6 @@ module keyVaultAccessPolicyModule 'keyVaultAccessPolicies.bicep' = {
|
|||
name: 'keyVaultAccessPolicyDeployment'
|
||||
params: {
|
||||
adminApiPrincipalId: adminApiModule.outputs.systemAssignedManagedIdentityPrincipalId
|
||||
azureAdUserID: azureAdUserID
|
||||
keyVaultName: keyVaultName
|
||||
modulesToDeploy: modulesToDeploy
|
||||
signupAdminAppServicePrincipalId: signupAdminAppServiceModule.outputs.systemAssignedManagedIdentityPrincipalId
|
||||
|
|
|
@ -30,14 +30,15 @@ param permissionsApiContainerImageTag string = 'ghcr.io/azure/azure-saas/asdk-pe
|
|||
param location string = resourceGroup().location
|
||||
|
||||
@description('The SaaS Provider name.')
|
||||
@maxLength(8)
|
||||
param saasProviderName string
|
||||
|
||||
@description('The deployment environment (e.g. prod, dev, test).')
|
||||
@description('The deployment environment (e.g. prd, dev, tst).')
|
||||
@allowed([
|
||||
'prod'
|
||||
'staging'
|
||||
'prd'
|
||||
'stg'
|
||||
'dev'
|
||||
'test'
|
||||
'tst'
|
||||
])
|
||||
param saasEnvironment string = 'dev'
|
||||
|
||||
|
|
|
@ -174,8 +174,8 @@ function Get-UserInputParameters {
|
|||
CountryCode = Read-Host "Please enter the two letter country code for the B2C Tenant data to be stored in (e.g. 'US', 'CZ', 'DE'). See https://docs.microsoft.com/en-us/azure/active-directory-b2c/data-residency for the list of available country codes."
|
||||
AzureResourceLocation = Read-Host "Please enter the location for the Azure Resources to be deployed (e.g. 'eastus', 'westus2', 'centraleurope'). Please run az account list-locations to see the available locations for your account."
|
||||
IdentityFrameworkResourceGroupName = Read-Host "Please enter the name of the Azure Resource Group to put the Identity Framework resources into. Will be created if it does not exist."
|
||||
SaasEnvironment = Read-Host "Please enter an environment name. Accepted values are: 'prod', 'staging', 'dev', 'test'"
|
||||
ProviderName = Read-Host "Please enter a provider name. This name will be used to name the Azure Resources. (e.g. contoso, myapp)"
|
||||
SaasEnvironment = Read-Host "Please enter an environment name. Accepted values are: 'prd', 'stg', 'dev', 'tst'"
|
||||
ProviderName = Read-Host "Please enter a provider name. This name will be used to name the Azure Resources. (e.g. contoso, myapp). Max Length is 8 characters."
|
||||
InstanceNumber = Read-Host "Please enter an instance number. This number will be appended to most Azure Resources created. (e.g. 001, 002, 003)"
|
||||
SqlAdministratorLogin = Read-Host "Please enter the desired username for the SQL administrator account (e.g. sqladmin). Note: 'admin' is not allowed and will fail during the deployment step."
|
||||
SqlAdministratorLoginPassword = Read-Host -AsSecureString -Prompt "Please enter the desired password for the SQL administrator account."
|
||||
|
|
Загрузка…
Ссылка в новой задаче