Skip to content

Commit f1377cb

Browse files
author
Maddie Clayton
authored
Merge pull request Azure#6487 from markcowl/stack-june-merge
Merge AzureStack module release back to preview
2 parents 2393e9c + e87720e commit f1377cb

File tree

1,301 files changed

+244052
-80352
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,301 files changed

+244052
-80352
lines changed

build.proj

Lines changed: 255 additions & 155 deletions
Large diffs are not rendered by default.
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# Table of Contents
2+
1. [Summary](#summary)
3+
2. [Breaking changes in subscriptions module](#Breaking-changes-in-subscriptions-module)
4+
3. [Breaking changes in storage admin module](#Breaking-changes-in-storage-admin-module)
5+
6+
## Summary
7+
The module version 1.3.0 of AzureStack brings in many breaking changes. Most of these breaking changes were noted with warnings in the previous releases. Please note that there are no changes in the AzureRM version of the module specific to Azure Stack.
8+
9+
AzureRm.AzureStackAdmin module is replaced with Azs.Subscriptions.Admin and Azs.Subscriptions module
10+
AzureRm.AzureStackStorage module is replaced with Azs.Storage.Admin module
11+
12+
## Breaking changes in subscriptions module
13+
14+
**Prefix Changes**<br>
15+
The prefix *AzureRM* has been deprecated. We have been printing warning that the prefix *AzureRm* will be replaced with *Azs*. We replaced the AzureRm prefix with Azs in the last release with alias support. Now prefix *AzureRm* has been deprecated.The following are the changes.
16+
- *-AzureRmOffer is replaced with *-AzsOffer
17+
- *-AzureRmManagedOffer is replaced with *-AzsManagedOffer
18+
- *-AzureRmPlan is replaced with *-AzsPlan
19+
- *-AzureRmMangedSubscription is replaced with *-AzsUserSubscription
20+
- *-AzureRMTenantSubscription is replaced with *-AzsSubscription
21+
- *-AzureRmManagedLocation is replaced with *-AzsLocation
22+
23+
**Deprecated Cmdlets**
24+
25+
- ```Get-AzureStackToken``` is deprecated. If there is a need to get token, please use the Microsoft.IdentityModel.Clients.ActiveDirectory.dll directly.
26+
27+
- The cmdlets ```*-AzsReourceProviderManifest``` and ```*-AzsUsageConnection``` are deprecated
28+
For any of these usages, template based resource creation is preferred.  For deletion of these resources, deleting the whole resource group is preferred. If needed, you can also use generic cmdlet *-AzureRmResource
29+
30+
**Parameter Changes**<br>
31+
The previous release was printing warnings about the deprecation of the following parameter aliases and they are deprecated now.
32+
- Parameter alias ```PlanName``` has been deprecated in favor of ```Name``` in Plan cmdlets
33+
- Parameter alias ```OfferName``` has been deprecated in favor of ```Name``` in Offer cmdlets
34+
- Parameter alias ```ResourceGroup``` has been deprecated in favor of ```ResourceGroupName``` in all the cmdlets
35+
- Parameter ```Managed``` in Get-AzsPlan has been deprecated. It was not used before
36+
- Parameter ```Managed``` in Get-AzsOffer has been deprecated. Please use Get-AzsManagedOffer instead
37+
38+
**Flattening of Properties** <br>
39+
Properties field of the objects Plan, Offer, Subscription have been removed and the child properties are moved to the top level. If you are having any references to the Properties, this breaking change could be fixed by removing the intermediate Properties reference
40+
41+
**Force Parameter** <br>
42+
43+
Remove-* cmdlets will ask for confirmation before doing the remove action. Please use -Force to avoid the confirmation. The following are the affected cmldets
44+
- Remove-AzsOffer
45+
- Remove-AzsPlan
46+
- Remove-AzsUserSubscription
47+
- Remove-AzsSubscription
48+
49+
<br>
50+
51+
## Breaking Changes in Storage Admin Module
52+
53+
**Globally Removed Parameters**<br>
54+
The parameters ```SkipCertificateValidation``` and ```DefaultProfile``` have been removed from all cmdlets.
55+
56+
The parameters ```TimeGrain```, ```StartTimeInUtc```, ```EndTimInUtc```, ```MetricNames```, ```DetailedOutput```  have been removed for Get-Azs*Metric Cmdlets, please replace with Where-Object and Select-Object.
57+
58+
The pareamters ```MetricNames```, ```DetailedOutput```  have been removed for Get-Azs*MetricDefinition Cmdlets, please replace with Where-Object and Select-Object
59+
60+
**New Parameters**
61+
- The parameter ```ResourceGroupName``` is now an optional for all cmdlets.
62+
- The parameter ```FarmName``` will be required for all Cmdlets that reference nested resources under a farm.  You can get the value using the following
63+
64+
```powershell
65+
        (Get-AzsStorageFarm -ResourceGroupName $rgn).Name
66+
```
67+
Affected cmdlets
68+
- Get-AzsBlobService
69+
- Get-AzsBlobServiceMetric
70+
- Get-AzsBlobServiceMetricDefinition
71+
- Get-AzsStorageFarmMetric
72+
- Get-AzsStorageFarmMetricDefinition
73+
- Get-AzsStorageShare
74+
- Get-AzsStorageShareMetric
75+
- Get-AzsStorageShareMetricDefinition
76+
- Get-AzsTableService
77+
- Get-AzsTableServiceMetric
78+
- Get-AzsTableServiceMetricDefinition
79+
- Start-AzsReclaimStorageCapacity
80+
81+
```ResourceId``` parameter can be used for cmdlets that require ```Name``` . The ReourceId is same as the Id of the resource object that is returned from the Get-* cmdlets. The parameter also has an alias ```Id```.
82+
83+
Affected cmdlets<br>
84+
- Get-AzsStorageQuota
85+
- Get-AzsStorageShare
86+
- Remove-AzsStorageQuota
87+
- Set-AzsStorageQuota
88+
- Stop-AzsContainerMigration
89+
- Restore-AzsStorageAccount 
90+
91+
92+
**Get-AzsStorageAccount**<br>
93+
94+
The parameters ```TenantSubscriptionId```, ```PartialAccountName```, ```StorageAccountStatus``` and ```Detail``` has been removed.  A new parameter called ```Summary``` has been added.
95+
96+
**Get-AzsStorageAcquisition**<br>
97+
The parameters ```TenantSubscriptionId```, ```AccountName```, ```Container```, and ```Detail``` has been removed.  A new parameter called ```Filter``` has been added, this is an ODATA filter.
98+
99+
**Get-AzsStorageContainer**<br>
100+
The parameter ```Intent``` has been removed and Count has been renamed to MaxCount.
101+
102+
**Get-AzsStorageShare**<br>
103+
The parameter ```SourceShareName``` has been replaced with ```FarmName```. The parameter ```Intent``` has been removed.
104+
105+
**Start-AzsStorageContainerMigration**<br>
106+
The parameter ```ContainerToMigrate``` is renamed to ```ContainerName```.  The parameters ```StorageAccountName```, ```ShareName``` and ```FarmName``` have been added.
107+
108+
**Stop-AzsStorageContainerMigration**<br>
109+
This cmdlet has been renamed to ```Stop-AzsContainerMigration```
110+
111+
**Undo-AzsDeletedStorageAccount**<br>
112+
This cmdlet has been renamed to Restore-AzsStorageAccount. The parameters ```NewAccountName```, ```ResourceAdminApiVersion```, ```StorageAccountApiVersion``` have been deprecated.

src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/EnvironmentSetupHelper.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,10 @@ private static string GetConfigDirectory(string targetDirectory = "Package")
202202
var baseDirectory = Path.Combine(srcDirectory, targetDirectory);
203203
if (Directory.Exists(baseDirectory))
204204
{
205-
result = Directory.EnumerateDirectories(baseDirectory).FirstOrDefault();
205+
result = Directory.EnumerateDirectories(baseDirectory).FirstOrDefault(
206+
(dir) => ! string.IsNullOrWhiteSpace(dir)
207+
&& (dir.EndsWith("Debug", StringComparison.OrdinalIgnoreCase)
208+
|| dir.EndsWith("Release", StringComparison.OrdinalIgnoreCase)));
206209
if (result != null)
207210
{
208211
result = Path.GetFullPath(result);

src/ResourceManager/Network/Stack/AzureRM.Network.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,8 @@ PrivateData = @{
337337

338338
# ReleaseNotes of this module
339339
ReleaseNotes = '* New-AzureRmIpsecPolicy: SALifeTimeSeconds and SADataSizeKilobytes are no longer mandatory parameters
340-
   - SALifeTimeSeconds defaults to 27000 seconds
341-
   - SADataSizeKilobytes defaults to 102400000 KB
340+
- SALifeTimeSeconds defaults to 27000 seconds
341+
- SADataSizeKilobytes defaults to 102400000 KB
342342
* Added support for custom cipher suite configuration using ssl policy and listing all ssl options api in Application Gateway
343343
- Added optional parameter -PolicyType, -PolicyName, -MinProtocolVersion, -Ciphersuite
344344
- Add-AzureRmApplicationGatewaySslPolicy

0 commit comments

Comments
 (0)