編輯

共用方式為


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