From 58da25c7d766003accf0b51737b452135d6bb5a7 Mon Sep 17 00:00:00 2001 From: tariqibrahim Date: Fri, 16 Nov 2018 16:06:25 -0800 Subject: [PATCH] remove unused azconst methods --- Makefile | 2 +- pkg/engine/template_generator.go | 7 +- pkg/helpers/Get-AzureConstants.py | 77 +- pkg/helpers/azureconst.go | 1094 +---------------------------- 4 files changed, 40 insertions(+), 1140 deletions(-) diff --git a/Makefile b/Makefile index 97ccda49a3..aa2190ff2f 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ generate: bootstrap .PHONY: generate-azure-constants generate-azure-constants: - python pkg/engine/Get-AzureConstants.py + python pkg/helpers/Get-AzureConstants.py .PHONY: build build: generate diff --git a/pkg/engine/template_generator.go b/pkg/engine/template_generator.go index f173355ad1..3bb07d55dc 100644 --- a/pkg/engine/template_generator.go +++ b/pkg/engine/template_generator.go @@ -398,16 +398,13 @@ func (t *TemplateGenerator) getTemplateFuncMap(cs *api.ContainerService) templat return false }, "GetMasterAllowedSizes": func() string { - return helpers.GetMasterAgentAllowedSizes() + return helpers.GetKubernetesAllowedSizes() }, "GetDefaultVNETCIDR": func() string { return DefaultVNETCIDR }, "GetAgentAllowedSizes": func() string { - if cs.Properties.OrchestratorProfile.IsKubernetes() { - return helpers.GetKubernetesAgentAllowedSizes() - } - return helpers.GetMasterAgentAllowedSizes() + return helpers.GetKubernetesAllowedSizes() }, "GetSizeMap": func() string { return helpers.GetSizeMap() diff --git a/pkg/helpers/Get-AzureConstants.py b/pkg/helpers/Get-AzureConstants.py index 95f0bac5fc..73e74e9a9d 100644 --- a/pkg/helpers/Get-AzureConstants.py +++ b/pkg/helpers/Get-AzureConstants.py @@ -25,18 +25,6 @@ def getAllSizes(): return sizeMap -min_cores_k8s = 1 - -def getMasterAgentMap(sizeMap): - agentMap = {} - - for key in sizeMap.keys(): - size = sizeMap[key] - if size['numberOfCores'] >= min_cores_k8s: - agentMap[size['name']] = size - - return agentMap - def getLocations(): locations = json.loads(subprocess.check_output(['az', 'account', 'list-locations']).decode('utf-8')) @@ -61,8 +49,11 @@ def getStorageAccountType(sizeName): else: return "Standard_LRS" -def getFileContents(masterAgentMap, kubernetesAgentMap, sizeMap, locations): - text = r"""package helpers +def getFileContents(kubernetesSizeMap, locations): + text = r"""// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. + +package helpers // AUTOGENERATED FILE """ @@ -91,23 +82,11 @@ def getFileContents(masterAgentMap, kubernetesAgentMap, sizeMap, locations): } } -// GetMasterAgentAllowedSizes returns the agent allowed sizes -func GetMasterAgentAllowedSizes() string { +// GetKubernetesAllowedSizes returns the allowed sizes for Kubernetes agent +func GetKubernetesAllowedSizes() string { return ` "allowedValues": [ """ - masterAgentMapKeys = sorted(masterAgentMap.keys()) - for key in masterAgentMapKeys[:-1]: - text += ' "' + key + '",\n' - text += ' "' + masterAgentMapKeys[-1] + '"\n' - text += r""" ], -` -} - -// GetKubernetesAgentAllowedSizes returns the allowed sizes for Kubernetes agent -func GetKubernetesAgentAllowedSizes() string { - return ` "allowedValues": [ -""" - kubernetesAgentMapKeys = sorted(kubernetesAgentMap.keys()) + kubernetesAgentMapKeys = sorted(kubernetesSizeMap.keys()) for key in kubernetesAgentMapKeys[:-1]: text += ' "' + key + '",\n' text += ' "' + kubernetesAgentMapKeys[-1] + '"\n' @@ -121,7 +100,7 @@ def getFileContents(masterAgentMap, kubernetesAgentMap, sizeMap, locations): """ mergedMap = {} for key in kubernetesAgentMapKeys: - size = kubernetesAgentMap[key] + size = kubernetesSizeMap[key] if not key in mergedMap: mergedMap[size['name']] = size @@ -140,49 +119,15 @@ def getFileContents(masterAgentMap, kubernetesAgentMap, sizeMap, locations): text += r""" } ` -} - -// GetClassicAllowedSizes returns the classic allowed sizes -func GetClassicAllowedSizes() string { - return ` "allowedValues": [ -""" - sizeMapKeys = sorted(sizeMap.keys()) - for key in sizeMapKeys[:-1]: - text += ' "' + sizeMap[key]['name'] + '",\n' - key = sizeMapKeys[-1] - text += ' "' + sizeMap[key]['name'] + '"\n' - - text += r""" ], -` -} - -// GetClassicSizeMap returns the size / storage map -func GetClassicSizeMap() string { - return ` "vmSizesMap": { -""" - sizeMapKeys = sorted(sizeMap.keys()) - for key in sizeMapKeys[:-1]: - text += ' "' + sizeMap[key]['name'] + '": {\n' - storageAccountType = getStorageAccountType(size['name']) - text += ' "storageAccountType": "' + storageAccountType + '"\n },\n' - key = sizeMapKeys[-1] - text += ' "' + sizeMap[key]['name'] + '": {\n' - storageAccountType = getStorageAccountType(size['name']) - text += ' "storageAccountType": "' + storageAccountType + '"\n }\n' - - text += r""" } -` }""" return text def main(): outfile = 'pkg/helpers/azureconst.go' - allSizes = getAllSizes() - masterAgentMap = getMasterAgentMap(allSizes) - kubernetesAgentMap = allSizes + kubernetesSizeMap = getAllSizes() locations = getLocations() - text = getFileContents(masterAgentMap, kubernetesAgentMap, allSizes, locations) + text = getFileContents(kubernetesSizeMap, locations) with open(outfile, 'w') as f: f.write(text) diff --git a/pkg/helpers/azureconst.go b/pkg/helpers/azureconst.go index f231efa7c8..247aebe782 100644 --- a/pkg/helpers/azureconst.go +++ b/pkg/helpers/azureconst.go @@ -60,8 +60,8 @@ func GetAzureLocations() []string { } } -// GetMasterAgentAllowedSizes returns the agent allowed sizes -func GetMasterAgentAllowedSizes() string { +// GetKubernetesAllowedSizes returns the allowed sizes for Kubernetes agent +func GetKubernetesAllowedSizes() string { return ` "allowedValues": [ "Standard_A0", "Standard_A1", @@ -226,7 +226,10 @@ func GetMasterAgentAllowedSizes() string { "Standard_L16s", "Standard_L16s_v2", "Standard_L32s", + "Standard_L32s_v2", "Standard_L4s", + "Standard_L64s_v2", + "Standard_L80s_v2", "Standard_L8s", "Standard_L8s_v2", "Standard_M128", @@ -270,224 +273,11 @@ func GetMasterAgentAllowedSizes() string { "Standard_ND24s", "Standard_ND6s", "Standard_NV12", + "Standard_NV12s_v2", "Standard_NV24", - "Standard_NV6" - ], -` -} - -// GetKubernetesAgentAllowedSizes returns the allowed sizes for Kubernetes agent -func GetKubernetesAgentAllowedSizes() string { - return ` "allowedValues": [ - "Standard_A0", - "Standard_A1", - "Standard_A10", - "Standard_A11", - "Standard_A1_v2", - "Standard_A2", - "Standard_A2_v2", - "Standard_A2m_v2", - "Standard_A3", - "Standard_A4", - "Standard_A4_v2", - "Standard_A4m_v2", - "Standard_A5", - "Standard_A6", - "Standard_A7", - "Standard_A8", - "Standard_A8_v2", - "Standard_A8m_v2", - "Standard_A9", - "Standard_B1ms", - "Standard_B1s", - "Standard_B2ms", - "Standard_B2s", - "Standard_B4ms", - "Standard_B8ms", - "Standard_D1", - "Standard_D11", - "Standard_D11_v2", - "Standard_D11_v2_Promo", - "Standard_D12", - "Standard_D12_v2", - "Standard_D12_v2_Promo", - "Standard_D13", - "Standard_D13_v2", - "Standard_D13_v2_Promo", - "Standard_D14", - "Standard_D14_v2", - "Standard_D14_v2_Promo", - "Standard_D15_v2", - "Standard_D16_v3", - "Standard_D16s_v3", - "Standard_D1_v2", - "Standard_D2", - "Standard_D2_v2", - "Standard_D2_v2_Promo", - "Standard_D2_v3", - "Standard_D2s_v3", - "Standard_D3", - "Standard_D32_v3", - "Standard_D32s_v3", - "Standard_D3_v2", - "Standard_D3_v2_Promo", - "Standard_D4", - "Standard_D4_v2", - "Standard_D4_v2_Promo", - "Standard_D4_v3", - "Standard_D4s_v3", - "Standard_D5_v2", - "Standard_D5_v2_Promo", - "Standard_D64_v3", - "Standard_D64s_v3", - "Standard_D8_v3", - "Standard_D8s_v3", - "Standard_DC2s", - "Standard_DC4s", - "Standard_DS1", - "Standard_DS11", - "Standard_DS11-1_v2", - "Standard_DS11_v2", - "Standard_DS11_v2_Promo", - "Standard_DS12", - "Standard_DS12-1_v2", - "Standard_DS12-2_v2", - "Standard_DS12_v2", - "Standard_DS12_v2_Promo", - "Standard_DS13", - "Standard_DS13-2_v2", - "Standard_DS13-4_v2", - "Standard_DS13_v2", - "Standard_DS13_v2_Promo", - "Standard_DS14", - "Standard_DS14-4_v2", - "Standard_DS14-8_v2", - "Standard_DS14_v2", - "Standard_DS14_v2_Promo", - "Standard_DS15_v2", - "Standard_DS1_v2", - "Standard_DS2", - "Standard_DS2_v2", - "Standard_DS2_v2_Promo", - "Standard_DS3", - "Standard_DS3_v2", - "Standard_DS3_v2_Promo", - "Standard_DS4", - "Standard_DS4_v2", - "Standard_DS4_v2_Promo", - "Standard_DS5_v2", - "Standard_DS5_v2_Promo", - "Standard_E16-4s_v3", - "Standard_E16-8s_v3", - "Standard_E16_v3", - "Standard_E16s_v3", - "Standard_E20_v3", - "Standard_E20s_v3", - "Standard_E2_v3", - "Standard_E2s_v3", - "Standard_E32-16s_v3", - "Standard_E32-8s_v3", - "Standard_E32_v3", - "Standard_E32s_v3", - "Standard_E4-2s_v3", - "Standard_E4_v3", - "Standard_E4s_v3", - "Standard_E64-16s_v3", - "Standard_E64-32s_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_E64is_v3", - "Standard_E64s_v3", - "Standard_E8-2s_v3", - "Standard_E8-4s_v3", - "Standard_E8_v3", - "Standard_E8s_v3", - "Standard_F1", - "Standard_F16", - "Standard_F16s", - "Standard_F16s_v2", - "Standard_F1s", - "Standard_F2", - "Standard_F2s", - "Standard_F2s_v2", - "Standard_F32s_v2", - "Standard_F4", - "Standard_F4s", - "Standard_F4s_v2", - "Standard_F64s_v2", - "Standard_F72s_v2", - "Standard_F8", - "Standard_F8s", - "Standard_F8s_v2", - "Standard_G1", - "Standard_G2", - "Standard_G3", - "Standard_G4", - "Standard_G5", - "Standard_GS1", - "Standard_GS2", - "Standard_GS3", - "Standard_GS4", - "Standard_GS4-4", - "Standard_GS4-8", - "Standard_GS5", - "Standard_GS5-16", - "Standard_GS5-8", - "Standard_H16", - "Standard_H16m", - "Standard_H16mr", - "Standard_H16r", - "Standard_H8", - "Standard_H8m", - "Standard_L16s", - "Standard_L16s_v2", - "Standard_L32s", - "Standard_L4s", - "Standard_L8s", - "Standard_L8s_v2", - "Standard_M128", - "Standard_M128-32ms", - "Standard_M128-64ms", - "Standard_M128m", - "Standard_M128ms", - "Standard_M128s", - "Standard_M16-4ms", - "Standard_M16-8ms", - "Standard_M16ms", - "Standard_M32-16ms", - "Standard_M32-8ms", - "Standard_M32ls", - "Standard_M32ms", - "Standard_M32ts", - "Standard_M64", - "Standard_M64-16ms", - "Standard_M64-32ms", - "Standard_M64ls", - "Standard_M64m", - "Standard_M64ms", - "Standard_M64s", - "Standard_M8-2ms", - "Standard_M8-4ms", - "Standard_M8ms", - "Standard_NC12", - "Standard_NC12s_v2", - "Standard_NC12s_v3", - "Standard_NC24", - "Standard_NC24r", - "Standard_NC24rs_v2", - "Standard_NC24rs_v3", - "Standard_NC24s_v2", - "Standard_NC24s_v3", - "Standard_NC6", - "Standard_NC6s_v2", - "Standard_NC6s_v3", - "Standard_ND12s", - "Standard_ND24rs", - "Standard_ND24s", - "Standard_ND6s", - "Standard_NV12", - "Standard_NV24", - "Standard_NV6" + "Standard_NV24s_v2", + "Standard_NV6", + "Standard_NV6s_v2" ], ` } @@ -984,9 +774,18 @@ func GetSizeMap() string { "Standard_L32s": { "storageAccountType": "Premium_LRS" }, + "Standard_L32s_v2": { + "storageAccountType": "Premium_LRS" + }, "Standard_L4s": { "storageAccountType": "Premium_LRS" }, + "Standard_L64s_v2": { + "storageAccountType": "Premium_LRS" + }, + "Standard_L80s_v2": { + "storageAccountType": "Premium_LRS" + }, "Standard_L8s": { "storageAccountType": "Premium_LRS" }, @@ -1116,861 +915,20 @@ func GetSizeMap() string { "Standard_NV12": { "storageAccountType": "Standard_LRS" }, + "Standard_NV12s_v2": { + "storageAccountType": "Premium_LRS" + }, "Standard_NV24": { "storageAccountType": "Standard_LRS" }, + "Standard_NV24s_v2": { + "storageAccountType": "Premium_LRS" + }, "Standard_NV6": { "storageAccountType": "Standard_LRS" - } - } -` -} - -// GetClassicAllowedSizes returns the classic allowed sizes -func GetClassicAllowedSizes() string { - return ` "allowedValues": [ - "Standard_A0", - "Standard_A1", - "Standard_A10", - "Standard_A11", - "Standard_A1_v2", - "Standard_A2", - "Standard_A2_v2", - "Standard_A2m_v2", - "Standard_A3", - "Standard_A4", - "Standard_A4_v2", - "Standard_A4m_v2", - "Standard_A5", - "Standard_A6", - "Standard_A7", - "Standard_A8", - "Standard_A8_v2", - "Standard_A8m_v2", - "Standard_A9", - "Standard_B1ms", - "Standard_B1s", - "Standard_B2ms", - "Standard_B2s", - "Standard_B4ms", - "Standard_B8ms", - "Standard_D1", - "Standard_D11", - "Standard_D11_v2", - "Standard_D11_v2_Promo", - "Standard_D12", - "Standard_D12_v2", - "Standard_D12_v2_Promo", - "Standard_D13", - "Standard_D13_v2", - "Standard_D13_v2_Promo", - "Standard_D14", - "Standard_D14_v2", - "Standard_D14_v2_Promo", - "Standard_D15_v2", - "Standard_D16_v3", - "Standard_D16s_v3", - "Standard_D1_v2", - "Standard_D2", - "Standard_D2_v2", - "Standard_D2_v2_Promo", - "Standard_D2_v3", - "Standard_D2s_v3", - "Standard_D3", - "Standard_D32_v3", - "Standard_D32s_v3", - "Standard_D3_v2", - "Standard_D3_v2_Promo", - "Standard_D4", - "Standard_D4_v2", - "Standard_D4_v2_Promo", - "Standard_D4_v3", - "Standard_D4s_v3", - "Standard_D5_v2", - "Standard_D5_v2_Promo", - "Standard_D64_v3", - "Standard_D64s_v3", - "Standard_D8_v3", - "Standard_D8s_v3", - "Standard_DC2s", - "Standard_DC4s", - "Standard_DS1", - "Standard_DS11", - "Standard_DS11-1_v2", - "Standard_DS11_v2", - "Standard_DS11_v2_Promo", - "Standard_DS12", - "Standard_DS12-1_v2", - "Standard_DS12-2_v2", - "Standard_DS12_v2", - "Standard_DS12_v2_Promo", - "Standard_DS13", - "Standard_DS13-2_v2", - "Standard_DS13-4_v2", - "Standard_DS13_v2", - "Standard_DS13_v2_Promo", - "Standard_DS14", - "Standard_DS14-4_v2", - "Standard_DS14-8_v2", - "Standard_DS14_v2", - "Standard_DS14_v2_Promo", - "Standard_DS15_v2", - "Standard_DS1_v2", - "Standard_DS2", - "Standard_DS2_v2", - "Standard_DS2_v2_Promo", - "Standard_DS3", - "Standard_DS3_v2", - "Standard_DS3_v2_Promo", - "Standard_DS4", - "Standard_DS4_v2", - "Standard_DS4_v2_Promo", - "Standard_DS5_v2", - "Standard_DS5_v2_Promo", - "Standard_E16-4s_v3", - "Standard_E16-8s_v3", - "Standard_E16_v3", - "Standard_E16s_v3", - "Standard_E20_v3", - "Standard_E20s_v3", - "Standard_E2_v3", - "Standard_E2s_v3", - "Standard_E32-16s_v3", - "Standard_E32-8s_v3", - "Standard_E32_v3", - "Standard_E32s_v3", - "Standard_E4-2s_v3", - "Standard_E4_v3", - "Standard_E4s_v3", - "Standard_E64-16s_v3", - "Standard_E64-32s_v3", - "Standard_E64_v3", - "Standard_E64i_v3", - "Standard_E64is_v3", - "Standard_E64s_v3", - "Standard_E8-2s_v3", - "Standard_E8-4s_v3", - "Standard_E8_v3", - "Standard_E8s_v3", - "Standard_F1", - "Standard_F16", - "Standard_F16s", - "Standard_F16s_v2", - "Standard_F1s", - "Standard_F2", - "Standard_F2s", - "Standard_F2s_v2", - "Standard_F32s_v2", - "Standard_F4", - "Standard_F4s", - "Standard_F4s_v2", - "Standard_F64s_v2", - "Standard_F72s_v2", - "Standard_F8", - "Standard_F8s", - "Standard_F8s_v2", - "Standard_G1", - "Standard_G2", - "Standard_G3", - "Standard_G4", - "Standard_G5", - "Standard_GS1", - "Standard_GS2", - "Standard_GS3", - "Standard_GS4", - "Standard_GS4-4", - "Standard_GS4-8", - "Standard_GS5", - "Standard_GS5-16", - "Standard_GS5-8", - "Standard_H16", - "Standard_H16m", - "Standard_H16mr", - "Standard_H16r", - "Standard_H8", - "Standard_H8m", - "Standard_L16s", - "Standard_L16s_v2", - "Standard_L32s", - "Standard_L4s", - "Standard_L8s", - "Standard_L8s_v2", - "Standard_M128", - "Standard_M128-32ms", - "Standard_M128-64ms", - "Standard_M128m", - "Standard_M128ms", - "Standard_M128s", - "Standard_M16-4ms", - "Standard_M16-8ms", - "Standard_M16ms", - "Standard_M32-16ms", - "Standard_M32-8ms", - "Standard_M32ls", - "Standard_M32ms", - "Standard_M32ts", - "Standard_M64", - "Standard_M64-16ms", - "Standard_M64-32ms", - "Standard_M64ls", - "Standard_M64m", - "Standard_M64ms", - "Standard_M64s", - "Standard_M8-2ms", - "Standard_M8-4ms", - "Standard_M8ms", - "Standard_NC12", - "Standard_NC12s_v2", - "Standard_NC12s_v3", - "Standard_NC24", - "Standard_NC24r", - "Standard_NC24rs_v2", - "Standard_NC24rs_v3", - "Standard_NC24s_v2", - "Standard_NC24s_v3", - "Standard_NC6", - "Standard_NC6s_v2", - "Standard_NC6s_v3", - "Standard_ND12s", - "Standard_ND24rs", - "Standard_ND24s", - "Standard_ND6s", - "Standard_NV12", - "Standard_NV24", - "Standard_NV6" - ], -` -} - -// GetClassicSizeMap returns the size / storage map -func GetClassicSizeMap() string { - return ` "vmSizesMap": { - "Standard_A0": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A1": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A10": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A11": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A1_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A2_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A2m_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A4": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A4_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A4m_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A5": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A6": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A7": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A8": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A8_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A8m_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_A9": { - "storageAccountType": "Standard_LRS" - }, - "Standard_B1ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_B1s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_B2ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_B2s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_B4ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_B8ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D1": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D11": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D11_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D11_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D12": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D12_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D12_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D13": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D13_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D13_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D14": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D14_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D14_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D15_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D16_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D16s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D1_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D2_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D2_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D2_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D2s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D32_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D32s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D3_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D3_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D4": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D4_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D4_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D4_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D4s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D5_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D5_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D64_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D64s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D8_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_D8s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DC2s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DC4s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS1": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS11": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS11-1_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS11_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS11_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS12": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS12-1_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS12-2_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS12_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS12_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS13": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS13-2_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS13-4_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS13_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS13_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS14": { - "storageAccountType": "Standard_LRS" }, - "Standard_DS14-4_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS14-8_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS14_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS14_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS15_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS1_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS2_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS2_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS3_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS3_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS4": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS4_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS4_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS5_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_DS5_v2_Promo": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E16-4s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E16-8s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E16_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E16s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E20_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E20s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E2_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E2s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E32-16s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E32-8s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E32_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E32s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E4-2s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E4_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E4s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E64-16s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E64-32s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E64_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E64i_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E64is_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E64s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E8-2s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E8-4s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E8_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_E8s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F1": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F16": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F16s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F16s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F1s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F2s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F2s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F32s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F4": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F4s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F4s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F64s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F72s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F8": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F8s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_F8s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_G1": { - "storageAccountType": "Standard_LRS" - }, - "Standard_G2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_G3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_G4": { - "storageAccountType": "Standard_LRS" - }, - "Standard_G5": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS1": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS4": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS4-4": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS4-8": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS5": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS5-16": { - "storageAccountType": "Standard_LRS" - }, - "Standard_GS5-8": { - "storageAccountType": "Standard_LRS" - }, - "Standard_H16": { - "storageAccountType": "Standard_LRS" - }, - "Standard_H16m": { - "storageAccountType": "Standard_LRS" - }, - "Standard_H16mr": { - "storageAccountType": "Standard_LRS" - }, - "Standard_H16r": { - "storageAccountType": "Standard_LRS" - }, - "Standard_H8": { - "storageAccountType": "Standard_LRS" - }, - "Standard_H8m": { - "storageAccountType": "Standard_LRS" - }, - "Standard_L16s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_L16s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_L32s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_L4s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_L8s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_L8s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M128": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M128-32ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M128-64ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M128m": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M128ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M128s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M16-4ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M16-8ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M16ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M32-16ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M32-8ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M32ls": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M32ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M32ts": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M64": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M64-16ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M64-32ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M64ls": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M64m": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M64ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M64s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M8-2ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M8-4ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_M8ms": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC12": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC12s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC12s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC24": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC24r": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC24rs_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC24rs_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC24s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC24s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC6": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC6s_v2": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NC6s_v3": { - "storageAccountType": "Standard_LRS" - }, - "Standard_ND12s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_ND24rs": { - "storageAccountType": "Standard_LRS" - }, - "Standard_ND24s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_ND6s": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NV12": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NV24": { - "storageAccountType": "Standard_LRS" - }, - "Standard_NV6": { - "storageAccountType": "Standard_LRS" + "Standard_NV6s_v2": { + "storageAccountType": "Premium_LRS" } } `