Skip to content

[HDInsight] Update description about Az.HDInsight in Az2.0.0.0-migration-guide.md #9145

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions documentation/migration-guides/Az.2.0.0-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,16 +251,33 @@ This document describes the changes between the 1.0.0 and 2.0.0 versions of Az
```

### Az.HDInsight
- Removed cmdlet `Grant-AzHDInsightHttpServicesAccess` and replaced with `Set-AzHDInsightGatewayCredential`
- Removed the `Grant-AzHDInsightHttpServicesAccess` and `Revoke-AzHDInsightHttpServicesAccess` cmdlets. These are no longer necessary because HTTP access is always enabled on all HDInsight clusters.
- Added a new `Set-AzHDInsightGatewayCredential` cmdlet. Use this cmdlet to change the gateway HTTP username and password (replaces `Grant-AzHDInsightHttpServicesAccess`).
- Updated the `Get-AzHDInsightJobOutput` cmdlet to support granular role-based access to the storage key.
- Users with HDInsight Cluster Operator, Contributor, or Owner roles will not be affected.
- Users with only the Reader role will need to specify `DefaultStorageAccountKey` parameter explicitly.

For more information about these role-based access changes, see [aka.ms/hdi-config-update](http://aka.ms/hdi-config-update)

#### Before
```powershell
Grant-AzHDInsightHttpServicesAccess ...
Grant-AzHDInsightHttpServicesAccess -ClusterName $cluster -HttpCredential $credential
```
#### After
```powershell
Set-AzHDInsightGatewayCredential -ClusterName $cluster -HttpCredential $credential
```

### Users with only Reader role for cmdlet Get-AzHDInsightJobOutput

#### Before
```powershell
Get-AzHDInsightJobOutput -ClusterName $clusterName -JobId $jobId
```
#### After
```powershell
Set-AzHDInsightGatewayCredential ...
Get-AzHDInsightJobOutput -ClusterName $clusterName -JobId $jobId -DefaultStorageAccountKey $storageAccountKey
```
- Removed cmdlet `Revoke-AzHDInsightHttpServicesAccess`

### Az.Storage
- Namespaces for types returned from Blob, Queue, and File cmdlets have changed their namespace from `Microsoft.WindowsAzure.Storage` to `Microsoft.Azure.Storage`. While this is not technically a breaking change according to the breaking change policy, it may require some changes in code that uses the methods from the Storage .Net SDK to interact with the objects returned from these cmdlets.
Expand Down