你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Get-AzDataLakeAnalyticsDataSource

Gets a Data Lake Analytics data source.

Syntax

Get-AzDataLakeAnalyticsDataSource
   [-Account] <String>
   [[-ResourceGroupName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzDataLakeAnalyticsDataSource
   [-Account] <String>
   [-DataLakeStore] <String>
   [[-ResourceGroupName] <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
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.

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 data source.

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 Data Lake Store account.

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 that contains the data source.

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

Inputs

String

Outputs

PSStorageAccountInfo

PSDataLakeStoreAccountInfo

AdlDataSource