|
935 | 935 | "label": "Availability options", |
936 | 936 | "defaultValue": "Availability Set", |
937 | 937 | "toolTip": "Use replicated Cluster VMs in Availability Set or Availability Zones. Note that the load balancers and their IP addresses will be zone redundant in any case.", |
938 | | - "visible": "[contains(' australiaeast brazilsouth canadacentral centralus eastasia eastus eastus2 francecentral germanywestcentral japaneast koreacentral northeurope norwayeast southafricanorth southcentralus southeastasia swedencentral uksouth usgovvirginia westeurope westus2 westus3 switzerlandnorth qatarcentral centralindia uaenorth italynorth ', concat(' ', location(), ' '))]", |
| 938 | + "visible": "[contains(' australiaeast brazilsouth canadacentral centralus eastasia eastus eastus2 francecentral germanywestcentral japaneast koreacentral northeurope norwayeast southafricanorth southcentralus southeastasia swedencentral uksouth usgovvirginia westeurope westus2 westus3 switzerlandnorth qatarcentral centralindia uaenorth italynorth', concat(' ', location(), ' '))]", |
939 | 939 | "constraints": { |
940 | 940 | "allowedValues": [ |
941 | 941 | { |
|
1110 | 1110 | "name": "floatingIP", |
1111 | 1111 | "type": "Microsoft.Common.OptionsGroup", |
1112 | 1112 | "label": "Deploy the Load Balancers with floating IP", |
1113 | | - "defaultValue": "No", |
| 1113 | + "defaultValue": "Yes", |
1114 | 1114 | "toolTip": "Deploy the Load Balancers with floating IP.", |
1115 | 1115 | "constraints": { |
1116 | 1116 | "allowedValues": [ |
|
1486 | 1486 | }, |
1487 | 1487 | "visible": "[steps('network').NSG]" |
1488 | 1488 | }, |
| 1489 | + { |
| 1490 | + "name": "storageAccountDeployMode", |
| 1491 | + "type": "Microsoft.Common.DropDown", |
| 1492 | + "label": "Storage Account Deployment Mode", |
| 1493 | + "toolTip": "Select your preferred Storage Account deployment mode, New to a new Storage Account, Existing to an existing Storage Account, Managed to managed Storage Account, None to deploy without a Storage Account", |
| 1494 | + "defaultValue": "New", |
| 1495 | + "constraints": { |
| 1496 | + "allowedValues": [ |
| 1497 | + { |
| 1498 | + "label": "New", |
| 1499 | + "value": "New" |
| 1500 | + }, |
| 1501 | + { |
| 1502 | + "label": "Existing", |
| 1503 | + "value": "Existing" |
| 1504 | + }, |
| 1505 | + { |
| 1506 | + "label": "Managed", |
| 1507 | + "value": "Managed" |
| 1508 | + }, |
| 1509 | + { |
| 1510 | + "label": "None", |
| 1511 | + "value": "None" |
| 1512 | + } |
| 1513 | + ], |
| 1514 | + "required": true |
| 1515 | + }, |
| 1516 | + "visible": true |
| 1517 | + }, |
1489 | 1518 | { |
1490 | 1519 | "name": "addStorageAccountIpRules", |
1491 | 1520 | "type": "Microsoft.Common.OptionsGroup", |
|
1503 | 1532 | "value": true |
1504 | 1533 | } |
1505 | 1534 | ], |
1506 | | - "required": true |
| 1535 | + "required": "[equals(steps('network').storageAccountDeployMode, 'New')]" |
1507 | 1536 | }, |
1508 | | - "visible": true |
| 1537 | + "visible": "[equals(steps('network').storageAccountDeployMode, 'New')]" |
| 1538 | + }, |
| 1539 | + { |
| 1540 | + "name": "existingStorageAccount", |
| 1541 | + "type": "Microsoft.Solutions.ResourceSelector", |
| 1542 | + "label": "Storage Account", |
| 1543 | + "defaultValue": "null", |
| 1544 | + "toolTip": "Choose an existing Storage Account", |
| 1545 | + "resourceType": "Microsoft.Storage/storageAccounts", |
| 1546 | + "constraints": { |
| 1547 | + "required": "[equals(steps('network').storageAccountDeployMode, 'Existing')]" |
| 1548 | + }, |
| 1549 | + "visible": "[equals(steps('network').storageAccountDeployMode, 'Existing')]" |
| 1550 | + }, |
| 1551 | + { |
| 1552 | + "name": "infoExistingStorageAccount", |
| 1553 | + "type": "Microsoft.Common.InfoBox", |
| 1554 | + "visible": "[equals(steps('network').storageAccountDeployMode, 'Existing')]", |
| 1555 | + "options": { |
| 1556 | + "icon": "Info", |
| 1557 | + "text": "The Storage Account must allow network access from the Serial Console feature, for more information - <a href='https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/serial-console-linux?WT.mc_id=Portal-Microsoft_Azure_CreateUIDef' target='_blank'>Serial Console Security</a>." |
| 1558 | + } |
| 1559 | + }, |
| 1560 | + { |
| 1561 | + "name": "infoManagedStorageAccount", |
| 1562 | + "type": "Microsoft.Common.InfoBox", |
| 1563 | + "visible": "[equals(steps('network').storageAccountDeployMode, 'Managed')]", |
| 1564 | + "options": { |
| 1565 | + "icon": "Info", |
| 1566 | + "text": "Azure will use a managed Storage Account for the deployment, no additional configuration is required." |
| 1567 | + } |
| 1568 | + }, |
| 1569 | + { |
| 1570 | + "name": "warningNoneStorageAccount", |
| 1571 | + "type": "Microsoft.Common.InfoBox", |
| 1572 | + "visible": "[equals(steps('network').storageAccountDeployMode, 'None')]", |
| 1573 | + "options": { |
| 1574 | + "icon": "Warning", |
| 1575 | + "text": "Please note that deploying without a Storage Account will not allow you to use the Serial Console feature. For more information - <a href='https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/linux/serial-console-linux?WT.mc_id=Portal-Microsoft_Azure_CreateUIDef' target='_blank'>Azure Serial Console</a>." |
| 1576 | + } |
1509 | 1577 | } |
1510 | 1578 | ] |
1511 | 1579 | }, |
|
1579 | 1647 | "deployNewNSG": "[steps('network').NSG]", |
1580 | 1648 | "ExistingNSG": "[steps('network').nsgSelector]", |
1581 | 1649 | "NewNsgName": "[steps('network').NSGName]", |
1582 | | - "addStorageAccountIpRules": "[steps('network').addStorageAccountIpRules]", |
| 1650 | + "storageAccountDeployMode": "[steps('network').storageAccountDeployMode]", |
| 1651 | + "addStorageAccountIpRules":"[steps('network').addStorageAccountIpRules]", |
| 1652 | + "existingStorageAccountId": "[steps('network').existingStorageAccount]", |
1583 | 1653 | "VipsNumber": "[int(steps('network').Vips_Number)]", |
1584 | 1654 | "VipNames": "[concat(steps('network').VIP_Names.VIP2_Name, ',', steps('network').VIP_Names.VIP3_Name, ',', steps('network').VIP_Names.VIP4_Name, ',', steps('network').VIP_Names.VIP5_Name, ',', steps('network').VIP_Names.VIP6_Name, ',', steps('network').VIP_Names.VIP7_Name, ',', steps('network').VIP_Names.VIP8_Name, ',', steps('network').VIP_Names.VIP9_Name, ',', steps('network').VIP_Names.VIP10_Name)]", |
1585 | 1655 | "SerialConsolePasswordHash": "[steps('chkp-advanced').AdditionalPassword]", |
|
0 commit comments