This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | param( | |
| [string] [Parameter(Mandatory=$true)] $sqlServer, | |
| [string] [Parameter(Mandatory=$true)] $sqlAdmin, | |
| [string] [Parameter(Mandatory=$true)] $sqlPassword, | |
| [string] [Parameter(Mandatory=$true)] $aksCluster, | |
| [string] [Parameter(Mandatory=$true)] $aksResourceGroup | |
| ) | |
| # Install SQL Tools | |
| bash -c "apt-get update && apt-get install -y gnupg2" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "resources": [ | |
| { | |
| "name": "virtualNetwork1", | |
| "type": "Microsoft.Network/virtualNetworks", | |
| "apiVersion": "2019-11-01", | |
| "location": "[resourceGroup().location]", | |
| "tags": { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Azure CLI auto complete | |
| source /usr/local/etc/bash_completion.d/az | |
| # Visual Studio Code (code) | |
| export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Users/neilpeterson/bin:/Users/neilpeterson/storag/code/go/bin:/Applications/Visual Studio$ | |
| code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;} | |
| source /etc/bash_completion.d/vsce | |
| # Alias | |
| alias k="kubectl" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | write-output "test" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | param( | |
| [Parameter(Mandatory=$true,Position=0)] | |
| [PSObject] | |
| $TemplateObject | |
| ) | |
| # Get resource object (storage account) | |
| $storageAccounts = $TemplateObject | Find-JsonContent -Key type -Value Microsoft.Storage/storageAccounts | |
| foreach ($storageAccount in $storageAccounts) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": {}, | |
| "variables": {}, | |
| "resources": [{ | |
| "name": "name", | |
| "type": "Microsoft.ContainerInstance/containerGroups", | |
| "apiVersion": "2018-04-01", | |
| "location": "[resourceGroup().location]", | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "hostingPlanName": { | |
| "type": "string", | |
| "minLength": 1 | |
| }, | |
| "skuName": { | |
| "type": "string", | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | param( | |
| [Parameter(Mandatory=$true,Position=0)] | |
| [PSObject] | |
| $TemplateObject | |
| ) | |
| # Get resource object (storage account) | |
| $storageAccounts = $TemplateObject | Find-JsonContent -Key type -Value Microsoft.Storage/storageAccounts | |
| foreach ($storageAccount in $storageAccounts) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Resources.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "projectSettings": { | |
| "type": "Object" | |
| }, | |
| "azureAuth": { | |
| "type": "SecureString" | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "$schema": "https://schema.management.azure.com/schemas/2015-01-01/Microsoft.Resources.json#", | |
| "contentVersion": "1.0.0.0", | |
| "parameters": { | |
| "projectSettings": { | |
| "type": "Object" | |
| }, | |
| "azureAuth": { | |
| "type": "SecureString" | |
| } |