編輯

共用方式為


Set-AzDataLakeAnalyticsDataSource

Modifies the details of a data source of a Data Lake Analytics account.

Syntax

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

Description

The Set-AzDataLakeAnalyticsDataSource cmdlet modifies the details of a data source of an Azure Data Lake Analytics account.

Examples

Example 1: Change the access key for a data source

Set-AzDataLakeAnalyticsDataSource -Account "ContosoAdlAccount" -Blob "contosowasb" -AccessKey "...newaccesskey..."

This command changes the access key stored for an Azure Blob Storage data source.

Parameters

-AccessKey

Specifies the new access key of the Azure Blob Storage data source.

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

Type:String
Aliases:AzureBlob
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

Void