Skip to content

Commit 2bc7a71

Browse files
author
v-ajnava
committed
Merge branch 'preview' of https://github.com/Azure/azure-powershell into SBProperties
2 parents 188b148 + 611926d commit 2bc7a71

File tree

1,261 files changed

+92519
-214972
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,261 files changed

+92519
-214972
lines changed

ChangeLog.md

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,57 @@
1-
## 5.3.0 - February 2018
1+
## 5.4.1 - February 2018
2+
#### AzureRM.Profile
3+
* Fix concurrent module import issue in PowerShell Workflow and Azure Automation
4+
5+
## 5.4.0 - February 2018
6+
#### AzureRM.Automation
7+
* Added alias from New-AzureRmAutomationModule to Import-AzureRmAutomationModule
8+
9+
#### AzureRM.Compute
10+
* Fix ErrorAction issue for some of Get cmdlets.
11+
12+
#### AzureRM.ContainerInstance
13+
* Apply Azure Container Instance SDK 2018-02-01
14+
- Support DNS name label
15+
16+
#### AzureRM.DevTestLabs
17+
* Fixed all of the GET cmdlets which previously weren't working.
18+
19+
#### AzureRM.EventHub
20+
* Fix bug in Get-AzureRmEventHubGeoDRConfiguration help
21+
22+
#### AzureRM.Network
23+
* Added cmdlet to create a new connection monitor
24+
- New-AzureRmNetworkWatcherConnectionMonitor
25+
* Added cmdlet to update a connection monitor
26+
- Set-AzureRmNetworkWatcherConnectionMonitor
27+
* Added cmdlet to get connection monitor or connection monitor list
28+
- Get-AzureRmNetworkWatcherConnectionMonitor
29+
* Added cmdlet to query connection monitor
30+
- Get-AzureRmNetworkWatcherConnectionMonitorReport
31+
* Added cmdlet to start connection monitor
32+
- Start-AzureRmNetworkWatcherConnectionMonitor
33+
* Added cmdlet to stop connection monitor
34+
- Stop-AzureRmNetworkWatcherConnectionMonitor
35+
* Added cmdlet to remove connection monitor
36+
- Remove-AzureRmNetworkWatcherConnectionMonitor
37+
* Updated Set-AzureRmApplicationGatewayBackendAddressPool documentation to remove deprecated example
38+
* Added EnableHttp2 flag to Application Gateway
39+
- Updated New-AzureRmApplicationGateway: Added optional parameter -EnableHttp2
40+
* Add IpTags to PublicIpAddress
41+
- Updated New-AzureRmPublicIpAddress: Added IpTags
42+
- New-AzureRmPublicIpTag to add Iptag
43+
* Add DisableBgpRoutePropagation property in RouteTable and effectiveRoute.
44+
45+
#### AzureRM.Resources
46+
* Register-AzureRmProviderFeature: Added missing example in the docs
47+
* Register-AzureRmResourceProvider: Added missing example in the docs
48+
49+
#### AzureRM.Storage
50+
* Obsolete following parameters in new and set Storage Account cmdlets: EnableEncryptionService and DisableEncryptionService, since Encryption at Rest is enabled by default and can't be disabled.
51+
- New-AzureRmStorageAccount
52+
- Set-AzureRmStorageAccount
53+
54+
## 5.3.0 - February 2018
255
#### AzureRM.Profile
356
* Added deprecation warning for PowerShell 3 and 4
457
* 'Add-AzureRmAccount' has been renamed as 'Connect-AzureRmAccount'; an alias has been added for the old cmdlet name, and other aliases ('Login-AzAccount' and 'Login-AzureRmAccount') have been redirected to the new cmdlet name.

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ environment:
88
secure: VMFbecLLHzDq/09YDPbcM0VDDSwwgY57vr5GXK6cZZ4Ti/Xs5RZoylzV8MMr1350
99

1010
before_build:
11-
- ps: Get-Module -ListAvailable | where-Object {$_.Name -like “Azure*”} | Uninstall-Module -Verbose
11+
- ps: Get-ChildItem -Path ("$env:programfiles" + "\WindowsPowerShell\Modules") | Where-Object { $_.FullName -match 'azure' } | foreach { Remove-Item $_.FullName -Recurse -Force }
1212
- ps: Install-Module -Name PowerShellGet -Force
1313
- ps: Install-Module -Name SplitPipeline -Force
1414
- ps: Install-Module -Name platyPS -Force

setup/azurecmd.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
66
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
77

8-
<?define version="5.3.0" ?>
8+
<?define version="5.4.0" ?>
99

1010
<Product Id="*"
1111
Name="$(var.productName)"

src/Common/Commands.Common.Authentication.Abstractions/AzureEnvironment.cs

Lines changed: 9 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -122,34 +122,20 @@ static IDictionary<string, AzureEnvironment> InitializeBuiltInEnvironments()
122122
BatchEndpointResourceId = AzureEnvironmentConstants.GermanBatchEndpointResourceId,
123123
AdTenant = "Common"
124124
};
125-
return new Dictionary<string, AzureEnvironment>(StringComparer.InvariantCultureIgnoreCase)
126-
{
127-
{ EnvironmentName.AzureCloud, azureCloud },
128-
{ EnvironmentName.AzureChinaCloud, azureChina },
129-
{ EnvironmentName.AzureUSGovernment, azureUSGovernment },
130-
{ EnvironmentName.AzureGermanCloud, azureGermany }
131-
132-
};
125+
var result = new ConcurrentDictionary<string, AzureEnvironment>(StringComparer.InvariantCultureIgnoreCase);
126+
127+
result[EnvironmentName.AzureCloud] = azureCloud;
128+
result[EnvironmentName.AzureChinaCloud] = azureChina;
129+
result[EnvironmentName.AzureUSGovernment] = azureUSGovernment;
130+
result[EnvironmentName.AzureGermanCloud] = azureGermany;
131+
132+
return result;
133133
}
134134

135-
static int _initialized = 0;
136-
static IDictionary<string, AzureEnvironment> _builtInEnvironments;
137135
/// <summary>
138136
/// Predefined Microsoft Azure environments
139137
/// </summary>
140-
public static IDictionary<string, AzureEnvironment> PublicEnvironments
141-
{
142-
get
143-
{
144-
if (Interlocked.Exchange(ref _initialized, 1) == 0)
145-
{
146-
_builtInEnvironments = InitializeBuiltInEnvironments();
147-
}
148-
149-
return _builtInEnvironments;
150-
}
151-
}
152-
138+
public static IDictionary<string, AzureEnvironment> PublicEnvironments { get; } = InitializeBuiltInEnvironments();
153139

154140
public AzureEnvironment()
155141
{

src/Common/Commands.Common/AzurePowerShell.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public class AzurePowerShell
2626

2727
public const string AssemblyCopyright = "Copyright © Microsoft";
2828

29-
public const string AssemblyVersion = "5.3.0";
29+
public const string AssemblyVersion = "5.4.0";
3030

31-
public const string AssemblyFileVersion = "5.3.0";
31+
public const string AssemblyFileVersion = "5.4.0";
3232

3333
public const string ProfileFile = "AzureProfile.json";
3434

src/ResourceManager/AnalysisServices/AzureRM.AnalysisServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ CLRVersion = '4.0'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '4.3.0'; })
54+
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '4.3.1'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = '.\Microsoft.Azure.Management.Analysis.dll'

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/Azure.AnalysisServices.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ CLRVersion='4.0'
4545
ProcessorArchitecture = 'None'
4646

4747
# Modules that must be imported into the global environment prior to importing this module
48-
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '4.3.0'; })
48+
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '4.3.1'; })
4949

5050
# Assemblies that must be loaded prior to importing this module
5151
RequiredAssemblies = @()

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/help/Add-AzureAnalysisServicesAccount.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
211211
212212
## INPUTS
213213
214+
### None
215+
This cmdlet does not accept any input.
216+
214217
## OUTPUTS
215218
216219
### Microsoft.Azure.Commands.AnalysisServices.Dataplane.AsAzureProfile

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/help/Export-AzureAnalysisServicesInstanceLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ Accept wildcard characters: False
7777
7878
## INPUTS
7979
80+
### None
81+
This cmdlet does not accept any input.
82+
8083
## OUTPUTS
8184
8285
## NOTES

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/help/Restart-AzureAnalysisServicesInstance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ Accept wildcard characters: False
9393
9494
## INPUTS
9595
96+
### None
97+
This cmdlet does not accept any input.
98+
9699
## OUTPUTS
97100
98101
### System.Boolean

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/help/Sync-AzureAnalysisServicesInstance.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ Accept wildcard characters: False
7979
8080
## INPUTS
8181
82+
### None
83+
This cmdlet does not accept any input.
84+
8285
## OUTPUTS
8386
8487
### System.Boolean

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/Get-AzureRmAnalysisServicesServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8888
8989
## INPUTS
9090
91+
### None
92+
This cmdlet does not accept any input.
93+
9194
## OUTPUTS
9295
9396
### Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesServer

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/New-AzureRmAnalysisServicesServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
234234
235235
## INPUTS
236236
237+
### None
238+
This cmdlet does not accept any input.
239+
237240
## OUTPUTS
238241
239242
### Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesServer

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/Remove-AzureRmAnalysisServicesServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
126126
127127
## INPUTS
128128
129+
### None
130+
This cmdlet does not accept any input.
131+
129132
## OUTPUTS
130133
131134
### Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesServer

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/Resume-AzureRmAnalysisServicesServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
126126
127127
## INPUTS
128128
129+
### None
130+
This cmdlet does not accept any input.
131+
129132
## OUTPUTS
130133
131134
### Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesServer

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/Set-AzureRmAnalysisServicesServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
259259
260260
## INPUTS
261261
262+
### None
263+
This cmdlet does not accept any input.
264+
262265
## OUTPUTS
263266
264267
### Microsoft.Azure.Management.Analysis.Models.AnalysisServicesServer

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/Suspend-AzureRmAnalysisServicesServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
126126
127127
## INPUTS
128128
129+
### None
130+
This cmdlet does not accept any input.
131+
129132
## OUTPUTS
130133
131134
### Microsoft.Azure.Commands.AnalysisServices.Models.AzureAnalysisServicesServer

src/ResourceManager/AnalysisServices/Commands.AnalysisServices/help/Test-AzureRmAnalysisServicesServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8181
8282
## INPUTS
8383
84+
### None
85+
This cmdlet does not accept any input.
86+
8487
## OUTPUTS
8588
8689
### System.Boolean

src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ CLRVersion = '4.0'
5151
# ProcessorArchitecture = ''
5252

5353
# Modules that must be imported into the global environment prior to importing this module
54-
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '4.3.0'; })
54+
RequiredModules = @(@{ModuleName = 'AzureRM.Profile'; ModuleVersion = '4.3.1'; })
5555

5656
# Assemblies that must be loaded prior to importing this module
5757
RequiredAssemblies = '.\AutoMapper.dll',

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Add-AzureRmApiManagementApiToProduct.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
112112
113113
## INPUTS
114114
115+
### None
116+
This cmdlet does not accept any input.
117+
115118
## OUTPUTS
116119
117120
### Boolean

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Add-AzureRmApiManagementProductToGroup.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
116116
117117
## INPUTS
118118
119+
### None
120+
This cmdlet does not accept any input.
121+
119122
## OUTPUTS
120123
121124
### Boolean

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Add-AzureRmApiManagementUserToGroup.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
115115
116116
## INPUTS
117117
118+
### None
119+
This cmdlet does not accept any input.
120+
118121
## OUTPUTS
119122
120123
### Boolean

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Backup-AzureRmApiManagement.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
151151
152152
## INPUTS
153153
154+
### None
155+
This cmdlet does not accept any input.
156+
154157
## OUTPUTS
155158
156159
### Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Export-AzureRmApiManagementApi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
185185
186186
## INPUTS
187187
188+
### None
189+
This cmdlet does not accept any input.
190+
188191
## OUTPUTS
189192
190193
### String

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagement.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
101101
102102
## INPUTS
103103
104+
### None
105+
This cmdlet does not accept any input.
106+
104107
## OUTPUTS
105108
106109
### System.Collections.Generic.List`1[Microsoft.Azure.Commands.ApiManagement.Models.PsApiManagement]

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagementApi.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
148148
149149
## INPUTS
150150
151+
### None
152+
This cmdlet does not accept any input.
153+
151154
## OUTPUTS
152155
153156
### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementApi

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagementAuthorizationServer.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9494
9595
## INPUTS
9696
97+
### None
98+
This cmdlet does not accept any input.
99+
97100
## OUTPUTS
98101
99102
### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOAuth2AuthrozationServer

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagementBackend.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
100100
101101
## INPUTS
102102
103+
### None
104+
This cmdlet does not accept any input.
105+
103106
## OUTPUTS
104107
105108
### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementBackend

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagementCertificate.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
129129
130130
## INPUTS
131131
132+
### None
133+
This cmdlet does not accept any input.
134+
132135
## OUTPUTS
133136
134137
### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementCertificate

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagementGroup.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
175175
176176
## INPUTS
177177
178+
### None
179+
This cmdlet does not accept any input.
180+
178181
## OUTPUTS
179182
180183
### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementGroup

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagementIdentityProvider.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
101101
102102
## INPUTS
103103
104+
### None
105+
This cmdlet does not accept any input.
106+
104107
## OUTPUTS
105108
106109
### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementIdentityProvider

src/ResourceManager/ApiManagement/Commands.ApiManagement/help/Get-AzureRmApiManagementLogger.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
9898
9999
## INPUTS
100100
101+
### None
102+
This cmdlet does not accept any input.
103+
101104
## OUTPUTS
102105
103106
### Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger

0 commit comments

Comments
 (0)