From 5e36655ab43f5af9bf1d26a505fd579024277b4d Mon Sep 17 00:00:00 2001 From: rivkas Date: Sun, 21 Jul 2024 11:21:48 +0300 Subject: [PATCH] update deprecated/azure/templates --- .../ha-r8040-r81/createUiDefinition.json | 842 ++--------------- .../R8040-R81/ha-r8040-r81/mainTemplate.json | 39 +- .../mds-r8040-r81/createUiDefinition.json | 128 +-- .../R8040-R81/mds-r8040-r81/mainTemplate.json | 25 +- .../mgmt-r840-r81/createUiDefinition.json | 186 +--- .../R8040-R81/mgmt-r840-r81/mainTemplate.json | 45 +- .../single-ipv6-r8040-r81/mainTemplate.json | 28 +- .../single-r8040-r81/createUiDefinition.json | 846 ++--------------- .../single-r8040-r81/mainTemplate.json | 39 +- .../vmss-ipv6-r8040-r81/mainTemplate.json | 40 +- .../vmss-r8040-r81/createUiDefinition.json | 868 ++---------------- .../vmss-r8040-r81/mainTemplate.json | 50 +- 12 files changed, 243 insertions(+), 2893 deletions(-) diff --git a/deprecated/azure/templates/R8040-R81/ha-r8040-r81/createUiDefinition.json b/deprecated/azure/templates/R8040-R81/ha-r8040-r81/createUiDefinition.json index 76eaa532..31bbc503 100644 --- a/deprecated/azure/templates/R8040-R81/ha-r8040-r81/createUiDefinition.json +++ b/deprecated/azure/templates/R8040-R81/ha-r8040-r81/createUiDefinition.json @@ -64,7 +64,7 @@ "name": "cloudGuardVersion", "type": "Microsoft.Common.DropDown", "label": "Check Point CloudGuard version", - "defaultValue": "R81.20", + "defaultValue": "R81", "toolTip": "The version of Check Point CloudGuard.", "constraints": { "allowedValues": [ @@ -75,724 +75,38 @@ { "label": "R81", "value": "R81" - }, - { - "label": "R81.10", - "value": "R81.10" - }, - { - "label": "R81.20", - "value": "R81.20" - } - ] - } - }, - { - "name": "R80Offer", - "type": "Microsoft.Common.DropDown", - "label": "License type", - "toolTip": "The type of license.", - "defaultValue": "Bring Your Own License", - "visible": true, - "constraints": { - "allowedValues": [ - { - "label": "Bring Your Own License", - "value": "Bring Your Own License" - }, - { - "label": "Pay As You Go (NGTP)", - "value": "Pay As You Go (NGTP)" - }, - { - "label": "Pay As You Go (NGTX)", - "value": "Pay As You Go (NGTX)" - } - ] - } - }, - { - "name": "R8040vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8040", - "sku": "sg-byol" - }, - "count": 2 - }, - { - "name": "R8040vmSizeUiNGTP", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTP)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8040", - "sku": "sg-ngtp" - }, - "count": 2 - }, - { - "name": "R8040vmSizeUiNGTX", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTX)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8040", - "sku": "sg-ngtx" - }, - "count": 2 - }, - { - "name": "R81vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r81", - "sku": "sg-byol" - }, - "count": 2 - }, - { - "name": "R81vmSizeUiNGTP", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTP)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" + } ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r81", - "sku": "sg-ngtp" - }, - "count": 2 + } }, { - "name": "R81vmSizeUiNGTX", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTX)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], + "name": "R80Offer", + "type": "Microsoft.Common.DropDown", + "label": "License type", + "toolTip": "The type of license.", + "defaultValue": "Bring Your Own License", + "visible": true, "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" + "allowedValues": [ + { + "label": "Bring Your Own License", + "value": "Bring Your Own License" + }, + { + "label": "Pay As You Go (NGTP)", + "value": "Pay As You Go (NGTP)" + }, + { + "label": "Pay As You Go (NGTX)", + "value": "Pay As You Go (NGTX)" + } ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r81", - "sku": "sg-ngtx" - }, - "count": 2 + } }, { - "name": "R8110vmSizeUiBYOL", + "name": "R8040vmSizeUiBYOL", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ @@ -897,15 +211,15 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8110", + "offer": "check-point-cg-r8040", "sku": "sg-byol" }, "count": 2 }, { - "name": "R8110vmSizeUiNGTP", + "name": "R8040vmSizeUiNGTP", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, '(NGTP)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTP)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ @@ -1010,15 +324,15 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8110", + "offer": "check-point-cg-r8040", "sku": "sg-ngtp" }, "count": 2 }, { - "name": "R8110vmSizeUiNGTX", + "name": "R8040vmSizeUiNGTX", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, '(NGTX)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTX)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ @@ -1123,20 +437,20 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8110", + "offer": "check-point-cg-r8040", "sku": "sg-ngtx" }, "count": 2 }, { - "name": "R8120vmSizeUiBYOL", + "name": "R81vmSizeUiBYOL", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" + "Standard_D3_v2", + "Standard_DS3_v2" ], "constraints": { "allowedSizes": [ @@ -1236,20 +550,20 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8120", + "offer": "check-point-cg-r81", "sku": "sg-byol" }, "count": 2 }, { - "name": "R8120vmSizeUiNGTP", + "name": "R81vmSizeUiNGTP", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, '(NGTP)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTP)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" + "Standard_D3_v2", + "Standard_DS3_v2" ], "constraints": { "allowedSizes": [ @@ -1349,20 +663,20 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8120", + "offer": "check-point-cg-r81", "sku": "sg-ngtp" }, "count": 2 }, { - "name": "R8120vmSizeUiNGTX", + "name": "R81vmSizeUiNGTX", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, '(NGTX)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTX)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" + "Standard_D3_v2", + "Standard_DS3_v2" ], "constraints": { "allowedSizes": [ @@ -1462,7 +776,7 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8120", + "offer": "check-point-cg-r81", "sku": "sg-ngtx" }, "count": 2 @@ -1559,53 +873,6 @@ "hideConfirmation": false } }, - { - "name": "MaintenanceModeInfoBox", - "type": "Microsoft.Common.InfoBox", - "visible": "[and(bool(basics('auth').password), not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)))]", - "options": { - "icon": "Info", - "text": "Check Point recommends setting a maintenance-mode password for recovery purposes." - } - }, - { - "visible": "[not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion))]", - "name": "EnableMaintenanceMode", - "type": "Microsoft.Common.OptionsGroup", - "label": "Enable Maintenance Mode", - "defaultValue": "Yes", - "toolTip": "A unique password hash to enable VM maintenance mode.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ] - } - }, - { - "visible": "[and(not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)), steps('chkp').EnableMaintenanceMode)]", - "name": "MaintenanceModePassword", - "type": "Microsoft.Common.PasswordBox", - "defaultValue": "", - "toolTip": "To generate a password hash use the command 'grub2-mkpasswd-pbkdf2' on Linux and paste it here.", - "label": { - "password": "Maintenance Mode password hash", - "confirmPassword": "Confirm Password" - }, - "constraints": { - "required": true, - "validationMessage": "The value must be the output of the hash command." - }, - "options": { - "hideConfirmation": false - } - }, { "name": "managedSystemAssigned", "type": "Microsoft.Common.OptionsGroup", @@ -1632,7 +899,7 @@ "label": "Availability options", "defaultValue": "Availability Set", "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.", - "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(), ' '))]", + "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(), ' '))]", "constraints": { "allowedValues": [ { @@ -1686,7 +953,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[not(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion))]", + "visible": "[not(contains('R80.40 R81 ' , steps('chkp').cloudGuardVersion))]", "defaultValue": "Premium", "constraints": { "allowedValues": [ @@ -1706,7 +973,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion)]", + "visible": "[contains('R80.40 R81 ' , steps('chkp').cloudGuardVersion)]", "defaultValue": "Standard", "constraints": { "allowedValues": [ @@ -2295,7 +1562,7 @@ "authenticationType": "[basics('auth').authenticationType]", "sshPublicKey": "[basics('auth').sshPublicKey]", "vmName": "[basics('clusterObjectNameUi')]", - "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiNGTP, steps('chkp').R8040vmSizeUiNGTX, steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiNGTP, steps('chkp').R81vmSizeUiNGTX, steps('chkp').R8110vmSizeUiBYOL, steps('chkp').R8110vmSizeUiNGTP, steps('chkp').R8110vmSizeUiNGTX, steps('chkp').R8120vmSizeUiBYOL, steps('chkp').R8120vmSizeUiNGTP, steps('chkp').R8120vmSizeUiNGTX)]", + "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiNGTP, steps('chkp').R8040vmSizeUiNGTX, steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiNGTP, steps('chkp').R81vmSizeUiNGTX)]", "sicKey": "[steps('chkp').sicKeyUi]", "virtualNetworkName": "[steps('network').virtualNetwork.name]", "virtualNetworkAddressPrefixes": "[steps('network').virtualNetwork.addressPrefixes]", @@ -2310,7 +1577,7 @@ "bootstrapScript": "[steps('chkp').bootstrapScript]", "allowDownloadFromUploadToCheckPoint": "[coalesce(steps('chkp').allowUploadDownload, 'true')]", "additionalDiskSizeGB": "[int(steps('chkp').additionalDiskSizeGB)]", - "diskType": "[if(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", + "diskType": "[if(contains('R80.40 R81 ' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", "managedSystemAssigned": "[steps('chkp').managedSystemAssigned]", "sourceImageVhdUri": "[coalesce(steps('chkp').sourceImageVhdUri, 'noCustomUri')]", "availabilityOptions": "[steps('chkp').availabilityOptions]", @@ -2326,11 +1593,10 @@ "deployNewNSG": "[steps('network').NSG]", "ExistingNSG": "[steps('network').nsgSelector]", "NewNsgName": "[steps('network').NSGName]", - "addStorageAccountIpRules": "[steps('network').addStorageAccountIpRules]", + "addStorageAccountIpRules":"[steps('network').addStorageAccountIpRules]", "VipsNumber": "[int(steps('network').Vips_Number)]", "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)]", - "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]", - "MaintenanceModePasswordHash": "[steps('chkp').MaintenanceModePassword]" + "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]" } } } \ No newline at end of file diff --git a/deprecated/azure/templates/R8040-R81/ha-r8040-r81/mainTemplate.json b/deprecated/azure/templates/R8040-R81/ha-r8040-r81/mainTemplate.json index 9d5b71dc..59952e87 100644 --- a/deprecated/azure/templates/R8040-R81/ha-r8040-r81/mainTemplate.json +++ b/deprecated/azure/templates/R8040-R81/ha-r8040-r81/mainTemplate.json @@ -18,14 +18,8 @@ "R81 - Bring Your Own License", "R81 - Pay As You Go (NGTP)", "R81 - Pay As You Go (NGTX)", - "R81.10 - Bring Your Own License", - "R81.10 - Pay As You Go (NGTP)", - "R81.10 - Pay As You Go (NGTX)", - "R81.20 - Bring Your Own License", - "R81.20 - Pay As You Go (NGTP)", - "R81.20 - Pay As You Go (NGTX)" ], - "defaultValue": "R81.20 - Bring Your Own License", + "defaultValue": "R81 - Bring Your Own License", "metadata": { "description": "Check Point CloudGuard version" } @@ -55,13 +49,6 @@ }, "defaultValue": "" }, - "MaintenanceModePasswordHash": { - "type": "securestring", - "defaultValue": "", - "metadata": { - "Description": "Maintenance mode password hash, relevant only for R81.20 and higher versions" - } - }, "SerialConsolePasswordHash": { "type": "securestring", "defaultValue": "", @@ -375,12 +362,6 @@ "R81 - Bring Your Own License": "BYOL", "R81 - Pay As You Go (NGTP)": "NGTP", "R81 - Pay As You Go (NGTX)": "NGTX", - "R81.10 - Bring Your Own License": "BYOL", - "R81.10 - Pay As You Go (NGTP)": "NGTP", - "R81.10 - Pay As You Go (NGTX)": "NGTX", - "R81.20 - Bring Your Own License": "BYOL", - "R81.20 - Pay As You Go (NGTP)": "NGTP", - "R81.20 - Pay As You Go (NGTX)": "NGTX" }, "offer": "[variables('offers')[parameters('cloudGuardVersion')]]", "osVersions": { @@ -390,12 +371,6 @@ "R81 - Bring Your Own License": "R81", "R81 - Pay As You Go (NGTP)": "R81", "R81 - Pay As You Go (NGTX)": "R81", - "R81.10 - Bring Your Own License": "R8110", - "R81.10 - Pay As You Go (NGTP)": "R8110", - "R81.10 - Pay As You Go (NGTX)": "R8110", - "R81.20 - Bring Your Own License": "R8120", - "R81.20 - Pay As You Go (NGTP)": "R8120", - "R81.20 - Pay As You Go (NGTX)": "R8120" }, "osVersion": "[variables('osVersions')[parameters('cloudGuardVersion')]]", "SerialConsoleGeographies": { @@ -688,7 +663,7 @@ { "name": "customData", "count": "[variables('count')]", - "input": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', variables('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'sicKey=\"', variables('sicKey'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'tenantId=\"', subscription().tenantId, '\"', '\n', 'virtualNetwork=\"', parameters('virtualNetworkName'), '\"', '\n', 'clusterName=\"', parameters('vmName'), '\"', '\n', 'customMetrics=\"', variables('customMetrics'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', '\n','smart1CloudToken=\"', variables('tokens')[copyIndex('customData')], '\"', '\n', 'Vips=\"', string(variables('VipsInformationForCloudConfig')), '\"', '\n','externalPrivateAddresses=\"', variables('externalPrivateAddresses')[2], '\"', '\n', 'MaintenanceModePassword=\"', parameters('MaintenanceModePasswordHash'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]" + "input": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', variables('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'sicKey=\"', variables('sicKey'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'tenantId=\"', subscription().tenantId, '\"', '\n', 'virtualNetwork=\"', parameters('virtualNetworkName'), '\"', '\n', 'clusterName=\"', parameters('vmName'), '\"', '\n', 'customMetrics=\"', variables('customMetrics'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', '\n','smart1CloudToken=\"', variables('tokens')[copyIndex('customData')], '\"', '\n', 'Vips=\"', string(variables('VipsInformationForCloudConfig')), '\"', '\n','externalPrivateAddresses=\"', variables('externalPrivateAddresses')[2], '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]" } ], "DefaultVipInformation": [ @@ -789,7 +764,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" }, "tagsByResource": { "value": "[parameters('tagsByResource')]" @@ -823,7 +798,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" }, "tagsByResource": { "value": "[parameters('tagsByResource')]" @@ -952,8 +927,8 @@ "primary": true, "enableIPForwarding": true, "enableAcceleratedNetworking": true, - "networkSecurityGroup": "[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", - "ipConfigurations": "[union(variables('DefaultIpAddresses'),variables('Vips'))]" + "networkSecurityGroup":"[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", + "ipConfigurations":"[union(variables('DefaultIpAddresses'),variables('Vips'))]" }, "tags": "[ if(contains(parameters('tagsByResource'), 'Microsoft.Network/networkInterfaces'), parameters('tagsByResource')['Microsoft.Network/networkInterfaces'], json('{}')) ]" }, @@ -971,7 +946,7 @@ "primary": true, "enableIPForwarding": true, "enableAcceleratedNetworking": true, - "networkSecurityGroup": "[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", + "networkSecurityGroup":"[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", "ipConfigurations": [ { "name": "member-ip", diff --git a/deprecated/azure/templates/R8040-R81/mds-r8040-r81/createUiDefinition.json b/deprecated/azure/templates/R8040-R81/mds-r8040-r81/createUiDefinition.json index 4e99694b..cb81c79e 100644 --- a/deprecated/azure/templates/R8040-R81/mds-r8040-r81/createUiDefinition.json +++ b/deprecated/azure/templates/R8040-R81/mds-r8040-r81/createUiDefinition.json @@ -64,7 +64,7 @@ "name": "cloudGuardVersion", "type": "Microsoft.Common.DropDown", "label": "Check Point CloudGuard version", - "defaultValue": "R81.20", + "defaultValue": "R81", "toolTip": "The version of Check Point CloudGuard.", "constraints": { "allowedValues": [ @@ -75,14 +75,6 @@ { "label": "R81", "value": "R81" - }, - { - "label": "R81.10", - "value": "R81.10" - }, - { - "label": "R81.20", - "value": "R81.20" } ] } @@ -161,64 +153,6 @@ }, "count": 1 }, - { - "name": "R8110vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size. Minimum of 16 cores and 64 GB RAM is required.", - "recommendedSizes": [ - "Standard_DS5_v2", - "Standard_DS15_v2" - ], - "constraints": { - "excludedSizes": [ - "Standard_A1_v2", - "Standard_D1_v2", - "Standard_DS1_v2", - "Standard_F1", - "Standard_F1s", - "Standard_G1", - "Standard_GS1" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8110", - "sku": "mgmt-byol" - }, - "count": 1 - }, - { - "name": "R8120vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size. Minimum of 16 cores and 64 GB RAM is required.", - "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" - ], - "constraints": { - "excludedSizes": [ - "Standard_A1_v2", - "Standard_D1_v2", - "Standard_DS1_v2", - "Standard_F1", - "Standard_F1s", - "Standard_G1", - "Standard_GS1" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8120", - "sku": "mgmt-byol" - }, - "count": 1 - }, { "name": "installationType", "type": "Microsoft.Common.DropDown", @@ -289,53 +223,6 @@ "hideConfirmation": false } }, - { - "name": "MaintenanceModeInfoBox", - "type": "Microsoft.Common.InfoBox", - "visible": "[and(bool(basics('auth').password), not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)))]", - "options": { - "icon": "Info", - "text": "Check Point recommends setting a maintenance-mode password for recovery purposes." - } - }, - { - "visible": "[not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion))]", - "name": "EnableMaintenanceMode", - "type": "Microsoft.Common.OptionsGroup", - "label": "Enable Maintenance Mode", - "defaultValue": "Yes", - "toolTip": "A unique password hash to enable VM maintenance mode.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ] - } - }, - { - "visible": "[and(not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)), steps('chkp').EnableMaintenanceMode)]", - "name": "MaintenanceModePassword", - "type": "Microsoft.Common.PasswordBox", - "defaultValue": "", - "toolTip": "To generate a password hash use the command 'grub2-mkpasswd-pbkdf2' on Linux and paste it here.", - "label": { - "password": "Maintenance Mode password hash", - "confirmPassword": "Confirm Password" - }, - "constraints": { - "required": true, - "validationMessage": "The value must be the output of the hash command." - }, - "options": { - "hideConfirmation": false - } - }, { "name": "adminShell", "type": "Microsoft.Common.DropDown", @@ -456,7 +343,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[not(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion))]", + "visible": "[not(contains('R80.40 R81' , steps('chkp').cloudGuardVersion))]", "defaultValue": "Premium", "constraints": { "allowedValues": [ @@ -476,7 +363,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion)]", + "visible": "[contains('R80.40 R81' , steps('chkp').cloudGuardVersion)]", "defaultValue": "Standard", "constraints": { "allowedValues": [ @@ -674,7 +561,7 @@ "authenticationType": "[basics('auth').authenticationType]", "sshPublicKey": "[basics('auth').sshPublicKey]", "vmName": "[basics('gatewayNameUi')]", - "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R81vmSizeUiBYOL, steps('chkp').R8110vmSizeUiBYOL, steps('chkp').R8120vmSizeUiBYOL)]", + "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R81vmSizeUiBYOL)]", "virtualNetworkName": "[steps('network').virtualNetwork.name]", "virtualNetworkAddressPrefix": "[steps('network').virtualNetwork.addressPrefix]", "Subnet1Name": "[steps('network').virtualNetwork.subnets.subnet1.name]", @@ -688,16 +575,15 @@ "bootstrapScript": "[steps('chkp').bootstrapScript]", "allowDownloadFromUploadToCheckPoint": "[coalesce(steps('chkp').allowUploadDownload, 'true')]", "additionalDiskSizeGB": "[int(steps('chkp').additionalDiskSizeGB)]", - "diskType": "[if(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", + "diskType": "[if(contains('R80.40 R81' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", "sourceImageVhdUri": "[coalesce(steps('chkp').sourceImageVhdUri, 'noCustomUri')]", "adminShell": "[steps('chkp').adminShell]", "tagsByResource": "[steps('tags').tagsByResource]", "deployNewNSG": "[steps('network').NSG]", "ExistingNSG": "[steps('network').nsgSelector]", "NewNsgName": "[steps('network').NSGName]", - "addStorageAccountIpRules": "[steps('network').addStorageAccountIpRules]", - "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]", - "MaintenanceModePasswordHash": "[steps('chkp').MaintenanceModePassword]" + "addStorageAccountIpRules":"[steps('network').addStorageAccountIpRules]", + "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]" } } } \ No newline at end of file diff --git a/deprecated/azure/templates/R8040-R81/mds-r8040-r81/mainTemplate.json b/deprecated/azure/templates/R8040-R81/mds-r8040-r81/mainTemplate.json index 6aa02a7b..c9800935 100644 --- a/deprecated/azure/templates/R8040-R81/mds-r8040-r81/mainTemplate.json +++ b/deprecated/azure/templates/R8040-R81/mds-r8040-r81/mainTemplate.json @@ -14,8 +14,6 @@ "allowedValues": [ "R80.40 - Bring Your Own License", "R81 - Bring Your Own License", - "R81.10 - Bring Your Own License", - "R81.20 - Bring Your Own License" ], "defaultValue": "R81.20 - Bring Your Own License", "metadata": { @@ -47,13 +45,6 @@ }, "defaultValue": "" }, - "MaintenanceModePasswordHash": { - "type": "securestring", - "defaultValue": "", - "metadata": { - "Description": "Maintenance mode password hash, relevant only for R81.20 and higher versions" - } - }, "SerialConsolePasswordHash": { "type": "securestring", "defaultValue": "", @@ -269,16 +260,12 @@ "location": "[parameters('location')]", "offers": { "R80.40 - Bring Your Own License": "BYOL", - "R81 - Bring Your Own License": "BYOL", - "R81.10 - Bring Your Own License": "BYOL", - "R81.20 - Bring Your Own License": "BYOL" + "R81 - Bring Your Own License": "BYOL" }, "offer": "[variables('offers')[parameters('cloudGuardVersion')]]", "osVersions": { "R80.40 - Bring Your Own License": "R8040", - "R81 - Bring Your Own License": "R81", - "R81.10 - Bring Your Own License": "R8110", - "R81.20 - Bring Your Own License": "R8120" + "R81 - Bring Your Own License": "R81" }, "osVersion": "[variables('osVersions')[parameters('cloudGuardVersion')]]", "serialConsoleGeographies": { @@ -338,7 +325,7 @@ "storageAccountType": "Standard_LRS", "diskSize100GB": 100, "diskSizeGB": "[add(parameters('additionalDiskSizeGB'), variables('diskSize100GB'))]", - "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', parameters('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'managementGUIClientNetwork=\"', variables('managementGUIClientNetwork'), '\"', '\n', 'sicKey=\"', parameters('sicKey'), '\"', '\n', 'primary=\"', variables('primary'), '\"', '\n', 'secondary=\"', variables('secondary'), '\"', '\n', 'logserver=\"', variables('logserver'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', 'MaintenanceModePassword=\"', parameters('MaintenanceModePasswordHash'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]", + "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', parameters('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'managementGUIClientNetwork=\"', variables('managementGUIClientNetwork'), '\"', '\n', 'sicKey=\"', parameters('sicKey'), '\"', '\n', 'primary=\"', variables('primary'), '\"', '\n', 'secondary=\"', variables('secondary'), '\"', '\n', 'logserver=\"', variables('logserver'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]", "customData64": "[base64(variables('customData'))]", "imageOffer": "[concat('check-point-cg-', toLower(variables('osVersion')))]", "imagePublisher": "checkpoint", @@ -458,7 +445,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" } } } @@ -495,7 +482,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" } } } @@ -652,7 +639,7 @@ "name": "[variables('nic1Name')]", "properties": { "enableIPForwarding": false, - "networkSecurityGroup": "[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", + "networkSecurityGroup":"[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", "ipConfigurations": [ { "name": "ipconfig1", diff --git a/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/createUiDefinition.json b/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/createUiDefinition.json index f37324f0..e2bdf52e 100644 --- a/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/createUiDefinition.json +++ b/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/createUiDefinition.json @@ -64,7 +64,7 @@ "name": "cloudGuardVersion", "type": "Microsoft.Common.DropDown", "label": "Check Point CloudGuard version", - "defaultValue": "R81.20", + "defaultValue": "R81", "toolTip": "The version of Check Point CloudGuard.", "constraints": { "allowedValues": [ @@ -75,14 +75,6 @@ { "label": "R81", "value": "R81" - }, - { - "label": "R81.10", - "value": "R81.10" - }, - { - "label": "R81.20", - "value": "R81.20" } ] } @@ -223,122 +215,6 @@ }, "count": 1 }, - { - "name": "R8110vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Management", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "excludedSizes": [ - "Standard_A1_v2", - "Standard_D1_v2", - "Standard_DS1_v2", - "Standard_F1", - "Standard_F1s", - "Standard_G1", - "Standard_GS1" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8110", - "sku": "mgmt-byol" - }, - "count": 1 - }, - { - "name": "R8110vmSizeUiMGMT25", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, '(MGMT25)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Management", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "excludedSizes": [ - "Standard_A1_v2", - "Standard_D1_v2", - "Standard_DS1_v2", - "Standard_F1", - "Standard_F1s", - "Standard_G1", - "Standard_GS1" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8110", - "sku": "mgmt-25" - }, - "count": 1 - }, - { - "name": "R8120vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Management", - "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" - ], - "constraints": { - "excludedSizes": [ - "Standard_A1_v2", - "Standard_D1_v2", - "Standard_DS1_v2", - "Standard_F1", - "Standard_F1s", - "Standard_G1", - "Standard_GS1" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8120", - "sku": "mgmt-byol" - }, - "count": 1 - }, - { - "name": "R8120vmSizeUiMGMT25", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, '(MGMT25)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Management", - "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" - ], - "constraints": { - "excludedSizes": [ - "Standard_A1_v2", - "Standard_D1_v2", - "Standard_DS1_v2", - "Standard_F1", - "Standard_F1s", - "Standard_G1", - "Standard_GS1" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8120", - "sku": "mgmt-25" - }, - "count": 1 - }, { "name": "SerialPasswordInfoBox", "type": "Microsoft.Common.InfoBox", @@ -386,53 +262,6 @@ "hideConfirmation": false } }, - { - "name": "MaintenanceModeInfoBox", - "type": "Microsoft.Common.InfoBox", - "visible": "[and(bool(basics('auth').password), not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)))]", - "options": { - "icon": "Info", - "text": "Check Point recommends setting a maintenance-mode password for recovery purposes." - } - }, - { - "visible": "[not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion))]", - "name": "EnableMaintenanceMode", - "type": "Microsoft.Common.OptionsGroup", - "label": "Enable Maintenance Mode", - "defaultValue": "Yes", - "toolTip": "A unique password hash to enable VM maintenance mode.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ] - } - }, - { - "visible": "[and(not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)), steps('chkp').EnableMaintenanceMode)]", - "name": "MaintenanceModePassword", - "type": "Microsoft.Common.PasswordBox", - "defaultValue": "", - "toolTip": "To generate a password hash use the command 'grub2-mkpasswd-pbkdf2' on Linux and paste it here.", - "label": { - "password": "Maintenance Mode password hash", - "confirmPassword": "Confirm Password" - }, - "constraints": { - "required": true, - "validationMessage": "The value must be the output of the hash command." - }, - "options": { - "hideConfirmation": false - } - }, { "name": "installationType", "type": "Microsoft.Common.DropDown", @@ -512,7 +341,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[not(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion))]", + "visible": "[not(contains('R80.40 R81' , steps('chkp').cloudGuardVersion))]", "defaultValue": "Premium", "constraints": { "allowedValues": [ @@ -532,7 +361,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion)]", + "visible": "[contains('R80.40 R81' , steps('chkp').cloudGuardVersion)]", "defaultValue": "Standard", "constraints": { "allowedValues": [ @@ -797,7 +626,7 @@ "authenticationType": "[basics('auth').authenticationType]", "sshPublicKey": "[basics('auth').sshPublicKey]", "vmName": "[basics('gatewayNameUi')]", - "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiMGMT25, steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiMGMT25, steps('chkp').R8110vmSizeUiBYOL, steps('chkp').R8110vmSizeUiMGMT25, steps('chkp').R8120vmSizeUiBYOL, steps('chkp').R8120vmSizeUiMGMT25)]", + "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiMGMT25, steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiMGMT25)]", "virtualNetworkName": "[steps('network').virtualNetwork.name]", "virtualNetworkAddressPrefix": "[steps('network').virtualNetwork.addressPrefix]", "Subnet1Name": "[steps('network').virtualNetwork.subnets.subnet1.name]", @@ -810,7 +639,7 @@ "bootstrapScript": "[steps('chkp').bootstrapScript]", "allowDownloadFromUploadToCheckPoint": "[coalesce(steps('chkp').allowUploadDownload, 'true')]", "additionalDiskSizeGB": "[int(steps('chkp').additionalDiskSizeGB)]", - "diskType": "[if(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", + "diskType": "[if(contains('R80.40 R81' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", "sourceImageVhdUri": "[coalesce(steps('chkp').sourceImageVhdUri, 'noCustomUri')]", "enableApi": "[steps('chkp').enableApi]", "adminShell": "[steps('chkp').adminShell]", @@ -818,9 +647,8 @@ "deployNewNSG": "[steps('network').NSG]", "ExistingNSG": "[steps('network').nsgSelector]", "NewNsgName": "[steps('network').NSGName]", - "addStorageAccountIpRules": "[steps('network').addStorageAccountIpRules]", - "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]", - "MaintenanceModePasswordHash": "[steps('chkp').MaintenanceModePassword]" + "addStorageAccountIpRules":"[steps('network').addStorageAccountIpRules]", + "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]" } } } \ No newline at end of file diff --git a/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/mainTemplate.json b/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/mainTemplate.json index eca6b692..44f62298 100644 --- a/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/mainTemplate.json +++ b/deprecated/azure/templates/R8040-R81/mgmt-r840-r81/mainTemplate.json @@ -15,11 +15,7 @@ "R80.40 - Bring Your Own License", "R80.40 - Pay As You Go (MGMT25)", "R81 - Bring Your Own License", - "R81 - Pay As You Go (MGMT25)", - "R81.10 - Bring Your Own License", - "R81.10 - Pay As You Go (MGMT25)", - "R81.20 - Bring Your Own License", - "R81.20 - Pay As You Go (MGMT25)" + "R81 - Pay As You Go (MGMT25)" ], "defaultValue": "R81.20 - Bring Your Own License", "metadata": { @@ -51,13 +47,6 @@ }, "defaultValue": "" }, - "MaintenanceModePasswordHash": { - "type": "securestring", - "defaultValue": "", - "metadata": { - "Description": "Maintenance mode password hash, relevant only for R81.20 and higher versions" - } - }, "SerialConsolePasswordHash": { "type": "securestring", "defaultValue": "", @@ -169,18 +158,6 @@ }, "defaultValue": "" }, - "enableApi": { - "type": "string", - "metadata": { - "description": "Accept Management API calls (NOTE: Works only in version R81.10 and above)" - }, - "defaultValue": "management_only", - "allowedValues": [ - "management_only", - "gui_clients", - "all" - ] - }, "allowDownloadFromUploadToCheckPoint": { "type": "string", "allowedValues": [ @@ -280,22 +257,14 @@ "R80.40 - Bring Your Own License": "BYOL", "R80.40 - Pay As You Go (MGMT25)": "MGMT25", "R81 - Bring Your Own License": "BYOL", - "R81 - Pay As You Go (MGMT25)": "MGMT25", - "R81.10 - Bring Your Own License": "BYOL", - "R81.10 - Pay As You Go (MGMT25)": "MGMT25", - "R81.20 - Bring Your Own License": "BYOL", - "R81.20 - Pay As You Go (MGMT25)": "MGMT25" + "R81 - Pay As You Go (MGMT25)": "MGMT25" }, "offer": "[variables('offers')[parameters('cloudGuardVersion')]]", "osVersions": { "R80.40 - Bring Your Own License": "R8040", "R80.40 - Pay As You Go (MGMT25)": "R8040", "R81 - Bring Your Own License": "R81", - "R81 - Pay As You Go (MGMT25)": "R81", - "R81.10 - Bring Your Own License": "R8110", - "R81.10 - Pay As You Go (MGMT25)": "R8110", - "R81.20 - Bring Your Own License": "R8120", - "R81.20 - Pay As You Go (MGMT25)": "R8120" + "R81 - Pay As You Go (MGMT25)": "R81" }, "osVersion": "[variables('osVersions')[parameters('cloudGuardVersion')]]", "SerialConsoleGeographies": { @@ -350,7 +319,7 @@ "storageAccountType": "Standard_LRS", "diskSize100GB": 100, "diskSizeGB": "[add(parameters('additionalDiskSizeGB'), variables('diskSize100GB'))]", - "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', parameters('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'managementGUIClientNetwork=\"', variables('managementGUIClientNetwork'), '\"', '\n', 'enableApi=\"', parameters('enableApi'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', 'MaintenanceModePassword=\"', parameters('MaintenanceModePasswordHash'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]", + "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', parameters('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'managementGUIClientNetwork=\"', variables('managementGUIClientNetwork'), '\"', '\n', 'enableApi=\"', parameters('enableApi'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]", "customData64": "[base64(variables('customData'))]", "imageOffer": "[concat('check-point-cg-', toLower(variables('osVersion')))]", "imagePublisher": "checkpoint", @@ -478,7 +447,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" }, "tagsByResource": { "value": "[parameters('tagsByResource')]" @@ -515,7 +484,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" }, "tagsByResource": { "value": "[parameters('tagsByResource')]" @@ -675,7 +644,7 @@ "name": "[variables('nic1Name')]", "properties": { "enableIPForwarding": false, - "networkSecurityGroup": "[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", + "networkSecurityGroup":"[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", "ipConfigurations": [ { "name": "ipconfig1", diff --git a/deprecated/azure/templates/R8040-R81/single-ipv6-r8040-r81/mainTemplate.json b/deprecated/azure/templates/R8040-R81/single-ipv6-r8040-r81/mainTemplate.json index 7679d2a9..2a322a31 100644 --- a/deprecated/azure/templates/R8040-R81/single-ipv6-r8040-r81/mainTemplate.json +++ b/deprecated/azure/templates/R8040-R81/single-ipv6-r8040-r81/mainTemplate.json @@ -17,13 +17,7 @@ "R80.40 - Pay As You Go (NGTX)", "R81 - Bring Your Own License", "R81 - Pay As You Go (NGTP)", - "R81 - Pay As You Go (NGTX)", - "R81.10 - Bring Your Own License", - "R81.10 - Pay As You Go (NGTP)", - "R81.10 - Pay As You Go (NGTX)", - "R81.20 - Bring Your Own License", - "R81.20 - Pay As You Go (NGTP)", - "R81.20 - Pay As You Go (NGTX)" + "R81 - Pay As You Go (NGTX)" ], "defaultValue": "R81.20 - Bring Your Own License", "metadata": { @@ -313,13 +307,7 @@ "R80.40 - Pay As You Go (NGTX)": "NGTX", "R81 - Bring Your Own License": "BYOL", "R81 - Pay As You Go (NGTP)": "NGTP", - "R81 - Pay As You Go (NGTX)": "NGTX", - "R81.10 - Bring Your Own License": "BYOL", - "R81.10 - Pay As You Go (NGTP)": "NGTP", - "R81.10 - Pay As You Go (NGTX)": "NGTX", - "R81.20 - Bring Your Own License": "BYOL", - "R81.20 - Pay As You Go (NGTP)": "NGTP", - "R81.20 - Pay As You Go (NGTX)": "NGTX" + "R81 - Pay As You Go (NGTX)": "NGTX" }, "offer": "[variables('offers')[parameters('cloudGuardVersion')]]", "osVersions": { @@ -328,13 +316,7 @@ "R80.40 - Pay As You Go (NGTX)": "R8040", "R81 - Bring Your Own License": "R81", "R81 - Pay As You Go (NGTP)": "R81", - "R81 - Pay As You Go (NGTX)": "R81", - "R81.10 - Bring Your Own License": "R8110", - "R81.10 - Pay As You Go (NGTP)": "R8110", - "R81.10 - Pay As You Go (NGTX)": "R8110", - "R81.20 - Bring Your Own License": "R8120", - "R81.20 - Pay As You Go (NGTP)": "R8120", - "R81.20 - Pay As You Go (NGTX)": "R8120" + "R81 - Pay As You Go (NGTX)": "R81" }, "osVersion": "[variables('osVersions')[parameters('cloudGuardVersion')]]", "SerialConsoleGeographies": { @@ -729,7 +711,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" } } } @@ -744,7 +726,7 @@ "location": "[variables('location')]", "name": "[variables('nic1Name')]", "properties": { - "networkSecurityGroup": "[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", + "networkSecurityGroup":"[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", "enableIPForwarding": true, "enableAcceleratedNetworking": true, "ipConfigurations": [ diff --git a/deprecated/azure/templates/R8040-R81/single-r8040-r81/createUiDefinition.json b/deprecated/azure/templates/R8040-R81/single-r8040-r81/createUiDefinition.json index 18b5112a..0cc7cd29 100644 --- a/deprecated/azure/templates/R8040-R81/single-r8040-r81/createUiDefinition.json +++ b/deprecated/azure/templates/R8040-R81/single-r8040-r81/createUiDefinition.json @@ -64,7 +64,7 @@ "name": "cloudGuardVersion", "type": "Microsoft.Common.DropDown", "label": "Check Point CloudGuard version", - "defaultValue": "R81.20", + "defaultValue": "R81", "toolTip": "The version of Check Point CloudGuard.", "constraints": { "allowedValues": [ @@ -75,724 +75,38 @@ { "label": "R81", "value": "R81" - }, - { - "label": "R81.10", - "value": "R81.10" - }, - { - "label": "R81.20", - "value": "R81.20" - } - ] - } - }, - { - "name": "R80Offer", - "type": "Microsoft.Common.DropDown", - "label": "License type", - "toolTip": "The type of license.", - "defaultValue": "Bring Your Own License", - "visible": true, - "constraints": { - "allowedValues": [ - { - "label": "Bring Your Own License", - "value": "Bring Your Own License" - }, - { - "label": "Pay As You Go (NGTP)", - "value": "Pay As You Go (NGTP)" - }, - { - "label": "Pay As You Go (NGTX)", - "value": "Pay As You Go (NGTX)" - } - ] - } - }, - { - "name": "R8040vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8040", - "sku": "sg-byol" - }, - "count": 1 - }, - { - "name": "R8040vmSizeUiNGTP", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTP)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8040", - "sku": "sg-ngtp" - }, - "count": 1 - }, - { - "name": "R8040vmSizeUiNGTX", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTX)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8040", - "sku": "sg-ngtx" - }, - "count": 1 - }, - { - "name": "R81vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r81", - "sku": "sg-byol" - }, - "count": 1 - }, - { - "name": "R81vmSizeUiNGTP", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTP)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" + } ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r81", - "sku": "sg-ngtp" - }, - "count": 1 + } }, { - "name": "R81vmSizeUiNGTX", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTX)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], + "name": "R80Offer", + "type": "Microsoft.Common.DropDown", + "label": "License type", + "toolTip": "The type of license.", + "defaultValue": "Bring Your Own License", + "visible": true, "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" + "allowedValues": [ + { + "label": "Bring Your Own License", + "value": "Bring Your Own License" + }, + { + "label": "Pay As You Go (NGTP)", + "value": "Pay As You Go (NGTP)" + }, + { + "label": "Pay As You Go (NGTX)", + "value": "Pay As You Go (NGTX)" + } ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r81", - "sku": "sg-ngtx" - }, - "count": 1 + } }, { - "name": "R8110vmSizeUiBYOL", + "name": "R8040vmSizeUiBYOL", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ @@ -897,15 +211,15 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8110", + "offer": "check-point-cg-r8040", "sku": "sg-byol" }, "count": 1 }, { - "name": "R8110vmSizeUiNGTP", + "name": "R8040vmSizeUiNGTP", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, '(NGTP)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTP)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ @@ -1010,15 +324,15 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8110", + "offer": "check-point-cg-r8040", "sku": "sg-ngtp" }, "count": 1 }, { - "name": "R8110vmSizeUiNGTX", + "name": "R8040vmSizeUiNGTX", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, '(NGTX)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R80.40'), contains(steps('chkp').R80Offer, '(NGTX)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ @@ -1123,20 +437,20 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8110", + "offer": "check-point-cg-r8040", "sku": "sg-ngtx" }, "count": 1 }, { - "name": "R8120vmSizeUiBYOL", + "name": "R81vmSizeUiBYOL", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" + "Standard_D3_v2", + "Standard_DS3_v2" ], "constraints": { "allowedSizes": [ @@ -1236,20 +550,20 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8120", + "offer": "check-point-cg-r81", "sku": "sg-byol" }, "count": 1 }, { - "name": "R8120vmSizeUiNGTP", + "name": "R81vmSizeUiNGTP", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, '(NGTP)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTP)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" + "Standard_D3_v2", + "Standard_DS3_v2" ], "constraints": { "allowedSizes": [ @@ -1349,20 +663,20 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8120", + "offer": "check-point-cg-r81", "sku": "sg-ngtp" }, "count": 1 }, { - "name": "R8120vmSizeUiNGTX", + "name": "R81vmSizeUiNGTX", "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, '(NGTX)'))]", + "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81'), contains(steps('chkp').R80Offer, '(NGTX)'))]", "label": "Virtual machine size", "toolTip": "The VM size of the Security Gateway", "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" + "Standard_D3_v2", + "Standard_DS3_v2" ], "constraints": { "allowedSizes": [ @@ -1462,7 +776,7 @@ "osPlatform": "Linux", "imageReference": { "publisher": "checkpoint", - "offer": "check-point-cg-r8120", + "offer": "check-point-cg-r81", "sku": "sg-ngtx" }, "count": 1 @@ -1471,7 +785,7 @@ "name": "installationType", "type": "Microsoft.Common.DropDown", "label": "Installation type", - "visible": "[or(equals(steps('chkp').cloudGuardVersion, 'R80.40'), equals(steps('chkp').cloudGuardVersion, 'R81'), equals(steps('chkp').cloudGuardVersion, 'R81.10'), equals(steps('chkp').cloudGuardVersion, 'R81.20'))]", + "visible": "[or(equals(steps('chkp').cloudGuardVersion, 'R80.40'), equals(steps('chkp').cloudGuardVersion, 'R81'))]", "defaultValue": "Gateway only", "toolTip": "Select the type of deployment", "constraints": { @@ -1517,10 +831,10 @@ { "name": "standaloneValidation", "type": "Microsoft.Common.InfoBox", - "visible": "[and(equals(steps('chkp').installationType, 'standalone'), not(and(equals(steps('chkp').R80Offer, 'Bring Your Own License'),or(equals(steps('chkp').cloudGuardVersion, 'R80.40'), equals(steps('chkp').cloudGuardVersion, 'R81'), equals(steps('chkp').cloudGuardVersion, 'R81.10'), equals(steps('chkp').cloudGuardVersion, 'R81.20')))))]", + "visible": "[and(equals(steps('chkp').installationType, 'standalone'), not(and(equals(steps('chkp').R80Offer, 'Bring Your Own License'),or(equals(steps('chkp').cloudGuardVersion, 'R80.40'), equals(steps('chkp').cloudGuardVersion, 'R81')))))]", "options": { "icon": "Error", - "text": "Standalone deployment is ONLY supported for CloudGuard versions R80.40, R81, R81.10 and R81.20 Bring Your Own License." + "text": "Standalone deployment is ONLY supported for CloudGuard versions R80.40, R81 Bring Your Own License." } }, { @@ -1533,7 +847,7 @@ "regex": "^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))$", "validationMessage": "Enter a valid IPv4 network CIDR" }, - "visible": "[and(or(equals(steps('chkp').cloudGuardVersion, 'R80.40'), equals(steps('chkp').cloudGuardVersion, 'R81'), equals(steps('chkp').cloudGuardVersion, 'R81.10'), equals(steps('chkp').cloudGuardVersion, 'R81.20')), equals(steps('chkp').installationType, 'standalone'))]" + "visible": "[and(or(equals(steps('chkp').cloudGuardVersion, 'R80.40'), equals(steps('chkp').cloudGuardVersion, 'R81')), equals(steps('chkp').installationType, 'standalone'))]" }, { "name": "sicKeyUi", @@ -1600,53 +914,6 @@ "hideConfirmation": false } }, - { - "name": "MaintenanceModeInfoBox", - "type": "Microsoft.Common.InfoBox", - "visible": "[and(bool(basics('auth').password), not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)))]", - "options": { - "icon": "Info", - "text": "Check Point recommends setting a maintenance-mode password for recovery purposes." - } - }, - { - "visible": "[not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion))]", - "name": "EnableMaintenanceMode", - "type": "Microsoft.Common.OptionsGroup", - "label": "Enable Maintenance Mode", - "defaultValue": "Yes", - "toolTip": "A unique password hash to enable VM maintenance mode.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ] - } - }, - { - "visible": "[and(not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)), steps('chkp').EnableMaintenanceMode)]", - "name": "MaintenanceModePassword", - "type": "Microsoft.Common.PasswordBox", - "defaultValue": "", - "toolTip": "To generate a password hash use the command 'grub2-mkpasswd-pbkdf2' on Linux and paste it here.", - "label": { - "password": "Maintenance Mode password hash", - "confirmPassword": "Confirm Password" - }, - "constraints": { - "required": true, - "validationMessage": "The value must be the output of the hash command." - }, - "options": { - "hideConfirmation": false - } - }, { "name": "bootstrapScript", "type": "Microsoft.Common.FileUpload", @@ -1688,7 +955,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[not(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion))]", + "visible": "[not(contains('R80.40 R81' , steps('chkp').cloudGuardVersion))]", "defaultValue": "Premium", "constraints": { "allowedValues": [ @@ -1708,7 +975,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion)]", + "visible": "[contains('R80.40 R81' , steps('chkp').cloudGuardVersion)]", "defaultValue": "Standard", "constraints": { "allowedValues": [ @@ -2003,11 +1270,10 @@ "cloudGuardVersion": "[concat(steps('chkp').cloudGuardVersion, ' - ', coalesce(steps('chkp').R80Offer, 'Bring Your Own License'))]", "adminPassword": "[basics('auth').password]", "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]", - "MaintenanceModePasswordHash": "[steps('chkp').MaintenanceModePassword]", "authenticationType": "[basics('auth').authenticationType]", "sshPublicKey": "[basics('auth').sshPublicKey]", "vmName": "[basics('gatewayNameUi')]", - "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiNGTP, steps('chkp').R8040vmSizeUiNGTX,steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiNGTP, steps('chkp').R81vmSizeUiNGTX, steps('chkp').R8110vmSizeUiBYOL, steps('chkp').R8110vmSizeUiNGTP, steps('chkp').R8110vmSizeUiNGTX, steps('chkp').R8120vmSizeUiBYOL, steps('chkp').R8120vmSizeUiNGTP, steps('chkp').R8120vmSizeUiNGTX )]", + "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiNGTP, steps('chkp').R8040vmSizeUiNGTX,steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiNGTP, steps('chkp').R81vmSizeUiNGTX)]", "sicKey": "[coalesce(steps('chkp').sicKeyUi, 'notused')]", "virtualNetworkName": "[steps('network').virtualNetwork.name]", "virtualNetworkAddressPrefix": "[steps('network').virtualNetwork.addressPrefix]", @@ -2024,7 +1290,7 @@ "bootstrapScript": "[steps('chkp').bootstrapScript]", "allowDownloadFromUploadToCheckPoint": "[coalesce(steps('chkp').allowUploadDownload, 'true')]", "additionalDiskSizeGB": "[int(steps('chkp').additionalDiskSizeGB)]", - "diskType": "[if(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", + "diskType": "[if(contains('R80.40 R81' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", "sourceImageVhdUri": "[coalesce(steps('chkp').sourceImageVhdUri, 'noCustomUri')]", "customMetrics": "[steps('chkp').customMetrics]", "adminShell": "[steps('chkp').adminShell]", @@ -2033,7 +1299,7 @@ "deployNewNSG": "[steps('network').NSG]", "ExistingNSG": "[steps('network').nsgSelector]", "NewNsgName": "[steps('network').NSGName]", - "addStorageAccountIpRules": "[steps('network').addStorageAccountIpRules]" + "addStorageAccountIpRules":"[steps('network').addStorageAccountIpRules]" } } } diff --git a/deprecated/azure/templates/R8040-R81/single-r8040-r81/mainTemplate.json b/deprecated/azure/templates/R8040-R81/single-r8040-r81/mainTemplate.json index 9acc1ccf..911b8572 100644 --- a/deprecated/azure/templates/R8040-R81/single-r8040-r81/mainTemplate.json +++ b/deprecated/azure/templates/R8040-R81/single-r8040-r81/mainTemplate.json @@ -25,12 +25,6 @@ "R81 - Bring Your Own License", "R81 - Pay As You Go (NGTP)", "R81 - Pay As You Go (NGTX)", - "R81.10 - Bring Your Own License", - "R81.10 - Pay As You Go (NGTP)", - "R81.10 - Pay As You Go (NGTX)", - "R81.20 - Bring Your Own License", - "R81.20 - Pay As You Go (NGTP)", - "R81.20 - Pay As You Go (NGTX)" ], "defaultValue": "R81.20 - Bring Your Own License", "metadata": { @@ -62,13 +56,6 @@ }, "defaultValue": "" }, - "MaintenanceModePasswordHash": { - "type": "securestring", - "defaultValue": "", - "metadata": { - "Description": "Maintenance mode password hash, relevant only for R81.20 and higher versions" - } - }, "SerialConsolePasswordHash": { "type": "securestring", "defaultValue": "", @@ -320,13 +307,7 @@ "R80.40 - Pay As You Go (NGTX)": "NGTX", "R81 - Bring Your Own License": "BYOL", "R81 - Pay As You Go (NGTP)": "NGTP", - "R81 - Pay As You Go (NGTX)": "NGTX", - "R81.10 - Bring Your Own License": "BYOL", - "R81.10 - Pay As You Go (NGTP)": "NGTP", - "R81.10 - Pay As You Go (NGTX)": "NGTX", - "R81.20 - Bring Your Own License": "BYOL", - "R81.20 - Pay As You Go (NGTP)": "NGTP", - "R81.20 - Pay As You Go (NGTX)": "NGTX" + "R81 - Pay As You Go (NGTX)": "NGTX" }, "offer": "[variables('offers')[parameters('cloudGuardVersion')]]", "osVersions": { @@ -335,13 +316,7 @@ "R80.40 - Pay As You Go (NGTX)": "R8040", "R81 - Bring Your Own License": "R81", "R81 - Pay As You Go (NGTP)": "R81", - "R81 - Pay As You Go (NGTX)": "R81", - "R81.10 - Bring Your Own License": "R8110", - "R81.10 - Pay As You Go (NGTP)": "R8110", - "R81.10 - Pay As You Go (NGTX)": "R8110", - "R81.20 - Bring Your Own License": "R8120", - "R81.20 - Pay As You Go (NGTP)": "R8120", - "R81.20 - Pay As You Go (NGTX)": "R8120" + "R81 - Pay As You Go (NGTX)": "R81" }, "osVersion": "[variables('osVersions')[parameters('cloudGuardVersion')]]", "serialConsoleGeographies": { @@ -400,10 +375,10 @@ "storageAccountType": "Standard_LRS", "diskSize100GB": 100, "diskSizeGB": "[add(parameters('additionalDiskSizeGB'), variables('diskSize100GB'))]", - "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', variables('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'sicKey=\"', variables('sicKey'), '\"', '\n', 'managementGUIClientNetwork=\"', variables('managementGUIClientNetwork'), '\"', '\n', 'customMetrics=\"', variables('customMetrics'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', 'smart1CloudToken=\"', parameters('smart1CloudToken'), '\"', '\n', 'MaintenanceModePassword=\"', parameters('MaintenanceModePasswordHash'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]", + "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', variables('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'sicKey=\"', variables('sicKey'), '\"', '\n', 'managementGUIClientNetwork=\"', variables('managementGUIClientNetwork'), '\"', '\n', 'customMetrics=\"', variables('customMetrics'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', 'smart1CloudToken=\"', parameters('smart1CloudToken'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]", "imageOffer": "[concat('check-point-cg-', toLower(variables('osVersion')))]", "imagePublisher": "checkpoint", - "imageSku": "[if(and(equals(parameters('installationType'), 'standalone'), or(equals(variables('osVersion'),'R8040'), equals(variables('osVersion'),'R81'), equals(variables('osVersion'),'R8110'), equals(variables('osVersion'),'R8120'))), 'mgmt-byol', 'sg-byol')]", + "imageSku": "[if(and(equals(parameters('installationType'), 'standalone'), or(equals(variables('osVersion'),'R8040'), equals(variables('osVersion'),'R81'))), 'mgmt-byol', 'sg-byol')]", "imageReferenceBYOL": { "offer": "[variables('imageOffer')]", "publisher": "[variables('imagePublisher')]", @@ -581,7 +556,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" } } } @@ -615,7 +590,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" } } } @@ -649,7 +624,7 @@ "properties": { "enableIPForwarding": true, "enableAcceleratedNetworking": true, - "networkSecurityGroup": "[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", + "networkSecurityGroup":"[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", "ipConfigurations": [ { "name": "ipconfig1", diff --git a/deprecated/azure/templates/R8040-R81/vmss-ipv6-r8040-r81/mainTemplate.json b/deprecated/azure/templates/R8040-R81/vmss-ipv6-r8040-r81/mainTemplate.json index 5821a075..fe55976d 100644 --- a/deprecated/azure/templates/R8040-R81/vmss-ipv6-r8040-r81/mainTemplate.json +++ b/deprecated/azure/templates/R8040-R81/vmss-ipv6-r8040-r81/mainTemplate.json @@ -24,15 +24,9 @@ "R80.40 - Pay As You Go (NGTX)", "R81 - Bring Your Own License", "R81 - Pay As You Go (NGTP)", - "R81 - Pay As You Go (NGTX)", - "R81.10 - Bring Your Own License", - "R81.10 - Pay As You Go (NGTP)", - "R81.10 - Pay As You Go (NGTX)", - "R81.20 - Bring Your Own License", - "R81.20 - Pay As You Go (NGTP)", - "R81.20 - Pay As You Go (NGTX)" + "R81 - Pay As You Go (NGTX)" ], - "defaultValue": "R81.20 - Bring Your Own License", + "defaultValue": "R81 - Bring Your Own License", "metadata": { "description": "Version of Check Point CloudGuard" } @@ -268,15 +262,6 @@ "description": "The IP address used to manage the VMSS instances." } }, - "additionalDiskSizeGB": { - "type": "int", - "defaultValue": 0, - "metadata": { - "description": "Amount of additional disk space (in GB), not relevant for R81.20 and below" - }, - "minValue": 0, - "maxValue": 3995 - }, "diskType": { "type": "string", "defaultValue": "Standard_LRS", @@ -393,13 +378,7 @@ "R80.40 - Pay As You Go (NGTX)": "NGTX", "R81 - Bring Your Own License": "BYOL", "R81 - Pay As You Go (NGTP)": "NGTP", - "R81 - Pay As You Go (NGTX)": "NGTX", - "R81.10 - Bring Your Own License": "BYOL", - "R81.10 - Pay As You Go (NGTP)": "NGTP", - "R81.10 - Pay As You Go (NGTX)": "NGTX", - "R81.20 - Bring Your Own License": "BYOL", - "R81.20 - Pay As You Go (NGTP)": "NGTP", - "R81.20 - Pay As You Go (NGTX)": "NGTX" + "R81 - Pay As You Go (NGTX)": "NGTX" }, "offer": "[variables('offers')[parameters('cloudGuardVersion')]]", "osVersions": { @@ -408,13 +387,7 @@ "R80.40 - Pay As You Go (NGTX)": "R8040", "R81 - Bring Your Own License": "R81", "R81 - Pay As You Go (NGTP)": "R81", - "R81 - Pay As You Go (NGTX)": "R81", - "R81.10 - Bring Your Own License": "R8110", - "R81.10 - Pay As You Go (NGTP)": "R8110", - "R81.10 - Pay As You Go (NGTX)": "R8110", - "R81.20 - Bring Your Own License": "R8120", - "R81.20 - Pay As You Go (NGTP)": "R8120", - "R81.20 - Pay As You Go (NGTX)": "R8120" + "R81 - Pay As You Go (NGTX)": "R81" }, "osVersion": "[variables('osVersions')[parameters('cloudGuardVersion')]]", "SerialConsoleGeographies": { @@ -468,7 +441,7 @@ "storageAccountName": "[concat('bootdiag', uniqueString(variables('resourceGroup').id, deployment().name))]", "storageAccountType": "Standard_LRS", "diskSize100GB": 100, - "additionalDiskSizeGB": "[if(contains('R8040 R81 R8110 R8120', variables('osVersion')), 0, parameters('additionalDiskSizeGB'))]", + "additionalDiskSizeGB": "[if(contains('R8040 R81', variables('osVersion')), 0, parameters('additionalDiskSizeGB'))]", "diskSizeGB": "[add(variables('additionalDiskSizeGB'), variables('diskSize100GB'))]", "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', variables('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'sicKey=\"', variables('sicKey'), '\"', '\n', 'customMetrics=\"', variables('customMetrics'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n')]", "imageOffer": "[concat('check-point-cg-', toLower(variables('osVersion')))]", @@ -956,7 +929,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" }, "tagsByResource": { "value": "[parameters('tagsByResource')]" @@ -1003,6 +976,7 @@ }, "tags": "[ if(contains(parameters('tagsByResource'), 'Microsoft.Compute/images'), parameters('tagsByResource')['Microsoft.Compute/images'], json('{}')) ]" }, + { "type": "Microsoft.Network/networkSecurityGroups", "condition": "[and(parameters('deployNewNSG'),equals(parameters('vnetNewOrExisting'), 'new'))]", diff --git a/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/createUiDefinition.json b/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/createUiDefinition.json index 2561be28..c8b71304 100644 --- a/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/createUiDefinition.json +++ b/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/createUiDefinition.json @@ -16,11 +16,21 @@ } } }, + { + "name": "warning reserved words InfoBox", + "type": "Microsoft.Common.InfoBox", + "visible": true, + "options": { + "icon": "Warning", + "text": "Note: Resource group and Gateway scale set names must be without reserved words according to: sk40179", + "uri": "https://support.checkpoint.com/results/sk/sk40179" + } + }, { "name": "gatewayScaleSetNameUi", "type": "Microsoft.Common.TextBox", "label": "Gateway scale set name", - "toolTip": "The name of the Check Point Security Gateway Scale Set.", + "toolTip": "The name of the Check Point Security Gateway Scale Set", "constraints": { "required": true, "regex": "^[a-z0-9A-Z]{1,30}$", @@ -578,7 +588,7 @@ "name": "cloudGuardVersion", "type": "Microsoft.Common.DropDown", "label": "Check Point CloudGuard version", - "defaultValue": "R81.20", + "defaultValue": "R81", "toolTip": "The version of Check Point CloudGuard.", "constraints": { "allowedValues": [ @@ -589,14 +599,6 @@ { "label": "R81", "value": "R81" - }, - { - "label": "R81.10", - "value": "R81.10" - }, - { - "label": "R81.20", - "value": "R81.20" } ] } @@ -1304,743 +1306,65 @@ "count": "[steps('autoprovision').vmCount]" }, { - "name": "R8110vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], + "name": "adminShell", + "type": "Microsoft.Common.DropDown", + "label": "Default shell for the admin user", + "defaultValue": "/etc/cli.sh", + "toolTip": "The default shell for the admin user", "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" + "allowedValues": [ + { + "label": "/etc/cli.sh", + "value": "/etc/cli.sh" + }, + { + "label": "/bin/bash", + "value": "/bin/bash" + }, + { + "label": "/bin/csh", + "value": "/bin/csh" + }, + { + "label": "/bin/tcsh", + "value": "/bin/tcsh" + } ] + } + }, + { + "name": "sicKeyUi", + "type": "Microsoft.Common.PasswordBox", + "label": { + "password": "SIC Key", + "confirmPassword": "Confirm SIC Key" }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8110", - "sku": "sg-byol" + "toolTip": "Set the Secure Internal Communication one time secret used to set up trust between the gateway and the management server.", + "constraints": { + "required": true, + "regex": "^[a-z0-9A-Z]{12,30}$", + "validationMessage": "Only alphanumeric characters are allowed, and the value must be 12-30 characters long." }, - "count": "[steps('autoprovision').vmCount]" + "options": { + "hideConfirmation": false + } }, { - "name": "R8110vmSizeUiNGTP", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, '(NGTP)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8110", - "sku": "sg-ngtp" - }, - "count": "[steps('autoprovision').vmCount]" - }, - { - "name": "R8110vmSizeUiNGTX", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.10'), contains(steps('chkp').R80Offer, '(NGTX)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D3_v2", - "Standard_DS3_v2" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8110", - "sku": "sg-ngtx" - }, - "count": "[steps('autoprovision').vmCount]" - }, - { - "name": "R8120vmSizeUiBYOL", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8120", - "sku": "sg-byol" - }, - "count": "[steps('autoprovision').vmCount]" - }, - { - "name": "R8120vmSizeUiNGTP", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, '(NGTP)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8120", - "sku": "sg-ngtp" - }, - "count": "[steps('autoprovision').vmCount]" - }, - { - "name": "R8120vmSizeUiNGTX", - "type": "Microsoft.Compute.SizeSelector", - "visible": "[and(equals(steps('chkp').cloudGuardVersion, 'R81.20'), contains(steps('chkp').R80Offer, '(NGTX)'))]", - "label": "Virtual machine size", - "toolTip": "The VM size of the Security Gateway", - "recommendedSizes": [ - "Standard_D4ds_v5", - "Standard_D4d_v5" - ], - "constraints": { - "allowedSizes": [ - "Standard_D4_v4", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D48_v4", - "Standard_D64_v4", - "Standard_D4s_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D48s_v4", - "Standard_D64s_v4", - "Standard_D2_v5", - "Standard_D4_v5", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D2s_v5", - "Standard_D4s_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D2d_v5", - "Standard_D4d_v5", - "Standard_D8d_v5", - "Standard_D16d_v5", - "Standard_D32d_v5", - "Standard_D2ds_v5", - "Standard_D4ds_v5", - "Standard_D8ds_v5", - "Standard_D16ds_v5", - "Standard_D32ds_v5", - "Standard_DS2_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_F2s", - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_D4s_v3", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D64s_v3", - "Standard_E4s_v3", - "Standard_E8s_v3", - "Standard_E16s_v3", - "Standard_E20s_v3", - "Standard_E32s_v3", - "Standard_E64s_v3", - "Standard_E64is_v3", - "Standard_F4s_v2", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_F64s_v2", - "Standard_M8ms", - "Standard_M16ms", - "Standard_M32ms", - "Standard_M64ms", - "Standard_M64s", - "Standard_D2_v2", - "Standard_D3_v2", - "Standard_D4_v2", - "Standard_D5_v2", - "Standard_D11_v2", - "Standard_D12_v2", - "Standard_D13_v2", - "Standard_D14_v2", - "Standard_D15_v2", - "Standard_F2", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_D4_v3", - "Standard_D8_v3", - "Standard_D16_v3", - "Standard_D32_v3", - "Standard_D64_v3", - "Standard_E4_v3", - "Standard_E8_v3", - "Standard_E16_v3", - "Standard_E20_v3", - "Standard_E32_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_DS11_v2", - "Standard_DS12_v2", - "Standard_DS13_v2", - "Standard_DS14_v2", - "Standard_DS15_v2" - ] - }, - "osPlatform": "Linux", - "imageReference": { - "publisher": "checkpoint", - "offer": "check-point-cg-r8120", - "sku": "sg-ngtx" - }, - "count": "[steps('autoprovision').vmCount]" - }, - { - "name": "adminShell", - "type": "Microsoft.Common.DropDown", - "label": "Default shell for the admin user", - "defaultValue": "/etc/cli.sh", - "toolTip": "The default shell for the admin user", - "constraints": { - "allowedValues": [ - { - "label": "/etc/cli.sh", - "value": "/etc/cli.sh" - }, - { - "label": "/bin/bash", - "value": "/bin/bash" - }, - { - "label": "/bin/csh", - "value": "/bin/csh" - }, - { - "label": "/bin/tcsh", - "value": "/bin/tcsh" - } - ] - } - }, - { - "name": "sicKeyUi", - "type": "Microsoft.Common.PasswordBox", - "label": { - "password": "SIC Key", - "confirmPassword": "Confirm SIC Key" - }, - "toolTip": "Set the Secure Internal Communication one time secret used to set up trust between the gateway and the management server.", - "constraints": { - "required": true, - "regex": "^[a-z0-9A-Z]{12,30}$", - "validationMessage": "Only alphanumeric characters are allowed, and the value must be 12-30 characters long." - }, - "options": { - "hideConfirmation": false - } - }, - { - "name": "SerialPasswordInfoBox", - "type": "Microsoft.Common.InfoBox", - "visible": "[bool(basics('auth').sshPublicKey)]", - "options": { - "icon": "Info", - "text": "Check Point recommends setting serial console password and maintenance-mode password for recovery purposes. For R81.10 and below the serial console password is used also as maintenance-mode password" - } - }, - { - "visible": "[bool(basics('auth').sshPublicKey)]", - "name": "EnableSerialConsolePassword", - "type": "Microsoft.Common.OptionsGroup", - "label": "Enable Serial console password", - "defaultValue": "Yes", - "toolTip": "A unique password hash to enable VM connection via serial console.", + "name": "SerialPasswordInfoBox", + "type": "Microsoft.Common.InfoBox", + "visible": "[bool(basics('auth').sshPublicKey)]", + "options": { + "icon": "Info", + "text": "Check Point recommends setting serial console password and maintenance-mode password for recovery purposes. For R81.10 and below the serial console password is used also as maintenance-mode password" + } + }, + { + "visible": "[bool(basics('auth').sshPublicKey)]", + "name": "EnableSerialConsolePassword", + "type": "Microsoft.Common.OptionsGroup", + "label": "Enable Serial console password", + "defaultValue": "Yes", + "toolTip": "A unique password hash to enable VM connection via serial console.", "constraints": { "allowedValues": [ { @@ -2072,53 +1396,6 @@ "hideConfirmation": false } }, - { - "name": "MaintenanceModeInfoBox", - "type": "Microsoft.Common.InfoBox", - "visible": "[and(bool(basics('auth').password), not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)))]", - "options": { - "icon": "Info", - "text": "Check Point recommends setting a maintenance-mode password for recovery purposes." - } - }, - { - "visible": "[not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion))]", - "name": "EnableMaintenanceMode", - "type": "Microsoft.Common.OptionsGroup", - "label": "Enable Maintenance Mode", - "defaultValue": "Yes", - "toolTip": "A unique password hash to enable VM maintenance mode.", - "constraints": { - "allowedValues": [ - { - "label": "Yes", - "value": true - }, - { - "label": "No", - "value": false - } - ] - } - }, - { - "visible": "[and(not(contains('R80.40 R81 R81.10', steps('chkp').cloudGuardVersion)), steps('chkp').EnableMaintenanceMode)]", - "name": "MaintenanceModePassword", - "type": "Microsoft.Common.PasswordBox", - "defaultValue": "", - "toolTip": "To generate a password hash use the command 'grub2-mkpasswd-pbkdf2' on Linux and paste it here.", - "label": { - "password": "Maintenance Mode password hash", - "confirmPassword": "Confirm Password" - }, - "constraints": { - "required": true, - "validationMessage": "The value must be the output of the hash command." - }, - "options": { - "hideConfirmation": false - } - }, { "name": "bootstrapScript", "type": "Microsoft.Common.FileUpload", @@ -2159,7 +1436,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[not(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion))]", + "visible": "[not(contains('R80.40 R81' , steps('chkp').cloudGuardVersion))]", "defaultValue": "Premium", "constraints": { "allowedValues": [ @@ -2179,7 +1456,7 @@ "type": "Microsoft.Common.OptionsGroup", "label": "VM disk type", "toolTip": "Type of CloudGuard disk.", - "visible": "[contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion)]", + "visible": "[contains('R80.40 R81' , steps('chkp').cloudGuardVersion)]", "defaultValue": "Standard", "constraints": { "allowedValues": [ @@ -2204,7 +1481,7 @@ "regex": "^([0-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-2][0-9][0-9][0-9]|3[0-8][0-9][0-9]|399[0-5])$", "validationMessage": "Select a number between 0 and 3995" }, - "visible": "[not(contains('R80.40 R81 R81.10 R81.20', steps('chkp').cloudGuardVersion))]" + "visible": "[not(contains('R80.40 R81', steps('chkp').cloudGuardVersion))]" }, { "name": "useCustomImageUri", @@ -2422,12 +1699,12 @@ "availabilityZonesNum": "[coalesce(steps('autoprovision').availabilityZonesNum, int('0'))]", "customMetrics": "[steps('autoprovision').customMetrics]", "cloudGuardVersion": "[concat(steps('chkp').cloudGuardVersion, ' - ', coalesce(steps('chkp').R80Offer, 'Bring Your Own License'))]", - "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiNGTP, steps('chkp').R8040vmSizeUiNGTX, steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiNGTP, steps('chkp').R81vmSizeUiNGTX, steps('chkp').R8110vmSizeUiBYOL, steps('chkp').R8110vmSizeUiNGTP, steps('chkp').R8110vmSizeUiNGTX, steps('chkp').R8120vmSizeUiBYOL, steps('chkp').R8120vmSizeUiNGTP, steps('chkp').R8120vmSizeUiNGTX)]", + "vmSize": "[coalesce(steps('chkp').R8040vmSizeUiBYOL, steps('chkp').R8040vmSizeUiNGTP, steps('chkp').R8040vmSizeUiNGTX, steps('chkp').R81vmSizeUiBYOL, steps('chkp').R81vmSizeUiNGTP, steps('chkp').R81vmSizeUiNGTX)]", "sicKey": "[steps('chkp').sicKeyUi]", "bootstrapScript": "[steps('chkp').bootstrapScript]", "allowDownloadFromUploadToCheckPoint": "[coalesce(steps('chkp').allowUploadDownload, 'true')]", "additionalDiskSizeGB": "[int(steps('chkp').additionalDiskSizeGB)]", - "diskType": "[if(contains('R80.40 R81 R81.10' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", + "diskType": "[if(contains('R80.40 R81' , steps('chkp').cloudGuardVersion) , steps('chkp').VMDiskTypeOldVersions , steps('chkp').VMDiskType)]", "sourceImageVhdUri": "[coalesce(steps('chkp').sourceImageVhdUri, 'noCustomUri')]", "virtualNetworkName": "[steps('network').virtualNetwork.name]", "virtualNetworkAddressPrefixes": "[steps('network').virtualNetwork.addressPrefixes]", @@ -2448,9 +1725,8 @@ "deployNewNSG": "[steps('network').NSG]", "ExistingNSG": "[steps('network').nsgSelector]", "NewNsgName": "[steps('network').NSGName]", - "addStorageAccountIpRules": "[steps('network').addStorageAccountIpRules]", - "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]", - "MaintenanceModePasswordHash": "[steps('chkp').MaintenanceModePassword]" + "addStorageAccountIpRules":"[steps('network').addStorageAccountIpRules]", + "SerialConsolePasswordHash": "[steps('chkp').AdditionalPassword]" } } } diff --git a/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/mainTemplate.json b/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/mainTemplate.json index 2d654367..b343976c 100644 --- a/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/mainTemplate.json +++ b/deprecated/azure/templates/R8040-R81/vmss-r8040-r81/mainTemplate.json @@ -24,15 +24,9 @@ "R80.40 - Pay As You Go (NGTX)", "R81 - Bring Your Own License", "R81 - Pay As You Go (NGTP)", - "R81 - Pay As You Go (NGTX)", - "R81.10 - Bring Your Own License", - "R81.10 - Pay As You Go (NGTP)", - "R81.10 - Pay As You Go (NGTX)", - "R81.20 - Bring Your Own License", - "R81.20 - Pay As You Go (NGTP)", - "R81.20 - Pay As You Go (NGTX)" + "R81 - Pay As You Go (NGTX)" ], - "defaultValue": "R81.20 - Bring Your Own License", + "defaultValue": "R81 - Bring Your Own License", "metadata": { "description": "Version of Check Point CloudGuard" } @@ -95,13 +89,6 @@ }, "defaultValue": "" }, - "MaintenanceModePasswordHash": { - "type": "securestring", - "defaultValue": "", - "metadata": { - "Description": "Maintenance mode password hash, relevant only for R81.20 and higher versions" - } - }, "SerialConsolePasswordHash": { "type": "securestring", "defaultValue": "", @@ -368,15 +355,6 @@ "description": "The IP address used to manage the VMSS instances." } }, - "additionalDiskSizeGB": { - "type": "int", - "defaultValue": 0, - "metadata": { - "description": "Amount of additional disk space (in GB), not relevant for R81.20 and below" - }, - "minValue": 0, - "maxValue": 3995 - }, "diskType": { "type": "string", "defaultValue": "Standard_LRS", @@ -516,13 +494,7 @@ "R80.40 - Pay As You Go (NGTX)": "NGTX", "R81 - Bring Your Own License": "BYOL", "R81 - Pay As You Go (NGTP)": "NGTP", - "R81 - Pay As You Go (NGTX)": "NGTX", - "R81.10 - Bring Your Own License": "BYOL", - "R81.10 - Pay As You Go (NGTP)": "NGTP", - "R81.10 - Pay As You Go (NGTX)": "NGTX", - "R81.20 - Bring Your Own License": "BYOL", - "R81.20 - Pay As You Go (NGTP)": "NGTP", - "R81.20 - Pay As You Go (NGTX)": "NGTX" + "R81 - Pay As You Go (NGTX)": "NGTX" }, "offer": "[variables('offers')[parameters('cloudGuardVersion')]]", "osVersions": { @@ -531,13 +503,7 @@ "R80.40 - Pay As You Go (NGTX)": "R8040", "R81 - Bring Your Own License": "R81", "R81 - Pay As You Go (NGTP)": "R81", - "R81 - Pay As You Go (NGTX)": "R81", - "R81.10 - Bring Your Own License": "R8110", - "R81.10 - Pay As You Go (NGTP)": "R8110", - "R81.10 - Pay As You Go (NGTX)": "R8110", - "R81.20 - Bring Your Own License": "R8120", - "R81.20 - Pay As You Go (NGTP)": "R8120", - "R81.20 - Pay As You Go (NGTX)": "R8120" + "R81 - Pay As You Go (NGTX)": "R81" }, "osVersion": "[variables('osVersions')[parameters('cloudGuardVersion')]]", "SerialConsoleGeographies": { @@ -592,7 +558,7 @@ "storageAccountName": "[concat('bootdiag', uniqueString(variables('resourceGroup').id, deployment().name))]", "storageAccountType": "Standard_LRS", "diskSize100GB": 100, - "additionalDiskSizeGB": "[if(contains('R8040 R81 R8110 R8120', variables('osVersion')), 0, parameters('additionalDiskSizeGB'))]", + "additionalDiskSizeGB": "[if(contains('R8040 R81', variables('osVersion')), 0, parameters('additionalDiskSizeGB'))]", "diskSizeGB": "[add(variables('additionalDiskSizeGB'), variables('diskSize100GB'))]", "enableFloatingIP": "[equals(parameters('floatingIP'), 'yes')]", "customData": "[concat('#!/usr/bin/python3 /etc/cloud_config.py\n', '\n', 'installationType=\"', variables('installationType'), '\"', '\n', 'allowUploadDownload=\"', variables('allowUploadDownload'), '\"', '\n', 'osVersion=\"', variables('osVersion'), '\"', '\n', 'templateName=\"', variables('templateName'), '\"', '\n', 'isBlink=\"', variables('isBlink'), '\"', '\n', 'templateVersion=\"', variables('templateVersion'), '\"', '\n', 'bootstrapScript64=\"', variables('bootstrapScript64'), '\"', '\n', 'location=\"', variables('location'), '\"', '\n', 'sicKey=\"', variables('sicKey'), '\"', '\n', 'customMetrics=\"', variables('customMetrics'), '\"', '\n', 'adminShell=\"', parameters('adminShell'), '\"', '\n', 'MaintenanceModePassword=\"', parameters('MaintenanceModePasswordHash'), '\"', '\n', 'passwordHash=\"', parameters('SerialConsolePasswordHash'), '\"', '\n')]", @@ -859,7 +825,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" }, "tagsByResource": { "value": "[parameters('tagsByResource')]" @@ -897,7 +863,7 @@ }, "NewNsgName": { - "value": "[parameters('NewNsgName')]" + "value":"[parameters('NewNsgName')]" }, "tagsByResource": { "value": "[parameters('tagsByResource')]" @@ -1057,7 +1023,7 @@ "primary": true, "enableIPForwarding": true, "enableAcceleratedNetworking": true, - "networkSecurityGroup": "[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", + "networkSecurityGroup":"[if(parameters('deployNewNSG') , variables('NewNsgReference') , parameters('ExistingNSG'))]", "ipConfigurations": [ { "name": "ipconfig1",