Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{AzureSubscription} fixes Azure/azure-powershell#20812 fix the workload parameter #20842

Merged
merged 5 commits into from
Feb 6, 2023
Merged
Show file tree
Hide file tree
Changes from 4 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
* Fix for the `New-AzSubscriptionAlias` cmdlet to make the Workload parameter mandatory.
BethanyZhou marked this conversation as resolved.
Show resolved Hide resolved

## 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")]
navba-MSFT marked this conversation as resolved.
Show resolved Hide resolved
[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