diff --git a/New Instructions/AllFiles/Lab03/azuredeploy.bicep b/New Instructions/AllFiles/Lab03/azuredeploy.bicep new file mode 100644 index 00000000..1e009f67 --- /dev/null +++ b/New Instructions/AllFiles/Lab03/azuredeploy.bicep @@ -0,0 +1,33 @@ +@minLength(3) +@maxLength(11) +param storagePrefix string + +@allowed([ + 'Standard_LRS' + 'Standard_GRS' + 'Standard_RAGRS' + 'Standard_ZRS' + 'Premium_LRS' + 'Premium_ZRS' + 'Standard_GZRS' + 'Standard_RAGZRS' +]) +param storageSKU string = 'Standard_LRS' + +param location string = resourceGroup().location + +var uniqueStorageName = '${storagePrefix}${uniqueString(resourceGroup().id)}' + +resource stg 'Microsoft.Storage/storageAccounts@2021-04-01' = { + name: uniqueStorageName + location: location + sku: { + name: storageSKU + } + kind: 'StorageV2' + properties: { + supportsHttpsTrafficOnly: true + } +} + +output storageEndpoint object = stg.properties.primaryEndpoints