From 7a55cfa66e6c15a350157b49cf87f9ff166a8fc0 Mon Sep 17 00:00:00 2001 From: mikeleuer <97471415+mikeleuer@users.noreply.github.com> Date: Fri, 26 Aug 2022 09:40:26 -0700 Subject: [PATCH] The min subnet range is /26 The min subnet range is /26 https://docs.microsoft.com/en-us/azure/databricks/administration-guide/cloud-configurations/azure/vnet-inject#--address-space-and-maximum-cluster-nodes Side note: Also the max range is /16 might do another PR for /16 for the max subnet range. --- docs/reference/portal.dataLandingZone.json | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/reference/portal.dataLandingZone.json b/docs/reference/portal.dataLandingZone.json index 1d6d9db..37907e3 100644 --- a/docs/reference/portal.dataLandingZone.json +++ b/docs/reference/portal.dataLandingZone.json @@ -662,13 +662,13 @@ "type": "Microsoft.Common.TextBox", "visible": true, "defaultValue": "10.1.1.0/24", - "toolTip": "Specify a CIDR range for the public Subnet of the shared Databricks Integration Workspace within the range [24,28].", + "toolTip": "Specify a CIDR range for the public Subnet of the shared Databricks Integration Workspace within the range [24,26].", "constraints": { "required": true, "validations": [ { - "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-8]))$", - "message": "Invalid CIDR range. The address prefix must be in the range [24,28]." + "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-6]))$", + "message": "Invalid CIDR range. The address prefix must be in the range [24,26]." }, { "isValid": "[if(greaterOrEquals(last(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.databricksIntegrationPublicSubnetAddressPrefix, '/')), '.'), 1))), true)]", @@ -695,13 +695,13 @@ "type": "Microsoft.Common.TextBox", "visible": true, "defaultValue": "10.1.2.0/24", - "toolTip": "Specify a CIDR range for the private Subnet of the shared Databricks Integration Workspace within the range [24,28].", + "toolTip": "Specify a CIDR range for the private Subnet of the shared Databricks Integration Workspace within the range [24,26].", "constraints": { "required": true, "validations": [ { - "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-8]))$", - "message": "Invalid CIDR range. The address prefix must be in the range [24,28]." + "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-6]))$", + "message": "Invalid CIDR range. The address prefix must be in the range [24,26]." }, { "isValid": "[if(greaterOrEquals(last(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.databricksIntegrationPrivateSubnetAddressPrefix, '/')), '.'), 1))), true)]", @@ -728,13 +728,13 @@ "type": "Microsoft.Common.TextBox", "visible": true, "defaultValue": "10.1.3.0/24", - "toolTip": "Specify a CIDR range for the public Subnet of the shared Databricks Product Workspace within the range [24,28].", + "toolTip": "Specify a CIDR range for the public Subnet of the shared Databricks Product Workspace within the range [24,26].", "constraints": { "required": true, "validations": [ { - "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-8]))$", - "message": "Invalid CIDR range. The address prefix must be in the range [24,28]." + "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-6]))$", + "message": "Invalid CIDR range. The address prefix must be in the range [24,26]." }, { "isValid": "[if(greaterOrEquals(last(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.databricksProductPublicSubnetAddressPrefix, '/')), '.'), 1))), true)]", @@ -761,13 +761,13 @@ "type": "Microsoft.Common.TextBox", "visible": true, "defaultValue": "10.1.4.0/24", - "toolTip": "Specify a CIDR range for the private Subnet of the shared Databricks Product Workspace within the range [24,28].", + "toolTip": "Specify a CIDR range for the private Subnet of the shared Databricks Product Workspace within the range [24,26].", "constraints": { "required": true, "validations": [ { - "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-8]))$", - "message": "Invalid CIDR range. The address prefix must be in the range [24,28]." + "regex": "^(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(?:\/(2[4-6]))$", + "message": "Invalid CIDR range. The address prefix must be in the range [24,26]." }, { "isValid": "[if(greaterOrEquals(last(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), 8), equals(last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.virtualNetworkAddressCidrRange, '/')), '.'), 1)), last(take(split(first(split(steps('connectivitySettings').virtualNetworkConfiguration.databricksProductPrivateSubnetAddressPrefix, '/')), '.'), 1))), true)]", @@ -1481,4 +1481,4 @@ } } } -} \ No newline at end of file +}