Add-AzureRmDataLakeAnalyticsDataSource

Adds a data source to a Data Lake Analytics account.

Warning

The AzureRM PowerShell module has been officially deprecated as of February 29, 2024. Users are advised to migrate from AzureRM to the Az PowerShell module to ensure continued support and updates.

Although the AzureRM module may still function, it's no longer maintained or supported, placing any continued use at the user's discretion and risk. Please refer to our migration resources for guidance on transitioning to the Az module.

Syntax

Add-AzureRmDataLakeAnalyticsDataSource
   [-Account] <String>
   [-DataLakeStore] <String>
   [[-ResourceGroupName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Add-AzureRmDataLakeAnalyticsDataSource
   [-Account] <String>
   [-Blob] <String>
   [-AccessKey] <String>
   [[-ResourceGroupName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Add-AzureRmDataLakeAnalyticsDataSource cmdlet adds a data source to an Azure Data Lake Analytics account.

Examples

Example 1: Add a data source to an account

PS C:\>Add-AzureRmDataLakeAnalyticsDataSource -Account "ContosoAdlA" -DataLakeStore "ContosoAdlS"

This command adds a Data Lake Store data source to a Data Lake Analytics account.

Parameters

-AccessKey

Specifies the access key of the Azure Blob storage account to add.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Account

Specifies the Data Lake Analytics account name.

Type:String
Aliases:AccountName
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Blob

Specifies the name of the Azure Blob Storage account to add.

Type:String
Aliases:AzureBlob
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DataLakeStore

Specifies the name of the Azure Data Lake Store account to add.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure

Type:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Specifies the resource group name of the Data Lake Analytics account.

Type:String
Position:3
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Inputs

String

Outputs

Object