Skip to content

Commit 2f9cf52

Browse files
author
Maddie Clayton
authored
Merge pull request #5929 from maddieclayton/releaseSub
Update Subscription for release
2 parents 62e436b + b441fc0 commit 2f9cf52

File tree

10 files changed

+36
-23
lines changed

10 files changed

+36
-23
lines changed

src/ResourceManager/Subscription/AzureRM.Subscription.Preview.Netcore.psd1 renamed to src/ResourceManager/Subscription/AzureRM.Subscription.Netcore.psd1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Module manifest for module 'AzureRM.Subscription.Preview'
2+
# Module manifest for module 'AzureRM.Subscription'
33
#
44
# Generated by: Microsoft Corporation
55
#
@@ -110,7 +110,7 @@ PrivateData = @{
110110
ReleaseNotes = 'Initial Release'
111111

112112
# Prerelease string of this module
113-
# Prerelease = ''
113+
Prerelease = 'preview'
114114

115115
# Flag to indicate whether the module requires explicit user acceptance for install/update/save
116116
# RequireLicenseAcceptance = $false

src/ResourceManager/Subscription/AzureRM.Subscription.Preview.psd1 renamed to src/ResourceManager/Subscription/AzureRM.Subscription.psd1

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Module manifest for module 'PSGet_AzureRM.Subscription.Preview'
2+
# Module manifest for module 'PSGet_AzureRM.Subscription'
33
#
44
# Generated by: Microsoft Corporation
55
#
@@ -12,7 +12,7 @@
1212
# RootModule = ''
1313

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

1717
# Supported PSEditions
1818
# CompatiblePSEditions = @()
@@ -107,10 +107,11 @@ PrivateData = @{
107107
# IconUri = ''
108108

109109
# ReleaseNotes of this module
110-
ReleaseNotes = '* Updated to the latest version of the Azure ClientRuntime'
110+
ReleaseNotes = '* Updated to the latest version of the Azure ClientRuntime
111+
* New cmdlet New-AzureRmSubscription to enable subscription creation under a specific EA enrollment account.'
111112

112113
# Prerelease string of this module
113-
# Prerelease = ''
114+
Prerelease = 'preview'
114115

115116
# Flag to indicate whether the module requires explicit user acceptance for install/update
116117
# RequireLicenseAcceptance = $false

src/ResourceManager/Subscription/ChangeLog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
- Additional information about change #1
1919
-->
2020
## Current Release
21-
* Set minimum dependency of module to PowerShell 5.0
2221

23-
## Version 0.1.2
22+
## Version 0.2.0
23+
* Set minimum dependency of module to PowerShell 5.0
2424
* New cmdlet New-AzureRmSubscription to enable subscription creation under a specific EA enrollment account.
2525
* Updated to the latest version of the Azure ClientRuntime
2626

src/ResourceManager/Subscription/Commands.Subscription.Test/ScenarioTests/TestController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void RunPsTestWorkflow(
130130

131131
_helper.SetupModules(AzureModule.AzureResourceManager,
132132
_helper.RMProfileModule,
133-
@"AzureRM.Subscription.Preview.psd1",
133+
@"AzureRM.Subscription.psd1",
134134
"ScenarioTests\\" + callingClassName + ".ps1");
135135
try
136136
{

src/ResourceManager/Subscription/Commands.Subscription/Commands.Subscription.Netcore.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
</PropertyGroup>
1414

1515
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
16-
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Subscription.Preview.Netcore\</OutputPath>
16+
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Subscription.Netcore\</OutputPath>
1717
<DelaySign>false</DelaySign>
1818
<DefineConstants>TRACE;DEBUG;NETSTANDARD</DefineConstants>
1919
</PropertyGroup>
2020

2121
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
22-
<OutputPath>..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Subscription.Preview.Netcore\</OutputPath>
22+
<OutputPath>..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Subscription.Netcore\</OutputPath>
2323
<DocumentationFile />
2424
<SignAssembly>true</SignAssembly>
2525
<DelaySign>true</DelaySign>
@@ -32,7 +32,7 @@
3232
</ItemGroup>
3333

3434
<ItemGroup>
35-
<None Include="..\AzureRM.Subscription.Preview.Netcore.psd1" Link="AzureRM.Subscription.Preview.Netcore.psd1">
35+
<None Include="..\AzureRM.Subscription.Netcore.psd1" Link="AzureRM.Subscription.Netcore.psd1">
3636
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
3737
</None>
3838
</ItemGroup>

src/ResourceManager/Subscription/Commands.Subscription/Commands.Subscription.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
<DebugSymbols>true</DebugSymbols>
1818
<DebugType>full</DebugType>
1919
<Optimize>false</Optimize>
20-
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Subscription.Preview\</OutputPath>
20+
<OutputPath>..\..\..\Package\Debug\ResourceManager\AzureResourceManager\AzureRM.Subscription\</OutputPath>
2121
<DefineConstants>DEBUG;TRACE</DefineConstants>
2222
<ErrorReport>prompt</ErrorReport>
2323
<WarningLevel>4</WarningLevel>
2424
</PropertyGroup>
2525
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
26-
<OutputPath>..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Subscription.Preview\</OutputPath>
26+
<OutputPath>..\..\..\Package\Release\ResourceManager\AzureResourceManager\AzureRM.Subscription\</OutputPath>
2727
<DefineConstants>TRACE;SIGN</DefineConstants>
2828
<Optimize>true</Optimize>
2929
<DebugType>pdbonly</DebugType>
@@ -73,8 +73,8 @@
7373
</ProjectReference>
7474
</ItemGroup>
7575
<ItemGroup>
76-
<None Include="..\AzureRM.Subscription.Preview.psd1">
77-
<Link>AzureRM.Subscription.Preview.psd1</Link>
76+
<None Include="..\AzureRM.Subscription.psd1">
77+
<Link>AzureRM.Subscription.psd1</Link>
7878
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
7979
</None>
8080
<None Include="Microsoft.Azure.Commands.Subscription.Format.ps1xml">
@@ -83,6 +83,9 @@
8383
</None>
8484
<None Include="MSSharedLibKey.snk" />
8585
<None Include="packages.config" />
86+
<None Include="StartupScripts\AzureRmSubscriptionStartup.ps1">
87+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
88+
</None>
8689
</ItemGroup>
8790
<ItemGroup>
8891
<Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />

src/ResourceManager/Subscription/Commands.Subscription/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@
4242
// You can specify all the values or you can default the Build and Revision Numbers
4343
// by using the '*' as shown below:
4444
// [assembly: AssemblyVersion("1.0.*")]
45-
[assembly: AssemblyVersion("0.1.2")]
46-
[assembly: AssemblyFileVersion("0.1.2")]
45+
[assembly: AssemblyVersion("0.2.0")]
46+
[assembly: AssemblyFileVersion("0.2.0")]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Register-ArgumentCompleter -CommandName New-AzureRmSubscription -ParameterName OfferType -ScriptBlock {
2+
param($commandName, $parameterName, $wordToComplete, $commandAst, $fakeBoundParameter)
3+
4+
$values = "MS-AZR-0017P", "MS-AZR-0148P"
5+
$values |
6+
ForEach-Object {
7+
[System.Management.Automation.CompletionResult]::new($_, $_, 'ParameterValue', $_)
8+
}
9+
}
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
Module Name: AzureRM.Subscription.Preview
2+
Module Name: AzureRM.Subscription
33
Module Guid: 8074e741-0979-4b4e-8f9b-7243f213d98a
44
Download Help Link:
55
Help Version: 1.0.0.0
66
Locale: en-US
77
---
88

9-
# AzureRM.Subscription.Preview Module
9+
# AzureRM.Subscription Module
1010
## Description
1111
The topics in this section document the Azure PowerShell cmdlets for Azure Subscription in the Azure Resource Manager (ARM) framework. The cmdlets exist in the Microsoft.Azure.Commands.Subscription namespace.
1212

13-
## AzureRM.Subscription.Preview Cmdlets
13+
## AzureRM.Subscription Cmdlets
1414
### [New-AzureRmSubscription](New-AzureRmSubscription.md)
1515
Creates an Azure subscription.
1616

src/ResourceManager/Subscription/Commands.Subscription/help/New-AzureRmSubscription.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
external help file: Microsoft.Azure.Commands.Subscription.dll-Help.xml
3-
Module Name: AzureRM.Subscription.Preview
4-
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.subscription.preview/new-azurermsubscription
3+
Module Name: AzureRM.Subscription
4+
online version: https://docs.microsoft.com/en-us/powershell/module/azurerm.subscription/new-azurermsubscription
55
schema: 2.0.0
66
---
77

0 commit comments

Comments
 (0)