You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/migration-guides/migration-guide.2.0.0-preview.md
+17-8Lines changed: 17 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
2
2
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.
3
3
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.
5
5
6
6
The modules are generated with the autorest tool (https://github.com/Azure/autorest.powershell).
7
7
@@ -18,10 +18,10 @@ The modules are generated with the autorest tool (https://github.com/Azure/autor
18
18
## Common Changes
19
19
20
20
### 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
22
22
23
23
### 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
25
25
26
26
### Removal of -AsJob feature
27
27
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
53
53
54
54
## Azs.Fabric.Admin
55
55
### **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
57
57
### **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
59
59
### **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
61
61
62
62
## Azs.Storage.Admin
63
63
### **Update-AzsStorageSettings**
@@ -79,11 +79,20 @@ The -Force paramter has been removed from the following cmdlets. The cmdlets wou
79
79
### **Move-AzsSubscription**
80
80
- The cmdlet Move-AzsSubscription has been renamed to Move-AzsUserSubscription
81
81
82
-
### **ArmLocation parmeter deprecated**
82
+
### **ArmLocation parameter deprecated**
83
83
- Parameter ArmLocation deprecated. Please use Location parameter instead. The affected cmdlets are New-AzsOffer, New-AzsPlan, Set-AzsOffer, Set-AzsPlan
84
84
85
85
### **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.
0 commit comments