concept Azure PowerShell in category azure

appears as: Azure PowerShell, Azure PowerShell
Azure Storage, Streaming, and Batch Analytics: A guide for data engineers

This is an excerpt from Manning's book Azure Storage, Streaming, and Batch Analytics: A guide for data engineers.

In order to build this analytics system, you’ll need an Azure subscription. Signing up for a personal account and subscription takes an email address and a credit card. Most of the examples in this book use Azure PowerShell to create and interact with Azure services. You can run these PowerShell scripts using Azure Shell, a web-based terminal located at shell.azure.com/. Nearly all of the examples in this book are also shown using the Azure Portal. PowerShell scripts, with the Azure PowerShell module, allow a more repeatable process for creating and managing Azure services. A recent version of an integrated development environment (IDE) like Visual Studio 2019 is optional, if you want to build the C# code examples or create your own projects using the various Azure software development kits.

You can also create the new ADF service using Azure PowerShell, which allows automation and repeatability. Use the New-AzDataFactoryV2 command to create a new ADF service. Supply the standard ResourceGroupName, Name, and Location parameters to create the service. You do not need to select the ADF version, because separate commands are used to create V1 and V2 services. Run the script in Listing 10.1 to create the ADF V2 service.

Listing 10.1. Creating a new ADF service with Azure PowerShell
New-AzDataFactoryV2 -ResourceGroupName "ade-dev-eastus2"
<lineArrow/>-Name "ade-dev-eastus2-adf" -Location "EastUS2"

When you first create an ADF service, it has no resources. For data engineers, most of the ADF setup lies in creating and configuring the linkedservices, dataset, pipeline, and trigger resources. ADF builds the pipelines using a no-code approach. All resources are defined using JSON configuration files. You can create the configuration files using the ADF authoring tool, or using a text editor and Azure PowerShell. The JSON elements define each resource’s properties, including the relationships to other resources, as follows: