Skip to content

Commit

Permalink
Add new examples to DataLakeAnalytics (#13296)
Browse files Browse the repository at this point in the history
- Add new examples to the following modules:
		DataLakeAnalytics

Co-authored-by: Maoliang Huang <[email protected]>
  • Loading branch information
aladdindoc and kceiw authored Oct 26, 2020
1 parent 496fe86 commit 35f2795
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,21 @@ The **Add-AzDataLakeAnalyticsDataSource** cmdlet adds a data source to an Azure
## EXAMPLES

### Example 1: Add a data source to an account
```
```powershell
PS C:\>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)

<!-- Aladdin Generated Example -->
```powershell
Add-AzDataLakeAnalyticsDataSource -AccessKey '...newaccesskey...' -Account 'ContosoAdlA' -Blob 'AzureStorage01'
```

## PARAMETERS

### -AccessKey
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,21 @@ The **Set-AzDataLakeAnalyticsAccount** cmdlet modifies an Azure Data Lake Analyt
## EXAMPLES

### Example 1: Modify the data source of an account
```
```powershell
PS C:\>Set-AzDataLakeAnalyticsAccount -Name "ContosoAdlAcct" -DefaultDataLakeStore "ContosoAdlStore01" -Tags @{"stage"="production"}
```

This command changes the default data source and the Tags property of the account.

### Example 2

Modifies a Data Lake Analytics account. (autogenerated)

<!-- Aladdin Generated Example -->
```powershell
Set-AzDataLakeAnalyticsAccount -AllowAzureIpState Enabled -FirewallState Enabled -Name 'ContosoAdlAcct' -ResourceGroupName myresourcegroup
```

## PARAMETERS

### -AllowAzureIpState
Expand Down

0 comments on commit 35f2795

Please sign in to comment.