Skip to content

Commit ad68131

Browse files
authored
Merge branch 'master' into ayelet
2 parents fcd9ee5 + a3c2343 commit ad68131

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

documentation/migration-guides/Az.2.0.0-migration-guide.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -251,16 +251,33 @@ This document describes the changes between the 1.0.0 and 2.0.0 versions of Az
251251
```
252252

253253
### Az.HDInsight
254-
- Removed cmdlet `Grant-AzHDInsightHttpServicesAccess` and replaced with `Set-AzHDInsightGatewayCredential`
254+
- Removed the `Grant-AzHDInsightHttpServicesAccess` and `Revoke-AzHDInsightHttpServicesAccess` cmdlets. These are no longer necessary because HTTP access is always enabled on all HDInsight clusters.
255+
- Added a new `Set-AzHDInsightGatewayCredential` cmdlet. Use this cmdlet to change the gateway HTTP username and password (replaces `Grant-AzHDInsightHttpServicesAccess`).
256+
- Updated the `Get-AzHDInsightJobOutput` cmdlet to support granular role-based access to the storage key.
257+
- Users with HDInsight Cluster Operator, Contributor, or Owner roles will not be affected.
258+
- Users with only the Reader role will need to specify `DefaultStorageAccountKey` parameter explicitly.
259+
260+
For more information about these role-based access changes, see [aka.ms/hdi-config-update](http://aka.ms/hdi-config-update)
261+
255262
#### Before
256263
```powershell
257-
Grant-AzHDInsightHttpServicesAccess ...
264+
Grant-AzHDInsightHttpServicesAccess -ClusterName $cluster -HttpCredential $credential
265+
```
266+
#### After
267+
```powershell
268+
Set-AzHDInsightGatewayCredential -ClusterName $cluster -HttpCredential $credential
269+
```
270+
271+
### Users with only Reader role for cmdlet Get-AzHDInsightJobOutput
272+
273+
#### Before
274+
```powershell
275+
Get-AzHDInsightJobOutput -ClusterName $clusterName -JobId $jobId
258276
```
259277
#### After
260278
```powershell
261-
Set-AzHDInsightGatewayCredential ...
279+
Get-AzHDInsightJobOutput -ClusterName $clusterName -JobId $jobId -DefaultStorageAccountKey $storageAccountKey
262280
```
263-
- Removed cmdlet `Revoke-AzHDInsightHttpServicesAccess`
264281

265282
### Az.Storage
266283
- 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.

src/Websites/Websites.Test/ScenarioTests/WebAppBackupRestoreTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,21 +116,21 @@ public void TestRestoreWebAppSnapshot()
116116
WebsitesController.NewInstance.RunPsTest(_logger, "Test-RestoreWebAppSnapshot");
117117
}
118118

119-
[Fact]
119+
[Fact(Skip="Get-AzDeletedWebApp returning null in recorded tests #9191")]
120120
[Trait(Category.AcceptanceType, Category.CheckIn)]
121121
public void TestGetDeletedWebApp()
122122
{
123123
WebsitesController.NewInstance.RunPsTest(_logger, "Test-GetDeletedWebApp");
124124
}
125125

126-
[Fact]
126+
[Fact(Skip="Get-AzDeletedWebApp returning null in recorded tests #9191")]
127127
[Trait(Category.AcceptanceType, Category.CheckIn)]
128128
public void TestRestoreDeletedWebAppToExisting()
129129
{
130130
WebsitesController.NewInstance.RunPsTest(_logger, "Test-RestoreDeletedWebAppToExisting");
131131
}
132132

133-
[Fact]
133+
[Fact(Skip="Get-AzDeletedWebApp returning null in recorded tests #9191")]
134134
[Trait(Category.AcceptanceType, Category.CheckIn)]
135135
public void TestRestoreDeletedWebAppToNew()
136136
{

0 commit comments

Comments
 (0)