Edit

Share via


Get-AzDataLakeAnalyticsDataSource

Gets a Data Lake Analytics data source.

Syntax

GetAllDataSources (Default)

Get-AzDataLakeAnalyticsDataSource
    [-Account] <String>
    [[-ResourceGroupName] <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetDataLakeStoreAccount

Get-AzDataLakeAnalyticsDataSource
    [-Account] <String>
    [-DataLakeStore] <String>
    [[-ResourceGroupName] <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

GetBlobStorageAccount

Get-AzDataLakeAnalyticsDataSource
    [-Account] <String>
    [-Blob] <String>
    [[-ResourceGroupName] <String>]
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

Description

The Get-AzDataLakeAnalyticsDataSource cmdlet gets an Azure Data Lake Analytics data source.

Examples

Example 1: Get a data source from an account

Get-AzDataLakeAnalyticsDataSource -AccountName "ContosoAdlA" -DataLakeStore "ContosoAdls"

This command gets a Data Lake Store data source named ContosoAdls from a Data Lake Analytics account.

Example 2: Get the list of Data Lake Store accounts in a Data Lake Analytics account

Get-AzDataLakeAnalyticsDataSource -AccountName "ContosoAdlA"

This command gets all Data Lake Store accounts from a Data Lake Analytics account.

Parameters

-Account

Specifies the Data Lake Analytics account that this cmdlet gets data sources.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AccountName

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-Blob

Specifies the name of the Azure Blob Storage data source.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzureBlob

Parameter sets

GetBlobStorageAccount
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-DataLakeStore

Specifies the name of the Data Lake Store account.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

GetDataLakeStoreAccount
Position:1
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-DefaultProfile

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

Parameter properties

Type:IAzureContextContainer
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-ResourceGroupName

Specifies the resource group name that contains the data source.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

PSStorageAccountInfo

PSDataLakeStoreAccountInfo

AdlDataSource