Skip to content

Commit 19bb5cd

Browse files
committed
Add back OfferType argument completer.
1 parent 5bc522c commit 19bb5cd

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/ResourceManager/Subscription/Commands.Subscription/Cmdlets/NewAzureRmSubscriptionDefinition.cs

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

15+
using Microsoft.Azure.Commands.ResourceManager.Common.ArgumentCompleters;
1516
using Microsoft.Azure.Commands.Subscription.Common;
1617
using Microsoft.Azure.Commands.Subscription.Models;
1718
using Microsoft.Azure.Management.Subscription;
18-
using System.Collections;
19-
using System.Collections.Generic;
20-
using System.Linq;
2119
using System.Management.Automation;
22-
using System.Management.Automation.Language;
2320

2421
namespace Microsoft.Azure.Commands.Subscription.Cmdlets
2522
{
@@ -30,6 +27,7 @@ public class NewAzureRmSubscriptionDefinition : AzureSubscriptionDefinitionCmdle
3027
public string Name { get; set; }
3128

3229
[Parameter(Mandatory = true, HelpMessage = "Offer type of the subscription definition.")]
30+
[PSArgumentCompleter("MS-AZR-0017P", "MS-AZR-0148P")]
3331
public string OfferType { get; set; }
3432

3533
[Parameter(Mandatory = false, HelpMessage = "Display name of the subscription.")]

0 commit comments

Comments
 (0)