clintgrove / ms-adf-tdd-exercise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ms-adf-tdd-exercise

Deployment of Resources with Powershell Script

Pre Deployment Tasks

You will need the following information before running the deployment script:

  1. Tenant Id
  2. Subscription Id
  3. Project Name (Lower Case No Spaces or special characters)
  4. Sql Admin Login
  5. Set Sql Admin Password
  6. Email Address
  7. Admin Object ID
  8. Bicep Script Path on your computer
  9. ADF ARM Path on your computer
  10. ADF ARM Parameters Path on your computer
  11. Sample Data Path Folder on your computer

Amend the Azure Data Factory ARM Template Parameters File

  1. Navigate to Infrastructure/AdfARM/ARMTemplateParametersForFactory.json
  2. Amend factory name parameter replacing with your ADF name - + "adf001", eg testprojectadf001
  3. Amend adfSqlDb_connectionString parameter replacing with your sql server name - + "sqlsvr", eg testprojectsqlsvr
  4. Amend adfSqlDb_connectionString parameter replacing with your sql db name - + "sqldb001", eg testprojectsqldb001
  5. Amend adfblobstorage_properties_typeProperties_serviceEndpoint parameter replacing with your storage account name - + "stg001", eg testprojectstg001
  6. Save your changes

Running the Powershell Deployment Script

  1. Open Powershell as Administrator
  2. Enter command powershell.exe -File using the location of the Infrastructure/deploymentScript.ps1 powershell script on your computer
  3. Follow the prompts to enter the required parameters for deployment
  4. The script will deploy all required resources to your Subscription, including uploading sample data to the Storage account container

About


Languages

Language:C# 53.4%Language:Bicep 35.3%Language:PowerShell 7.1%Language:Gherkin 3.2%Language:TSQL 0.9%