Skip to content

Commit

Permalink
Add WorkspacePackage as alias
Browse files Browse the repository at this point in the history
  • Loading branch information
Dongwei Wang committed Aug 26, 2021
1 parent 2942ad9 commit 6636029
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public class NewAzureSynapseSparkPool : SynapseManagementCmdletBase

[Parameter(ValueFromPipelineByPropertyName = false, Mandatory = false,
HelpMessage = HelpMessages.WorkspacePackages)]
[Alias(SynapseConstants.WorkspacePackage)]
[ValidateNotNullOrEmpty]
public List<PSSynapseWorkspacePackage> Package { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ public class UpdateAzureSynapseSparkPool : SynapseManagementCmdletBase

[Parameter(ValueFromPipelineByPropertyName = false, Mandatory = false,
HelpMessage = HelpMessages.WorkspacePackages)]
[Alias(SynapseConstants.WorkspacePackage)]
public List<PSSynapseWorkspacePackage> Package { get; set; }

[Parameter(Mandatory = false, HelpMessage = HelpMessages.AsJob)]
Expand Down
2 changes: 1 addition & 1 deletion src/Synapse/Synapse/help/New-AzSynapseSparkPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ The workspace packages.
```yaml
Type: System.Collections.Generic.List`1[Microsoft.Azure.Commands.Synapse.Models.WorkspacePackages.PSSynapseWorkspacePackage]
Parameter Sets: (All)
Aliases:
Aliases: WorkspacePackage

Required: False
Position: Named
Expand Down
2 changes: 1 addition & 1 deletion src/Synapse/Synapse/help/Update-AzSynapseSparkPool.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ The workspace packages.
```yaml
Type: System.Collections.Generic.List`1[Microsoft.Azure.Commands.Synapse.Models.WorkspacePackages.PSSynapseWorkspacePackage]
Parameter Sets: (All)
Aliases:
Aliases: WorkspacePackage

Required: False
Position: Named
Expand Down

0 comments on commit 6636029

Please sign in to comment.