Add-AzDataLakeAnalyticsDataSource
Adds a data source to a Data Lake Analytics account.
Note
This is the previous version of our documentation. Please consult the most recent version for up-to-date information.
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
Specifies the access key of the Azure Blob storage account to add.
| Type: | String |
| Position: | 2 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the Data Lake Analytics account name.
| Type: | String |
| Aliases: | AccountName |
| Position: | 0 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the name of the Azure Blob Storage account to add.
| Type: | String |
| Aliases: | AzureBlob |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
Specifies the name of the Azure Data Lake Store account to add.
| Type: | String |
| Position: | 1 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |
The credentials, account, tenant, and subscription used for communication with azure
| Type: | IAzureContextContainer |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Specifies the resource group name of the Data Lake Analytics account.
| Type: | String |
| Position: | 3 |
| Default value: | None |
| Accept pipeline input: | True |
| Accept wildcard characters: | False |