Azure / autorest.powershell

AutoRest PowerShell Generator
MIT License
112 stars 80 forks source link

Implement sanitizer handler for autorest #1319

Closed vidai-msft closed 5 months ago

vidai-msft commented 6 months ago

This pull request primarily focuses on enhancing the telemetry and output sanitization in the CmdletClass and NewModuleClass within the powershell/cmdlets/class.ts and powershell/module/module-class.ts files respectively. The changes include the addition of a new method NewImplementWriteObject, inclusion of telemetry information, and sanitizing the output object.

Telemetry and Output Sanitization in CmdletClass:

Telemetry and Output Sanitization in NewModuleClass:

Other Changes:

vidai-msft commented 6 months ago

/azp run

azure-pipelines[bot] commented 6 months ago
Azure Pipelines successfully started running 1 pipeline(s).
vidai-msft commented 6 months ago

@dolauli added condition to only generate code for Azure modules. BTW, Az.Accounts update has been merged.

dolauli commented 6 months ago

/azp run

azure-pipelines[bot] commented 6 months ago
Azure Pipelines successfully started running 1 pipeline(s).
vidai-msft commented 5 months ago

/azp run

azure-pipelines[bot] commented 5 months ago
Azure Pipelines successfully started running 1 pipeline(s).