From ce325e3b5d42f2539ab8349ca0d0a5b51b5e0490 Mon Sep 17 00:00:00 2001 From: Shaun Alexander Date: Wed, 10 Jul 2024 14:46:52 +0100 Subject: [PATCH] change coolAccessRetrievalPolicy to Default --- .../net-app/net-app-account/capacity-pool/main.bicep | 3 +-- .../net-app/net-app-account/capacity-pool/main.json | 8 ++++---- .../net-app-account/capacity-pool/volume/README.md | 2 +- .../net-app-account/capacity-pool/volume/main.bicep | 2 +- .../net-app-account/capacity-pool/volume/main.json | 4 ++-- avm/res/net-app/net-app-account/main.json | 10 +++++----- 6 files changed, 14 insertions(+), 15 deletions(-) diff --git a/avm/res/net-app/net-app-account/capacity-pool/main.bicep b/avm/res/net-app/net-app-account/capacity-pool/main.bicep index 943110409a..bb0c0bb92f 100644 --- a/avm/res/net-app/net-app-account/capacity-pool/main.bicep +++ b/avm/res/net-app/net-app-account/capacity-pool/main.bicep @@ -105,14 +105,13 @@ module capacityPool_volumes 'volume/main.bicep' = [ coolAccess: contains(volume, 'coolAccess') ? volume.coolAccess : false coolAccessRetrievalPolicy: contains(volume, 'coolAccessRetrievalPolicy') ? volume.coolAccessRetrievalPolicy - : 'None' + : 'Default' coolnessPeriod: contains(volume, 'coolnessPeriod') ? volume.coolnessPeriod : 0 endpointType: contains(volume, 'endpointType') ? volume.endpointType : '' remoteVolumeRegion: contains(volume, 'remoteVolumeRegion') ? volume.remoteVolumeRegion : '' remoteVolumeResourceId: contains(volume, 'remoteVolumeResourceId') ? volume.remoteVolumeResourceId : '' replicationSchedule: contains(volume, 'replicationSchedule') ? volume.replicationSchedule : '' backupPolicyName: contains(volume, 'backupPolicyName') ? volume.backupPolicyName : 'backupPolicy' - //backupPolicyName: volume.backupPolicyName! backupPolicyLocation: contains(volume, 'backupPolicyLocation') ? volume.backupPolicyLocation : '' dailyBackupsToKeep: contains(volume, 'dailyBackupsToKeep') ? volume.dailyBackupsToKeep : 0 backupEnabled: contains(volume, 'backupEnabled') ? volume.backupEnabled : false diff --git a/avm/res/net-app/net-app-account/capacity-pool/main.json b/avm/res/net-app/net-app-account/capacity-pool/main.json index 6c81377670..5ec132834b 100644 --- a/avm/res/net-app/net-app-account/capacity-pool/main.json +++ b/avm/res/net-app/net-app-account/capacity-pool/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.28.1.47646", - "templateHash": "13334383153797238447" + "templateHash": "17304854614770516158" }, "name": "Azure NetApp Files Capacity Pools", "description": "This module deploys an Azure NetApp Files Capacity Pool.", @@ -277,7 +277,7 @@ "zones": "[if(contains(parameters('volumes')[copyIndex()], 'zones'), createObject('value', parameters('volumes')[copyIndex()].zones), createObject('value', createArray()))]", "roleAssignments": "[if(contains(parameters('volumes')[copyIndex()], 'roleAssignments'), createObject('value', parameters('volumes')[copyIndex()].roleAssignments), createObject('value', createArray()))]", "coolAccess": "[if(contains(parameters('volumes')[copyIndex()], 'coolAccess'), createObject('value', parameters('volumes')[copyIndex()].coolAccess), createObject('value', false()))]", - "coolAccessRetrievalPolicy": "[if(contains(parameters('volumes')[copyIndex()], 'coolAccessRetrievalPolicy'), createObject('value', parameters('volumes')[copyIndex()].coolAccessRetrievalPolicy), createObject('value', 'None'))]", + "coolAccessRetrievalPolicy": "[if(contains(parameters('volumes')[copyIndex()], 'coolAccessRetrievalPolicy'), createObject('value', parameters('volumes')[copyIndex()].coolAccessRetrievalPolicy), createObject('value', 'Default'))]", "coolnessPeriod": "[if(contains(parameters('volumes')[copyIndex()], 'coolnessPeriod'), createObject('value', parameters('volumes')[copyIndex()].coolnessPeriod), createObject('value', 0))]", "endpointType": "[if(contains(parameters('volumes')[copyIndex()], 'endpointType'), createObject('value', parameters('volumes')[copyIndex()].endpointType), createObject('value', ''))]", "remoteVolumeRegion": "[if(contains(parameters('volumes')[copyIndex()], 'remoteVolumeRegion'), createObject('value', parameters('volumes')[copyIndex()].remoteVolumeRegion), createObject('value', ''))]", @@ -305,7 +305,7 @@ "_generator": { "name": "bicep", "version": "0.28.1.47646", - "templateHash": "6186302804775003679" + "templateHash": "8818431800962559009" }, "name": "Azure NetApp Files Capacity Pool Volumes", "description": "This module deploys an Azure NetApp Files Capacity Pool Volume.", @@ -406,7 +406,7 @@ }, "coolAccessRetrievalPolicy": { "type": "string", - "defaultValue": "None", + "defaultValue": "Default", "metadata": { "description": "Optional. determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes (Default/Never/Read)." } diff --git a/avm/res/net-app/net-app-account/capacity-pool/volume/README.md b/avm/res/net-app/net-app-account/capacity-pool/volume/README.md index 51ad7877e6..bebae55731 100644 --- a/avm/res/net-app/net-app-account/capacity-pool/volume/README.md +++ b/avm/res/net-app/net-app-account/capacity-pool/volume/README.md @@ -180,7 +180,7 @@ determines the data retrieval behavior from the cool tier to standard storage ba - Required: No - Type: string -- Default: `'None'` +- Default: `'Default'` ### Parameter: `coolnessPeriod` diff --git a/avm/res/net-app/net-app-account/capacity-pool/volume/main.bicep b/avm/res/net-app/net-app-account/capacity-pool/volume/main.bicep index 24b2ebc8bc..83fb949431 100644 --- a/avm/res/net-app/net-app-account/capacity-pool/volume/main.bicep +++ b/avm/res/net-app/net-app-account/capacity-pool/volume/main.bicep @@ -15,7 +15,7 @@ param coolAccess bool param coolnessPeriod int @description('Optional. determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes (Default/Never/Read).') -param coolAccessRetrievalPolicy string = 'None' +param coolAccessRetrievalPolicy string = 'Default' @description('Optional. Availability Zone.') param zones string[] diff --git a/avm/res/net-app/net-app-account/capacity-pool/volume/main.json b/avm/res/net-app/net-app-account/capacity-pool/volume/main.json index d7c98b3765..661cf4f1ab 100644 --- a/avm/res/net-app/net-app-account/capacity-pool/volume/main.json +++ b/avm/res/net-app/net-app-account/capacity-pool/volume/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.28.1.47646", - "templateHash": "6186302804775003679" + "templateHash": "8818431800962559009" }, "name": "Azure NetApp Files Capacity Pool Volumes", "description": "This module deploys an Azure NetApp Files Capacity Pool Volume.", @@ -107,7 +107,7 @@ }, "coolAccessRetrievalPolicy": { "type": "string", - "defaultValue": "None", + "defaultValue": "Default", "metadata": { "description": "Optional. determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes (Default/Never/Read)." } diff --git a/avm/res/net-app/net-app-account/main.json b/avm/res/net-app/net-app-account/main.json index aaa089ebc0..8ba8427a39 100644 --- a/avm/res/net-app/net-app-account/main.json +++ b/avm/res/net-app/net-app-account/main.json @@ -6,7 +6,7 @@ "_generator": { "name": "bicep", "version": "0.28.1.47646", - "templateHash": "3198700958000368825" + "templateHash": "14917522462016584458" }, "name": "Azure NetApp Files", "description": "This module deploys an Azure NetApp File.", @@ -478,7 +478,7 @@ "_generator": { "name": "bicep", "version": "0.28.1.47646", - "templateHash": "13334383153797238447" + "templateHash": "17304854614770516158" }, "name": "Azure NetApp Files Capacity Pools", "description": "This module deploys an Azure NetApp Files Capacity Pool.", @@ -749,7 +749,7 @@ "zones": "[if(contains(parameters('volumes')[copyIndex()], 'zones'), createObject('value', parameters('volumes')[copyIndex()].zones), createObject('value', createArray()))]", "roleAssignments": "[if(contains(parameters('volumes')[copyIndex()], 'roleAssignments'), createObject('value', parameters('volumes')[copyIndex()].roleAssignments), createObject('value', createArray()))]", "coolAccess": "[if(contains(parameters('volumes')[copyIndex()], 'coolAccess'), createObject('value', parameters('volumes')[copyIndex()].coolAccess), createObject('value', false()))]", - "coolAccessRetrievalPolicy": "[if(contains(parameters('volumes')[copyIndex()], 'coolAccessRetrievalPolicy'), createObject('value', parameters('volumes')[copyIndex()].coolAccessRetrievalPolicy), createObject('value', 'None'))]", + "coolAccessRetrievalPolicy": "[if(contains(parameters('volumes')[copyIndex()], 'coolAccessRetrievalPolicy'), createObject('value', parameters('volumes')[copyIndex()].coolAccessRetrievalPolicy), createObject('value', 'Default'))]", "coolnessPeriod": "[if(contains(parameters('volumes')[copyIndex()], 'coolnessPeriod'), createObject('value', parameters('volumes')[copyIndex()].coolnessPeriod), createObject('value', 0))]", "endpointType": "[if(contains(parameters('volumes')[copyIndex()], 'endpointType'), createObject('value', parameters('volumes')[copyIndex()].endpointType), createObject('value', ''))]", "remoteVolumeRegion": "[if(contains(parameters('volumes')[copyIndex()], 'remoteVolumeRegion'), createObject('value', parameters('volumes')[copyIndex()].remoteVolumeRegion), createObject('value', ''))]", @@ -777,7 +777,7 @@ "_generator": { "name": "bicep", "version": "0.28.1.47646", - "templateHash": "6186302804775003679" + "templateHash": "8818431800962559009" }, "name": "Azure NetApp Files Capacity Pool Volumes", "description": "This module deploys an Azure NetApp Files Capacity Pool Volume.", @@ -878,7 +878,7 @@ }, "coolAccessRetrievalPolicy": { "type": "string", - "defaultValue": "None", + "defaultValue": "Default", "metadata": { "description": "Optional. determines the data retrieval behavior from the cool tier to standard storage based on the read pattern for cool access enabled volumes (Default/Never/Read)." }