Closed wyunchi-ms closed 1 year ago
Autorest.PowerShell will simplify the output to the child class if the output type only have one property. But this will conflict when the output is a base class of polymorphism.
Such as: SAPSizingRecommendationResult. The output type will be DeploymentType
DeploymentType
The issue is duplicated with https://github.com/Azure/autorest.powershell/issues/952.
Autorest.PowerShell will simplify the output to the child class if the output type only have one property. But this will conflict when the output is a base class of polymorphism.
Such as: SAPSizingRecommendationResult. The output type will be
DeploymentType