Skip to content

Commit

Permalink
Fix LocationName to Location for Get-AzMdpSku Cmdlet
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaykn committed Nov 5, 2024
1 parent 6174dd5 commit 1083e6e
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
7 changes: 7 additions & 0 deletions src/Mdp/Mdp.Autorest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@ directive:
subject: ResourceDetail
set:
subject: PoolAgent
# Rename LocationName parameter
- where:
verb: Get
subject: Sku
parameter-name: LocationName
set:
parameter-name: Location
# Dont flatten hash objects
- no-inline:
- AgentProfile
Expand Down
2 changes: 1 addition & 1 deletion src/Mdp/Mdp.Autorest/docs/Az.Mdp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
Module Name: Az.Mdp
Module Guid: 4c60c500-c04d-4399-ba6e-e364357af76a
Module Guid: 9f450754-14ac-48b3-b1ee-64f08b33aad2
Download Help Link: https://learn.microsoft.com/powershell/module/az.mdp
Help Version: 1.0.0.0
Locale: en-US
Expand Down
7 changes: 3 additions & 4 deletions src/Mdp/Mdp.Autorest/docs/Get-AzMdpSku.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ List ResourceSku resources by subscription ID
## SYNTAX

```
Get-AzMdpSku -LocationName <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzMdpSku -Location <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -24,7 +23,7 @@ List ResourceSku resources by subscription ID

### Example 1: List skus in location
```powershell
Get-AzMdpSku -LocationName westus
Get-AzMdpSku -Location westus
```

List all skus in the location "westus" in the current subscription
Expand All @@ -47,7 +46,7 @@ Accept pipeline input: False
Accept wildcard characters: False
```
### -LocationName
### -Location
Name of the location.
```yaml
Expand Down
2 changes: 1 addition & 1 deletion src/Mdp/Mdp.Autorest/docs/New-AzMdpPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Accept wildcard characters: False
```
### -EnableSystemAssignedIdentity
Decides if enable a system assigned identity for the resource.
Determines whether to enable a system-assigned identity for the resource.
```yaml
Type: System.Management.Automation.SwitchParameter
Expand Down
2 changes: 1 addition & 1 deletion src/Mdp/Mdp.Autorest/docs/Update-AzMdpPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Accept wildcard characters: False
```
### -EnableSystemAssignedIdentity
Decides if enable a system assigned identity for the resource.
Determines whether to enable a system-assigned identity for the resource.
```yaml
Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Expand Down
2 changes: 1 addition & 1 deletion src/Mdp/Mdp.Autorest/examples/Get-AzMdpSku.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### Example 1: List skus in location
```powershell
Get-AzMdpSku -LocationName westus
Get-AzMdpSku -Location westus
```

List all skus in the location "westus" in the current subscription

0 comments on commit 1083e6e

Please sign in to comment.