Skip to content

Commit 63408cf

Browse files
Merge branch 'az-preview' into local-september-release
# Conflicts: # src/ResourceManager/Sql/Commands.Sql.Test/Commands.Sql.Test.Netcore.csproj
2 parents 8939a4b + e1d5ab1 commit 63408cf

File tree

269 files changed

+14406
-3589
lines changed

Some content is hidden

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

269 files changed

+14406
-3589
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
src/Publish/
33
src/Package/
44
src/Stack/
5+
src/local-artifacts/*
6+
!.placeholder
57

68
obj
79
TestResults

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ script:
2727
- sudo dotnet msbuild build.proj /t:BuildNetcore /p:Configuration=$CONFIG || travis_terminate 1
2828
- sudo dotnet tools/StaticAnalysis/bin/$CONFIG/netcoreapp2.1/StaticAnalysis.Netcore.dll -p src/Package/$CONFIG -r src/Package -u || travis_terminate 1
2929
- sudo pwsh -NonInteractive -NoLogo -NoProfile -File tools/TestModuleLoading.ps1 || travis_terminate 1
30-
- sudo dotnet test src/Azure.PowerShell.Netcore.Test.sln --filter "AcceptanceType=CheckIn&RunType!=DesktopOnly" --configuration $CONFIG
30+
- sudo dotnet pack src/TestPrerequisites/Common.TestPrerequisites.sln --configuration $CONFIG || travis_terminate 1
31+
- sudo dotnet test src/Azure.PowerShell.Netcore.Test.sln --filter "AcceptanceType=CheckIn&RunType!=DesktopOnly" --configuration $CONFIG --framework netcoreapp2.0
3132

3233
after_success:
3334
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then

NuGet.Config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
33
<packageSources>
4+
<add key="local-artifacts" value="src/local-artifacts" />
45
<add key="local-feed" value="tools/LocalFeed" />
56
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
67
<add key="dotnet-core" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
In the new Az Netstandard module, the default prefix for all cmdlets is "Az". However, in order to prevent massive breaking changes that require scripts to be immediately rewritten, we have created a new cmdlet "Enable-AzureRmAlias" that will enable aliases to the old "AzureRm" prefix. This is a guide on how to add aliases for new cmdlets added to any module.
2+
3+
1.) Ensure your cmdlet attribute is formatted correctly to include the AzureRMPrefix. This will make the cmdlet prefix "Az" for Netstandard and "AzureRM" for the legacy desktop module (while the desktop module continues to be maintained). Example can be found [here](https://github.com/Azure/azure-powershell/blob/preview/src/ResourceManager/Profile/Commands.Profile/Default/GetAzureRmDefault.cs#L29).
4+
5+
2.) Ensure both AzureRm.\<moduleName>.psd1 and Az.\<moduleName>.psd1 are updated with all new cmdlets. The prefix for cmdlets in AzureRM.\<moduleName>.psd1 should be AzureRm, and the prefix for cmdlets in Az.\<moduleName>.psd1 should be Az.
6+
7+
3.) Run the script to create alias mapping. This can be found in [tools/CreateAliasMappings.ps1](https://github.com/Azure/azure-powershell/blob/preview/tools/CreateAliasMapping.ps1).
8+
9+
4.) Copy the output contents from [tools/AliasMappings.json](https://github.com/Azure/azure-powershell/blob/preview/tools/AliasMapping.json) into the mapping variable in [src/ResourceManager/Profile/Commands.Profile/AzureRmAlias/Mappings.cs](https://github.com/Azure/azure-powershell/blob/preview/src/ResourceManager/Profile/Commands.Profile/AzureRmAlias/Mappings.cs#L36).

src/ResourceManager/Aks/Commands.Aks.Test/Commands.Aks.Test.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.Aks.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.Aks.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Dataplane/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
99
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.28.3" targetFramework="net45" />
1010
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
11-
<package id="Microsoft.Rest.ClientRuntime" version="2.3.12" targetFramework="net452" />
12-
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.13" targetFramework="net452" />
11+
<package id="Microsoft.Rest.ClientRuntime" version="2.3.13" targetFramework="net452" />
12+
<package id="Microsoft.Rest.ClientRuntime.Azure" version="3.3.15" targetFramework="net452" />
1313
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />
1414
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
1515
</packages>

src/ResourceManager/AnalysisServices/Commands.AnalysisServices.Test/Commands.AnalysisServices.Test.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.AnalysisServices.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.AnalysisServices.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/ResourceManager/ApiManagement/Commands.ApiManagement.Test/Commands.ApiManagement.Test.Netcore.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.ApiManagement.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.ApiManagement.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
@@ -24,7 +24,7 @@
2424
<DefineConstants>TRACE;RELEASE;NETSTANDARD;SIGN</DefineConstants>
2525
</PropertyGroup>
2626

27-
<ItemGroup>
27+
<ItemGroup Condition="'$(TargetFramework)' != 'net472'">
2828
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="4.0.4-preview" />
2929
</ItemGroup>
3030

src/ResourceManager/ApiManagement/Commands.ApiManagement/Commands.ApiManagement.Netcore.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3+
<PropertyGroup>
4+
<OmitJsonPackage>true</OmitJsonPackage>
5+
</PropertyGroup>
6+
37
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.targets" />
48

59
<PropertyGroup>

src/ResourceManager/ApiManagement/Commands.SMAPI.Test/Commands.ApiManagement.ServiceManagement.Test.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/ResourceManager/ApplicationInsights/Commands.ApplicationInsights.Test/Commands.ApplicationInsights.Test.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.ApplicationInsights.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.ApplicationInsights.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/ResourceManager/Automation/Commands.Automation.Test/Commands.Automation.Test.Netcore.csproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.ResourceManager.Automation.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.ResourceManager.Automation.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1010
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1111
<WarningsAsErrors />
12+
<OutputType>Library</OutputType>
13+
<AutoGenerateBindingRedirects>False</AutoGenerateBindingRedirects>
1214
</PropertyGroup>
1315

1416
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -23,8 +25,10 @@
2325
<DefineConstants>TRACE;RELEASE;NETSTANDARD;SIGN</DefineConstants>
2426
</PropertyGroup>
2527

28+
<ItemGroup Condition="'$(TargetFramework)' != 'net472'">
29+
<PackageReference Include="Microsoft.Azure.Management.Automation" Version="2.0.6" />
30+
</ItemGroup>
2631
<ItemGroup>
27-
<PackageReference Include="Microsoft.Azure.Management.Automation" Version="2.0.5" />
2832
<PackageReference Include="MSTest.TestAdapter" Version="1.2.1" />
2933
<PackageReference Include="MSTest.TestFramework" Version="1.2.1" />
3034
</ItemGroup>

src/ResourceManager/Automation/Commands.Automation/Commands.Automation.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</PropertyGroup>
2929

3030
<ItemGroup>
31-
<PackageReference Include="Microsoft.Azure.Management.Automation" Version="2.0.5" />
31+
<PackageReference Include="Microsoft.Azure.Management.Automation" Version="2.0.6" />
3232
<PackageReference Include="System.Security.Permissions" Version="4.5.0" />
3333
</ItemGroup>
3434

src/ResourceManager/AzureBackup/Commands.AzureBackup.Test/Commands.AzureBackup.Test.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.AzureBackup.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.AzureBackup.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/ResourceManager/AzureBatch/Commands.Batch.Test/Commands.Batch.Test.Netcore.csproj

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,19 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<OmitJsonPackage>true</OmitJsonPackage>
4+
<UseStorageDataPlane>true</UseStorageDataPlane>
5+
</PropertyGroup>
26

37
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
48

59
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
10+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
711
<AssemblyName>Microsoft.Azure.Commands.Batch.Test</AssemblyName>
812
<RootNamespace>Microsoft.Azure.Commands.Batch.Test</RootNamespace>
913
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
1014
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1115
<WarningsAsErrors />
16+
<AutoGenerateBindingRedirects>False</AutoGenerateBindingRedirects>
1217
</PropertyGroup>
1318

1419
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -23,7 +28,7 @@
2328
<DefineConstants>TRACE;RELEASE;NETSTANDARD;SIGN</DefineConstants>
2429
</PropertyGroup>
2530

26-
<ItemGroup>
31+
<ItemGroup Condition="'$(TargetFramework)' != 'net472'">
2732
<PackageReference Include="Azure.Batch" Version="8.1.1" />
2833
<PackageReference Include="Microsoft.Azure.Management.Batch" Version="4.2.0" />
2934
<PackageReference Include="Microsoft.Extensions.Primitives" Version="2.1.1" />

src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/BatchController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public void RunPsTestWorkflow(
109109
if (scriptBuilder != null)
110110
{
111111
var psScripts = scriptBuilder();
112-
113112
if (psScripts != null)
114113
{
115114
_helper.RunPowerShellTest(psScripts);

src/ResourceManager/AzureBatch/Commands.Batch.Test/ScenarioTests/FileTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public FileTests(Xunit.Abstractions.ITestOutputHelper output)
3535

3636
[Fact]
3737
[Trait(Category.AcceptanceType, Category.CheckIn)]
38+
[Trait(Category.RunType, Category.DesktopOnly)]
3839
public void TestGetNodeFileContentByTask()
3940
{
4041
BatchController controller = BatchController.NewInstance;
@@ -64,6 +65,7 @@ public void TestGetNodeFileContentByTask()
6465

6566
[Fact]
6667
[Trait(Category.AcceptanceType, Category.CheckIn)]
68+
[Trait(Category.RunType, Category.DesktopOnly)]
6769
public void TestGetNodeFileContentByComputeNode()
6870
{
6971
BatchController controller = BatchController.NewInstance;

src/ResourceManager/AzureBatch/Commands.Batch/Commands.Batch.Netcore.csproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3+
<PropertyGroup>
4+
<OmitJsonPackage>true</OmitJsonPackage>
5+
</PropertyGroup>
6+
37
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.targets" />
48

59
<PropertyGroup>

src/ResourceManager/Billing/Commands.Billing.Test/Commands.Billing.Test.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.Billing.Test</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.Billing.Test</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/ResourceManager/Cdn/Commands.Cdn.Test/Commands.Cdn.Test.Netcore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<Import Project="$(ProjectDir)..\..\..\..\tools\Common.Netcore.Dependencies.Test.targets" />
44

55
<PropertyGroup>
6-
<TargetFramework>netcoreapp2.1</TargetFramework>
6+
<TargetFrameworks>netcoreapp2.1;netcoreapp2.0;net472</TargetFrameworks>
77
<AssemblyName>Microsoft.Azure.Commands.Cdn.Test.ScenarioTests</AssemblyName>
88
<RootNamespace>Microsoft.Azure.Commands.Cdn.Test.ScenarioTests</RootNamespace>
99
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

src/ResourceManager/Cdn/Commands.Cdn.Test/Commands.Cdn.Test.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@
125125
<None Include="SessionRecords\Microsoft.Azure.Commands.Cdn.Test.ScenarioTests.ScenarioTest.ProfileTests\TestProfileGetResourceUsage.json">
126126
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
127127
</None>
128+
<None Include="SessionRecords\Microsoft.Azure.Commands.Cdn.Test.ScenarioTests.ScenarioTest.ProfileTests\TestSkuCreate.json">
129+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
130+
</None>
128131
<None Include="SessionRecords\Microsoft.Azure.Commands.Cdn.Test.ScenarioTests.ScenarioTest.EndpointTests\TestEndpointResourceUsage.json">
129132
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
130133
</None>

src/ResourceManager/Cdn/Commands.Cdn.Test/ScenarioTests/ProfileTests.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ public void TestProfileCrud()
3535
TestController.NewInstance.RunPowerShellTest(_logger, "Test-ProfileCrud");
3636
}
3737

38+
[Fact]
39+
[Trait(Category.AcceptanceType, Category.CheckIn)]
40+
public void TestSkuCreate()
41+
{
42+
TestController.NewInstance.RunPowerShellTest(_logger, "Test-SkuCreate");
43+
}
44+
3845
[Fact]
3946
[Trait(Category.AcceptanceType, Category.CheckIn)]
4047
public void TestProfileCrudWithPiping()

src/ResourceManager/Cdn/Commands.Cdn.Test/ScenarioTests/ProfileTests.ps1

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

15+
<#
16+
.SYNOPSIS
17+
Create Profile with different Sku
18+
#>
19+
function Test-SkuCreate
20+
{
21+
$profileName = getAssetName
22+
$resourceGroup = TestSetup-CreateResourceGroup
23+
$profileLocation = "EastUS"
24+
$profileSku = "Standard_Microsoft"
25+
$createdProfile = New-AzureRmCdnProfile -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Location $profileLocation -Sku $profileSku
26+
27+
Assert-NotNull $createdProfile
28+
Assert-AreEqual $profileName $createdProfile.Name
29+
Assert-AreEqual $resourceGroup.ResourceGroupName $createdProfile.ResourceGroupName
30+
Assert-AreEqual $profileSku $createdProfile.Sku.Name
31+
32+
$profileSku = "Standard_Verizon"
33+
$profileName = getAssetName
34+
$createdProfile = New-AzureRmCdnProfile -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Location $profileLocation -Sku $profileSku
35+
Assert-NotNull $createdProfile
36+
Assert-AreEqual $profileName $createdProfile.Name
37+
Assert-AreEqual $resourceGroup.ResourceGroupName $createdProfile.ResourceGroupName
38+
Assert-AreEqual $profileSku $createdProfile.Sku.Name
39+
40+
$profileSku = "Premium_Verizon"
41+
$profileName = getAssetName
42+
$createdProfile = New-AzureRmCdnProfile -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Location $profileLocation -Sku $profileSku
43+
Assert-NotNull $createdProfile
44+
Assert-AreEqual $profileName $createdProfile.Name
45+
Assert-AreEqual $resourceGroup.ResourceGroupName $createdProfile.ResourceGroupName
46+
Assert-AreEqual $profileSku $createdProfile.Sku.Name
47+
48+
$profileSku = "Standard_Akamai"
49+
$profileName = getAssetName
50+
$createdProfile = New-AzureRmCdnProfile -ProfileName $profileName -ResourceGroupName $resourceGroup.ResourceGroupName -Location $profileLocation -Sku $profileSku
51+
Assert-NotNull $createdProfile
52+
Assert-AreEqual $profileName $createdProfile.Name
53+
Assert-AreEqual $resourceGroup.ResourceGroupName $createdProfile.ResourceGroupName
54+
Assert-AreEqual $profileSku $createdProfile.Sku.Name
55+
56+
Remove-AzureRmResourceGroup -Name $resourceGroup.ResourceGroupName -Force
57+
}
1558
<#
1659
.SYNOPSIS
1760
Full Profile CRUD cycle

0 commit comments

Comments
 (0)