Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Subscription/Subscription/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Fixed `New-AzSubscriptionAlias` cmdlet to make the Workload parameter mandatory.

## Version 0.8.1
* Updated Microsoft.Azure.Management.Subscription .Net SDK version to 2.0.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public ISubscriptionClient SubscriptionClient
[Parameter(Mandatory = false, HelpMessage = "Billing Scope")]
public string BillingScope { get; set; }

[Parameter(Mandatory = false, HelpMessage = "Type of Workload")]
[Parameter(Mandatory = true, HelpMessage = "Type of Workload")]
[PSArgumentCompleter("Production", "DevTest")]
public string Workload { get; set; }

Expand Down
4 changes: 2 additions & 2 deletions src/Subscription/Subscription/help/New-AzSubscriptionAlias.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,14 +146,14 @@ Accept wildcard characters: False
```

### -Workload
Type of Workload
Type of Workload. Accepted values: DevTest, Production.

```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Expand Down