From 85634bb226a09f7213e2ab8291ebc6b7f1ea21fb Mon Sep 17 00:00:00 2001 From: jvhoof Date: Thu, 22 Jun 2023 12:33:48 +0200 Subject: [PATCH 1/2] Remove Spot instance for PAYG --- templates/blah | 76 +++++++++++++++++++++++++++++++ templates/link_template.vmss.json | 2 - 2 files changed, 76 insertions(+), 2 deletions(-) create mode 100644 templates/blah diff --git a/templates/blah b/templates/blah new file mode 100644 index 0000000..5d5e9de --- /dev/null +++ b/templates/blah @@ -0,0 +1,76 @@ + "FOSVersion": { + "defaultValue": "7.2.5", + "allowedValues": [ + "7.2.5", + "7.4.0", + "latest" + ], + "type": "String", + "metadata": { + "description": "FortiOS version supported by FortiGate Autoscale for Azure." + } + }, + + + + + "defaultValue": "Standard_F4s", + "allowedValues": [ + "Standard_F4s", + "Standard_F8s", + "Standard_F16s", + "Standard_F4", + "Standard_F8", + "Standard_F16", + "Standard_F8s_v2", + "Standard_F16s_v2", + "Standard_F32s_v2", + "Standard_DS3_v2", + "Standard_DS4_v2", + "Standard_DS5_v2", + "Standard_D8s_v3", + "Standard_D16s_v3", + "Standard_D32s_v3", + "Standard_D8_v4", + "Standard_D16_v4", + "Standard_D32_v4", + "Standard_D8s_v4", + "Standard_D16s_v4", + "Standard_D32s_v4", + "Standard_D8a_v4", + "Standard_D16a_v4", + "Standard_D32a_v4", + "Standard_D8as_v4", + "Standard_D16as_v4", + "Standard_D32as_v4", + "Standard_D8_v5", + "Standard_D16_v5", + "Standard_D32_v5", + "Standard_D8s_v5", + "Standard_D16s_v5", + "Standard_D32s_v5", + "Standard_D8as_v5", + "Standard_D16as_v5", + "Standard_D32as_v5", + "Standard_D8ads_v5", + "Standard_D16ads_v5", + "Standard_D32ads_v5", + "Standard_D8ps_v5", + "Standard_D16ps_v5", + "Standard_D32ps_v5", + "Standard_D8pds_v5", + "Standard_D16pds_v5", + "Standard_D32pds_v5", + "Standard_D8pls_v5", + "Standard_D16pls_v5", + "Standard_D32pls_v5", + "Standard_D8plds_v5", + "Standard_D16plds_v5", + "Standard_D32plds_v5", + "Standard_E8ps_v5", + "Standard_E16ps_v5", + "Standard_E32ps_v5", + "Standard_E8pds_v5", + "Standard_E16pds_v5", + "Standard_E32pds_v5" + ], \ No newline at end of file diff --git a/templates/link_template.vmss.json b/templates/link_template.vmss.json index 2fe75a1..385faf8 100644 --- a/templates/link_template.vmss.json +++ b/templates/link_template.vmss.json @@ -471,8 +471,6 @@ "storageUri": "[concat('https://', parameters('StorageAccountName'), '.blob.core.windows.net')]" } }, - "priority": "Low", - "evictionPolicy": "delete", "osProfile": { "computerNamePrefix": "[parameters('VmssNamePAYG')]", "customData": "[base64(concat('{\"config-url\": \"', 'https://', parameters('FunctionAppName'), '.azurewebsites.net/api/', parameters('FunctionNameFgtAsHandler'), '?code=', listKeys(resourceId(subscription().subscriptionId, parameters('FunctionAppResourceGroupName'), 'Microsoft.Web/sites/functions', parameters('FunctionAppName'), 'fgt-as-handler'), '2019-08-01').default, '\"}\n'))]", From 9bd3dd59ce94e15ef85753d4e5bdc3eff3e4d92a Mon Sep 17 00:00:00 2001 From: Joeri Date: Fri, 21 Jul 2023 14:31:25 +0200 Subject: [PATCH 2/2] Delete temp clipboard --- templates/blah | 76 -------------------------------------------------- 1 file changed, 76 deletions(-) delete mode 100644 templates/blah diff --git a/templates/blah b/templates/blah deleted file mode 100644 index 5d5e9de..0000000 --- a/templates/blah +++ /dev/null @@ -1,76 +0,0 @@ - "FOSVersion": { - "defaultValue": "7.2.5", - "allowedValues": [ - "7.2.5", - "7.4.0", - "latest" - ], - "type": "String", - "metadata": { - "description": "FortiOS version supported by FortiGate Autoscale for Azure." - } - }, - - - - - "defaultValue": "Standard_F4s", - "allowedValues": [ - "Standard_F4s", - "Standard_F8s", - "Standard_F16s", - "Standard_F4", - "Standard_F8", - "Standard_F16", - "Standard_F8s_v2", - "Standard_F16s_v2", - "Standard_F32s_v2", - "Standard_DS3_v2", - "Standard_DS4_v2", - "Standard_DS5_v2", - "Standard_D8s_v3", - "Standard_D16s_v3", - "Standard_D32s_v3", - "Standard_D8_v4", - "Standard_D16_v4", - "Standard_D32_v4", - "Standard_D8s_v4", - "Standard_D16s_v4", - "Standard_D32s_v4", - "Standard_D8a_v4", - "Standard_D16a_v4", - "Standard_D32a_v4", - "Standard_D8as_v4", - "Standard_D16as_v4", - "Standard_D32as_v4", - "Standard_D8_v5", - "Standard_D16_v5", - "Standard_D32_v5", - "Standard_D8s_v5", - "Standard_D16s_v5", - "Standard_D32s_v5", - "Standard_D8as_v5", - "Standard_D16as_v5", - "Standard_D32as_v5", - "Standard_D8ads_v5", - "Standard_D16ads_v5", - "Standard_D32ads_v5", - "Standard_D8ps_v5", - "Standard_D16ps_v5", - "Standard_D32ps_v5", - "Standard_D8pds_v5", - "Standard_D16pds_v5", - "Standard_D32pds_v5", - "Standard_D8pls_v5", - "Standard_D16pls_v5", - "Standard_D32pls_v5", - "Standard_D8plds_v5", - "Standard_D16plds_v5", - "Standard_D32plds_v5", - "Standard_E8ps_v5", - "Standard_E16ps_v5", - "Standard_E32ps_v5", - "Standard_E8pds_v5", - "Standard_E16pds_v5", - "Standard_E32pds_v5" - ], \ No newline at end of file