Add-AzDataLakeAnalyticsDataSource

Adds a data source to a Data Lake Analytics account.

Syntax

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

Description

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

Examples

Example 1: Add a data source to an account

Add-AzDataLakeAnalyticsDataSource -Account "ContosoAdlA" -DataLakeStore "ContosoAdlS"

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

Example 2

Adds a data source to a Data Lake Analytics account. (autogenerated)

Add-AzDataLakeAnalyticsDataSource -AccessKey '...newaccesskey...' -Account 'ContosoAdlA' -Blob 'AzureStorage01'

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:AzContext, 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