Skip to content

Commit 159b0f2

Browse files
committed
addressing review comments
1 parent c4db17a commit 159b0f2

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

docs/migration-guides/migration-guide.2.0.0-preview.md

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
This document serves as both a breaking change notification and migration guide for consumers of the AzureStack powershell version 2.0.0-preview. The module AzureStack 2.0.0-preview is compatible with both powershell core and windows powershell. The modules an also be installed on MacOs and Linux in addition to Windows.
33

4-
The previous version 1.8.1 is combatible only with windows powershell and does not support Mac/Linux platforms. The version 1.8.1 also requires AzureRM modules instead of Az.
4+
The previous version 1.8.1 is compatible only with windows powershell and does not support Mac/Linux platforms. The version 1.8.1 also requires AzureRM modules instead of Az.
55

66
The modules are generated with the autorest tool (https://github.com/Azure/autorest.powershell).
77

@@ -18,10 +18,10 @@ The modules are generated with the autorest tool (https://github.com/Azure/autor
1818
## Common Changes
1919

2020
### Az.Accounts dependency
21-
All AzureStack Admin modules have dependency on the Az.Accounts module version 2.0.1-preview. This version of Az.Accounts module is built with MSAL dll(https://github.com/AzureAD/microsoft-authentication-library-for-dotnet). This supports ADFS scnearios and device code authentication
21+
All AzureStack Admin modules have dependency on the Az.Accounts module version 2.0.1-preview. This version of Az.Accounts module is built with MSAL dll(https://github.com/AzureAD/microsoft-authentication-library-for-dotnet). This supports ADFS scenarios and device code authentication
2222

2323
### Output Model Changes
24-
Output models of all the cmdlets have changed. Since the powershell modules are generated with the new autorest powershell extension, the outpu models have all changed considerably. If the existing scripts are accessing the output model, they likely need a change. Since the output model changes are huge and it impact each and every cmdlet, this guide does not list each of the changes
24+
Output models of all the cmdlets have changed. Since the powershell modules are generated with the new autorest powershell extension, the output models have all changed considerably. If the existing scripts are accessing the output model, they likely need a change. Since the output model changes are huge and it impact each and every cmdlet, this guide does not list each of the changes
2525

2626
### Removal of -AsJob feature
2727
The current version of the cmdlets do not support -AsJob paramter. It will get added in a future release as auotorest powershell generator evolves.
@@ -53,11 +53,11 @@ The -Force paramter has been removed from the following cmdlets. The cmdlets wou
5353

5454
## Azs.Fabric.Admin
5555
### **Get-AzsInfrastructureRoleInstance **
56-
- Return property changed: The object Size (.Cores/.MemoryInGB) is flatten to NumberOfCores and SizeMemoryInGB
56+
- Return property changed: The object Size (.Cores/.MemoryInGB) is flattened to NumberOfCores and SizeMemoryInGB
5757
### **Get-AzsScaleUnit**
58-
- Return property changed: The object TotalCapacity (.Cores/.MemoryInGB) is flatten to TotalCapacityOfCores and TotalCapacityOfMemoryInGB
58+
- Return property changed: The object TotalCapacity (.Cores/.MemoryInGB) is flattened to TotalCapacityOfCores and TotalCapacityOfMemoryInGB
5959
### **Get-AzsScaleUnitNode**
60-
- Return property changed: The object Capacity (.Cores/.MemoryInGB) is flatten to CapacityOfCores and CapacityOfMemoryInGB
60+
- Return property changed: The object Capacity (.Cores/.MemoryInGB) is flattened to CapacityOfCores and CapacityOfMemoryInGB
6161

6262
## Azs.Storage.Admin
6363
### **Update-AzsStorageSettings**
@@ -79,11 +79,20 @@ The -Force paramter has been removed from the following cmdlets. The cmdlets wou
7979
### **Move-AzsSubscription**
8080
- The cmdlet Move-AzsSubscription has been renamed to Move-AzsUserSubscription
8181

82-
### **ArmLocation parmeter deprecated**
82+
### **ArmLocation parameter deprecated**
8383
- Parameter ArmLocation deprecated. Please use Location parameter instead. The affected cmdlets are New-AzsOffer, New-AzsPlan, Set-AzsOffer, Set-AzsPlan
8484

8585
### **Set-AzsUserSubscription**
86-
- The parameter set that takes each individial parameter has been deprecated. To update the subscription, the user object should be retrieved with the Get command, modify the needed properties in the object and then pipe it to the Set command. The parameter Location has been deprecated
86+
- To update the subscription, the user object should be retrieved with the Get command, modify the needed properties in the object and then pipe it to the Set command. Please look at the example [here](https://github.com/Azure/azurestack-powershell/blob/master/src/Azs.Subscriptions.Admin/examples/Set-AzsUserSubscription.md). The update can also be done by explicitly passing all the individual properties as parameter. The parameter Location has been deprecated
87+
88+
### **Set-AzsOffer**
89+
- To update the Offer, the Offer object should be retrieved with the Get command, modify the needed properties in the object and then pipe it to the Set command. Please look at the example [here](https://github.com/Azure/azurestack-powershell/blob/master/src/Azs.Subscriptions.Admin/examples/Set-AzsOffer.md)
90+
).The update can also be done by explicitly passing all the individual properties as parameter.
91+
92+
93+
### **Set-AzsPlan**
94+
- To update the plan, the plan object should be retrieved with the Get command, modify the needed properties in the object and then pipe it to the Set command. Please look at the example [here](https://github.com/Azure/azurestack-powershell/blob/master/src/Azs.Subscriptions.Admin/examples/Set-AzsPlan.md)
95+
).The update can also be done by explicitly passing all the individual properties as parameter.
8796

8897
## Azs.Subscriptions
8998
### **New-AzsSubscription**

0 commit comments

Comments
 (0)