Azure / Azure/autorest.powershell
Need to set ValuefromPipelineByPropertyName for path parameter
- Dominant language
- C#
- Stars
- 123
- Forks
- 99
- PR merge metrics
- No merged PRs in 30d
Description
Autorest by default sets Valuefrompipeline property for all body parameters. We want to set ValuefromPipelineByPropertyName for path parameter so we can use our Get cmdlet as Input object for Update cmdlet
we need like below as we have Entity ID as input to update cmdlet and get Provides it
[global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Id of the Entityto update", ### ValueFromPipelineByPropertyName = true)]
[PowerShell.API.Runtime.Info(
Required = true,
ReadOnly = false,
Description = @"Id of the Entity to update",
SerializedName = @"EntityId",
PossibleTypes = new [] { typeof(int) })]
[global::Powershell.API.Category(global::Powershell.API.ParameterCategory.Path)]
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.