Skip to content

Commit 1d49b58

Browse files
committed
Merge branch 'radius' of https://github.com/henry416/azure-powershell into radius
2 parents 4a36dd0 + 767508a commit 1d49b58

File tree

1,490 files changed

+312706
-378196
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,490 files changed

+312706
-378196
lines changed

.azure-pipelines/util/test-steps.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,22 @@ steps:
1616
custom: msbuild
1717
arguments: 'build.proj /t:${{ parameters.testTarget }} /p:Configuration=${{ parameters.configuration }};TestFramework=${{ parameters.testFramework }};PullRequestNumber=$(System.PullRequest.PullRequestNumber)'
1818

19+
- powershell: |
20+
Install-Module -Name Pester -RequiredVersion 4.10.1 -Force -SkipPublisherCheck
21+
Install-Module -Name Az.Accounts -Scope CurrentUser -Force
22+
Get-ChildItem -Directory Az.* | ForEach-Object {if (Test-Path $_/test-module.ps1) {cd $_; ./test-module.ps1}}
23+
workingDirectory: 'artifacts/Debug'
24+
displayName: Test for AutoGen Modules With Windows PowerShell
25+
condition: and(succeeded(), ne('${{ parameters.testTarget }}', 'Test'))
26+
27+
- pwsh: |
28+
Install-Module -Name Pester -RequiredVersion 4.10.1 -Force
29+
Install-Module -Name Az.Accounts -Scope CurrentUser -Force
30+
Get-ChildItem -Directory Az.* | ForEach-Object {if (Test-Path $_/test-module.ps1) {cd $_; ./test-module.ps1}}
31+
workingDirectory: 'artifacts/Debug'
32+
displayName: 'Test for AutoGen Modules With PowerShell Core'
33+
condition: and(succeeded(), eq('${{ parameters.testTarget }}', 'Test'))
34+
1935
- task: PublishTestResults@2
2036
inputs:
2137
testRunner: VSTest

.azure-pipelines/windows-powershell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ jobs:
6767
osName: ${{ variables.WindowsName }}
6868
testFramework: ${{ variables.TestFramework }}
6969
testTarget: ${{ variables.TestTarget }}
70-
configuration: ${{ variables.Configuration }}
70+
configuration: ${{ variables.Configuration }}

build.proj

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -263,17 +263,7 @@
263263
<!-- https://github.com/Microsoft/msbuild/issues/3157#issuecomment-378002971 -->
264264
<!-- https://github.com/xunit/xunit/issues/1154#issuecomment-405366373 -->
265265
<Exec Command="dotnet test $(RepoArtifacts)Azure.PowerShell.sln --filter &quot;AcceptanceType=CheckIn%26RunType!=DesktopOnly&quot; --configuration $(Configuration) --framework $(TestFramework) --logger trx --results-directory &quot;$(TestOutputDirectory)&quot;" />
266-
<!-- Run test for the generated modules -->
267-
<!-- Following is generated modules -->
268-
<ItemGroup>
269-
<ModuleFolders Include="$([System.IO.Directory]::GetDirectories('$(RepoArtifacts)$(Configuration)'))"/>
270-
</ItemGroup>
271-
<!-- Run the test in PowerShell core -->
272-
<Exec Command="pwsh -c Install-Module -Name Az.Accounts -Scope CurrentUser -Force" Condition="'$(TestFramework)'=='netcoreapp2.2'"/>
273-
<Exec Command="pwsh %(ModuleFolders.Identity)/test-module.ps1" Condition="'$(TestFramework)'=='netcoreapp2.2' And Exists('%(ModuleFolders.Identity)/test-module.ps1')"/>
274-
<!-- Run the test in Windows PowerShell-->
275-
<Exec Command="powershell -c Install-Module -Name Az.Accounts -Scope CurrentUser -Force" Condition="'$(TestFramework)'!='netcoreapp2.2'"/>
276-
<Exec Command="powershell -c Install-Module -Name Pester -Scope CurrentUser -Force -SkipPublisherCheck;powershell %(ModuleFolders.Identity)/test-module.ps1" Condition="'$(TestFramework)'!='netcoreapp2.2' And Exists('%(ModuleFolders.Identity)/test-module.ps1')" />
266+
277267
<OnError ExecuteTargets="TestFailureErrorMessage" />
278268
</Target>
279269

src/Compute/Compute.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScenarioTest.ResourceManage
2222
EndProject
2323
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFx", "..\..\tools\TestFx\TestFx.csproj", "{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}"
2424
EndProject
25+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ManagedServiceIdentity", "..\ManagedServiceIdentity\ManagedServiceIdentity\ManagedServiceIdentity.csproj", "{9F6FD098-3A06-4D8F-9807-7E941FBCFEE4}"
26+
EndProject
2527
Global
2628
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2729
Debug|Any CPU = Debug|Any CPU
@@ -64,6 +66,10 @@ Global
6466
{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Debug|Any CPU.Build.0 = Debug|Any CPU
6567
{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.ActiveCfg = Release|Any CPU
6668
{BC80A1D0-FFA4-43D9-AA74-799F5CB54B58}.Release|Any CPU.Build.0 = Release|Any CPU
69+
{9F6FD098-3A06-4D8F-9807-7E941FBCFEE4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
70+
{9F6FD098-3A06-4D8F-9807-7E941FBCFEE4}.Debug|Any CPU.Build.0 = Debug|Any CPU
71+
{9F6FD098-3A06-4D8F-9807-7E941FBCFEE4}.Release|Any CPU.ActiveCfg = Release|Any CPU
72+
{9F6FD098-3A06-4D8F-9807-7E941FBCFEE4}.Release|Any CPU.Build.0 = Release|Any CPU
6773
EndGlobalSection
6874
GlobalSection(SolutionProperties) = preSolution
6975
HideSolutionNode = FALSE
@@ -72,6 +78,7 @@ Global
7278
{37C44181-3F1B-4ABD-8089-26DFAB4B6BA8} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
7379
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
7480
{9FFC40CC-A341-4D0C-A25D-DC6B78EF6C94} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
81+
{9F6FD098-3A06-4D8F-9807-7E941FBCFEE4} = {95C16AED-FD57-42A0-86C3-2CF4300A4817}
7582
EndGlobalSection
7683
GlobalSection(ExtensibilityGlobals) = postSolution
7784
SolutionGuid = {54E53EE0-76A1-4911-8FED-63555F09459F}

src/CosmosDB/CosmosDB.Test/CosmosDB.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
</PropertyGroup>
55
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.Test.props" />
66
<ItemGroup>
7-
<PackageReference Include="Microsoft.Azure.Management.CosmosDB" Version="1.1.0" />
7+
<PackageReference Include="Microsoft.Azure.Management.CosmosDB" Version="1.1.1" />
88
<PackageReference Include="Microsoft.Azure.Management.Network" Version="19.20.0-preview" />
99
</ItemGroup>
1010
</Project>

src/CosmosDB/CosmosDB.sln

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio 15
3-
VisualStudioVersion = 15.0.27703.2042
2+
# Visual Studio Version 16
3+
VisualStudioVersion = 16.0.30011.22
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CosmosDB", "CosmosDB\CosmosDB.csproj", "{42656543-77AD-4968-BA4B-BE0778705625}"
66
EndProject
@@ -37,8 +37,12 @@ Global
3737
{5E5BBB82-2D69-4A12-93AA-E5753F87AF03}.Release|x64.ActiveCfg = Release|Any CPU
3838
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
3939
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|Any CPU.Build.0 = Debug|Any CPU
40+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|x64.ActiveCfg = Debug|Any CPU
41+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Debug|x64.Build.0 = Debug|Any CPU
4042
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|Any CPU.ActiveCfg = Release|Any CPU
4143
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|Any CPU.Build.0 = Release|Any CPU
44+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|x64.ActiveCfg = Release|Any CPU
45+
{98CFD96B-A6BC-4F15-AE2C-603FC2B58981}.Release|x64.Build.0 = Release|Any CPU
4246
EndGlobalSection
4347
GlobalSection(SolutionProperties) = preSolution
4448
HideSolutionNode = FALSE

src/CosmosDB/CosmosDB/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
-->
2020

2121
## Upcoming Release
22+
* Updated the Azure.Management.CosmosDB Sdk Version to 1.1.1
2223
* Replaces Set-AzCosmosDB* cmdlets with New-AzCosmosDB* and Update-AzComsosDB* cmdlets.
2324
The following cmdlets are added:
2425
New-AzCosmosDBSqlStoredProcedure, New-AzCosmosDBSqlTrigger,

src/CosmosDB/CosmosDB/CosmosDB.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.props" />
88
<ItemGroup>
9-
<PackageReference Include="Microsoft.Azure.Management.CosmosDB" Version="1.1.0" />
9+
<PackageReference Include="Microsoft.Azure.Management.CosmosDB" Version="1.1.1" />
1010
</ItemGroup>
1111

1212
</Project>

src/CosmosDB/CosmosDB/CosmosDBAccount/NewAzCosmosDBAccount.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ public class NewAzCosmosDBAccount : AzureCosmosDBCmdletBase
9292
[Parameter(Mandatory = false, HelpMessage = Constants.DisableKeyBasedMetadataWriteAccessHelpMessage)]
9393
public SwitchParameter DisableKeyBasedMetadataWriteAccess { get; set; }
9494

95+
[Parameter(Mandatory = false, HelpMessage = Constants.KeyVaultUriHelpMessage)]
96+
public string KeyVaultKeyUri { get; set; }
97+
9598
[Parameter(Mandatory = false, HelpMessage = Constants.AsJobHelpMessage)]
9699
public SwitchParameter AsJob { get; set; }
97100

@@ -210,6 +213,11 @@ public override void ExecuteCmdlet()
210213
databaseAccountCreateUpdateParameters.DisableKeyBasedMetadataWriteAccess = DisableKeyBasedMetadataWriteAccess;
211214
databaseAccountCreateUpdateParameters.IpRangeFilter = IpRangeFilterAsString;
212215
databaseAccountCreateUpdateParameters.PublicNetworkAccess = PublicNetworkAccess;
216+
217+
if (KeyVaultKeyUri != null)
218+
{
219+
databaseAccountCreateUpdateParameters.KeyVaultKeyUri = KeyVaultKeyUri;
220+
}
213221

214222
if (!string.IsNullOrEmpty(ApiKind))
215223
{

src/CosmosDB/CosmosDB/CosmosDBAccount/UpdateAzCosmosDBAccount.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ public class UpdateAzCosmosDBAccount : AzureCosmosDBCmdletBase
8888
[PSArgumentCompleter("Disabled", "Enabled")]
8989
public string PublicNetworkAccess { get; set; }
9090

91+
[Parameter(Mandatory = false, HelpMessage = Constants.KeyVaultUriHelpMessage)]
92+
public string KeyVaultKeyUri { get; set; }
93+
9194
[Parameter(Mandatory = false, HelpMessage = Constants.AsJobHelpMessage)]
9295
public SwitchParameter AsJob { get; set; }
9396

@@ -131,6 +134,10 @@ public override void ExecuteCmdlet()
131134
{
132135
databaseAccountUpdateParameters.PublicNetworkAccess = PublicNetworkAccess;
133136
}
137+
if (KeyVaultKeyUri != null)
138+
{
139+
databaseAccountUpdateParameters.KeyVaultKeyUri = KeyVaultKeyUri;
140+
}
134141

135142
if (!string.IsNullOrEmpty(DefaultConsistencyLevel))
136143
{

src/CosmosDB/CosmosDB/Helpers/Constants.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ internal static class Constants
4949
public const string AccountKeyTypeHelpMessage = "Value from: {ConnectionStrings, Keys, ReadOnlyKeys}. Default is Keys.";
5050
public const string DisableKeyBasedMetadataWriteAccessHelpMessage = "Disable write operations on metadata resources (databases, containers, throughput) via account keys";
5151
public const string PublicNetworkAccessHelpMessage = "Whether or not public endpoint access is allowed for this server. Possible values include: 'Enabled', 'Disabled'";
52+
public const string KeyVaultUriHelpMessage = "URI of the KeyVault";
5253

5354
//Sql cmdlets help messages
5455
public const string DatabaseNameHelpMessage = "Database name.";

src/CosmosDB/CosmosDB/Models/PSDatabaseAccount.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ public class PSDatabaseAccount
2121
{
2222
public PSDatabaseAccount()
2323
{
24-
}
25-
24+
}
25+
2626
public PSDatabaseAccount(DatabaseAccountGetResults databaseAccountGetResults)
2727
{
2828
Id = databaseAccountGetResults.Id;
@@ -48,6 +48,8 @@ public PSDatabaseAccount(DatabaseAccountGetResults databaseAccountGetResults)
4848
ConnectorOffer = databaseAccountGetResults.ConnectorOffer;
4949
DisableKeyBasedMetadataWriteAccess = databaseAccountGetResults.DisableKeyBasedMetadataWriteAccess;
5050
PublicNetworkAccess = databaseAccountGetResults.PublicNetworkAccess;
51+
KeyVaultKeyUri = databaseAccountGetResults.KeyVaultKeyUri;
52+
PrivateEndpointConnections = databaseAccountGetResults.PrivateEndpointConnections;
5153
}
5254

5355
//
@@ -155,5 +157,11 @@ public PSDatabaseAccount(DatabaseAccountGetResults databaseAccountGetResults)
155157
// Gets or sets Whether or not public endpoint access is allowed for this server.
156158
// Possible values include: 'Enabled', 'Disabled'
157159
public string PublicNetworkAccess { get; set; }
160+
//
161+
// Summary:
162+
// Gets or sets the URI of the key vault
163+
public string KeyVaultKeyUri { get; set; }
164+
// Gets or sets list of Private Endpoint Connections configured for the Cosmos DB account.
165+
public IList<PrivateEndpointConnection> PrivateEndpointConnections { get; set; }
158166
}
159167
}

src/DataShare/DataShare/Az.DataShare.psd1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# Generated by: Microsoft Corporation
55
#
6-
# Generated on: 12/11/2019
6+
# Generated on: 4/29/2020
77
#
88

99
@{
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '0.1.1'
15+
ModuleVersion = '0.1.2'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -130,7 +130,7 @@ PrivateData = @{
130130
# IconUri = ''
131131

132132
# ReleaseNotes of this module
133-
ReleaseNotes = '* Update references in .psd1 to use relative path'
133+
ReleaseNotes = '* Update references to use latest Nuget package version'
134134

135135
# Prerelease string of this module
136136
# Prerelease = ''

src/DataShare/DataShare/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
-->
2020

2121
## Upcoming Release
22+
23+
## Version 0.1.2
2224
* Update references to use latest Nuget package version
2325

2426
## Version 0.1.1

src/DataShare/DataShare/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@
2525
[assembly: ComVisible(false)]
2626
[assembly: CLSCompliant(false)]
2727
[assembly: Guid("d90791a2-8102-47fc-8150-de25ae796eb1")]
28-
[assembly: AssemblyVersion("0.1.1")]
29-
[assembly: AssemblyFileVersion("0.1.1")]
28+
[assembly: AssemblyVersion("0.1.2")]
29+
[assembly: AssemblyFileVersion("0.1.2")]

src/FrontDoor/FrontDoor.Test/FrontDoor.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
</PropertyGroup>
1212

1313
<ItemGroup>
14-
<PackageReference Include="Microsoft.Azure.Management.FrontDoor" Version="2.0.0" />
14+
<PackageReference Include="Microsoft.Azure.Management.FrontDoor" Version="2.1.0" />
1515
</ItemGroup>
1616

1717
</Project>

src/FrontDoor/FrontDoor.Test/ScenarioTests/FrontDoorTests.cs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using Microsoft.Azure.Commands.FrontDoor.Test.ScenarioTests.ScenarioTest;
1615
using Microsoft.WindowsAzure.Commands.ScenarioTest;
1716
using Xunit;
1817

@@ -49,12 +48,12 @@ public void TestFrontDoorCrudWithPiping()
4948
TestController.NewInstance.RunPowerShellTest(_logger, "Test-FrontDoorCrudWithPiping");
5049
}
5150

52-
[Fact]
53-
[Trait(Category.AcceptanceType, Category.CheckIn)]
54-
public void TestFrontDoorEndpointCustomDomainHTTPSFrontDoor()
55-
{
56-
TestController.NewInstance.RunPowerShellTest(_logger, "Test-FrontDoorEndpointCustomDomainHTTPS-FrontDoor");
57-
}
51+
//[Fact]
52+
//[Trait(Category.AcceptanceType, Category.CheckIn)]
53+
//public void TestFrontDoorEndpointCustomDomainHTTPSFrontDoor()
54+
//{
55+
// TestController.NewInstance.RunPowerShellTest(_logger, "Test-FrontDoorEndpointCustomDomainHTTPS-FrontDoor");
56+
//}
5857

5958
[Fact]
6059
[Trait(Category.AcceptanceType, Category.CheckIn)]

src/FrontDoor/FrontDoor.Test/SessionRecords/Microsoft.Azure.Commands.FrontDoor.Test.ScenarioTests.ScenarioTest.FrontDoorTests/TestFrontDoorCrud.json

Lines changed: 296 additions & 434 deletions
Large diffs are not rendered by default.

src/FrontDoor/FrontDoor.Test/SessionRecords/Microsoft.Azure.Commands.FrontDoor.Test.ScenarioTests.ScenarioTest.FrontDoorTests/TestFrontDoorCrudDefaults.json

Lines changed: 313 additions & 286 deletions
Large diffs are not rendered by default.

src/FrontDoor/FrontDoor.Test/SessionRecords/Microsoft.Azure.Commands.FrontDoor.Test.ScenarioTests.ScenarioTest.FrontDoorTests/TestFrontDoorCrudRedirect.json

Lines changed: 390 additions & 336 deletions
Large diffs are not rendered by default.

src/FrontDoor/FrontDoor.Test/SessionRecords/Microsoft.Azure.Commands.FrontDoor.Test.ScenarioTests.ScenarioTest.FrontDoorTests/TestFrontDoorCrudWithPiping.json

Lines changed: 306 additions & 252 deletions
Large diffs are not rendered by default.

src/FrontDoor/FrontDoor/Az.FrontDoor.psd1

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

1414
# Version number of this module.
15-
ModuleVersion = '1.4.0'
15+
ModuleVersion = '1.5.0'
1616

1717
# Supported PSEditions
1818
CompatiblePSEditions = 'Core', 'Desktop'
@@ -92,7 +92,15 @@ CmdletsToExport = 'New-AzFrontDoor', 'Get-AzFrontDoor', 'Set-AzFrontDoor',
9292
'Disable-AzFrontDoorCustomDomainHttps',
9393
'Get-AzFrontDoorFrontendEndpoint',
9494
'New-AzFrontDoorWafManagedRuleOverrideObject',
95-
'New-AzFrontDoorWafManagedRuleExclusionObject'
95+
'New-AzFrontDoorWafManagedRuleExclusionObject',
96+
'New-AzFrontDoorRulesEngine',
97+
'New-AzFrontDoorRulesEngineRuleObject',
98+
'New-AzFrontDoorRulesEngineActionObject',
99+
'New-AzFrontDoorHeaderActionObject',
100+
'New-AzFrontDoorRulesEngineMatchConditionObject',
101+
'Get-AzFrontDoorRulesEngine',
102+
'Set-AzFrontDoorRulesEngine',
103+
'Remove-AzFrontDoorRulesEngine'
96104

97105
# Variables to export from this module
98106
# VariablesToExport = @()

src/FrontDoor/FrontDoor/ChangeLog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
-->
2020
## Upcoming Release
2121

22+
## Version 1.5.0
23+
* Add new cmdlets for creation, update, retreival, and deletion of Front Door Rules Engine object
24+
* Add helper cmdlets for construction of Front Door Rules Engine object
25+
* Add Rules Engine reference to Front Door Routing Rule object.
26+
* Add Private Link parameters to Front Door Backend object
27+
2228
## Version 1.4.0
2329
* Added cmdlet to get managed rule definitions that can be used in WAF
2430

src/FrontDoor/FrontDoor/Cmdlets/DisableAzureRmFrontDoorCustomDomainHttps.cs renamed to src/FrontDoor/FrontDoor/Cmdlets/DisableFrontDoorCustomDomainHttps.cs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,22 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using System;
16-
using System.Collections;
17-
using System.Management.Automation;
18-
using System.Net;
1915
using Microsoft.Azure.Commands.FrontDoor.Common;
2016
using Microsoft.Azure.Commands.FrontDoor.Helpers;
2117
using Microsoft.Azure.Commands.FrontDoor.Models;
2218
using Microsoft.Azure.Commands.FrontDoor.Properties;
23-
using Microsoft.Azure.Management.FrontDoor;
24-
using System.Linq;
2519
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
20+
using Microsoft.Azure.Management.FrontDoor;
2621
using Microsoft.Azure.Management.Internal.Resources.Utilities.Models;
22+
using System.Management.Automation;
2723

2824
namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2925
{
3026
/// <summary>
3127
/// Defines the Enable-AzCustomDomainHttps cmdlet.
3228
/// </summary>
3329
[Cmdlet("Disable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorCustomDomainHttps", SupportsShouldProcess = true, DefaultParameterSetName = FieldsParameterSet), OutputType(typeof(PSFrontendEndpoint))]
34-
public class DisableAzureRmFrontDoorCustomDomainHttps : AzureFrontDoorCmdletBase
30+
public class DisableFrontDoorCustomDomainHttps : AzureFrontDoorCmdletBase
3531
{
3632
/// <summary>
3733
/// The resource group to which the Front Door belongs.

src/FrontDoor/FrontDoor/Cmdlets/EnableAzureRmFrontDoorCustomDomainHttps.cs renamed to src/FrontDoor/FrontDoor/Cmdlets/EnableFrontDoorCustomDomainHttps.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2828
/// Defines the Enable-AzCustomDomainHttps cmdlet.
2929
/// </summary>
3030
[Cmdlet("Enable", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoorCustomDomainHttps", SupportsShouldProcess = true, DefaultParameterSetName = FieldsParameterSet), OutputType(typeof(PSFrontendEndpoint))]
31-
public class EnableAzureRmFrontDoorCustomDomainHttps : AzureFrontDoorCmdletBase
31+
public class EnableFrontDoorCustomDomainHttps : AzureFrontDoorCmdletBase
3232
{
3333
/// <summary>
3434
/// The resource group to which the Front Door belongs.

src/FrontDoor/FrontDoor/Cmdlets/GetAzureRmFrontDoor.cs renamed to src/FrontDoor/FrontDoor/Cmdlets/GetFrontDoor.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,22 @@
1212
// limitations under the License.
1313
// ----------------------------------------------------------------------------------
1414

15-
using System;
16-
using System.Collections;
17-
using System.Management.Automation;
18-
using System.Net;
1915
using Microsoft.Azure.Commands.FrontDoor.Common;
2016
using Microsoft.Azure.Commands.FrontDoor.Helpers;
2117
using Microsoft.Azure.Commands.FrontDoor.Models;
2218
using Microsoft.Azure.Commands.FrontDoor.Properties;
2319
using Microsoft.Azure.Management.FrontDoor;
2420
using System.Linq;
25-
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
21+
using System.Management.Automation;
22+
using System.Net;
2623

2724
namespace Microsoft.Azure.Commands.FrontDoor.Cmdlets
2825
{
2926
/// <summary>
3027
/// Defines the Get-AzFrontDoor cmdlet.
3128
/// </summary>
3229
[Cmdlet("Get", ResourceManager.Common.AzureRMConstants.AzureRMPrefix + "FrontDoor"), OutputType(typeof(PSFrontDoor))]
33-
public class GetAzureRmFrontDoor : AzureFrontDoorCmdletBase
30+
public class GetFrontDoor : AzureFrontDoorCmdletBase
3431
{
3532
/// <summary>
3633
/// The resource group name of the Front Door.

0 commit comments

Comments
 (0)