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

Fix LocationName to Location for Get-AzMdpSku Cmdlet #26606

Merged
merged 1 commit into from
Nov 5, 2024
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
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