adhoc/infra-SQLPlayerDemo-UAT.json

{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "dataFactoryName": {
      "type": "string",
      "defaultValue": "SQLPlayerDemo-UAT"
    },
    "location": {
      "type": "string",
      "defaultValue": "[resourceGroup().location]"
    },
    "environment": {
      "type": "string",
      "defaultValue": "prod"
    }
  },
  "functions": [],
  "variables": {
    "properties": {
      "publicNetworkAccess": "Disabled"
    },
    "properties_git": {
      "publicNetworkAccess": "Enabled"
    }
  },
  "resources": [
    {
      "type": "Microsoft.DataFactory/factories",
      "apiVersion": "2018-06-01",
      "name": "[parameters('dataFactoryName')]",
      "location": "[parameters('location')]",
      "properties": "[if(equals(parameters('environment'), 'development'), variables('properties_git'), variables('properties'))]",
      "identity": {
        "type": "SystemAssigned"
      }
    }
  ]
}