[PS] Migrate Qumulo module to autorest v4#29721
Draft
JunKai-v wants to merge 1 commit into
Draft
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Az.Qumulo module’s AutoRest configuration and related artifacts as part of migrating the Qumulo module to AutoRest PowerShell v4, including regenerated help/docs and updated module packaging metadata.
Changes:
- Updated
src/Qumulo/Qumulo.Autorest/README.mdAutoRest configuration (removing explicit 3.x extension pinning and refining directive variant filtering). - Regenerated cmdlet reference documentation under both
src/Qumulo/Qumulo/help/andsrc/Qumulo/Qumulo.Autorest/docs/. - Updated module packaging/solution metadata (module manifest dependency, solution structure) and added new supporting files under
src/Qumulo/Qumulo.Autorest/.
Reviewed changes
Copilot reviewed 16 out of 16 changed files in this pull request and generated 13 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Qumulo/Qumulo/help/Update-AzQumuloFileSystem.md | Help content updated (including output type). |
| src/Qumulo/Qumulo/help/Remove-AzQumuloFileSystem.md | Help content updated (InputObject text adjusted). |
| src/Qumulo/Qumulo/help/New-AzQumuloFileSystem.md | Help content regenerated (syntax/params/examples/output type). |
| src/Qumulo/Qumulo/help/Get-AzQumuloFileSystem.md | Help content updated (InputObject text and output type). |
| src/Qumulo/Qumulo/Az.Qumulo.psd1 | Module manifest regenerated/updated (dependency and metadata formatting). |
| src/Qumulo/Qumulo.sln | Solution structure updated (adds solution folder and config mappings). |
| src/Qumulo/Qumulo.Autorest/resources/README.md | New non-packaged resources folder documentation. |
| src/Qumulo/Qumulo.Autorest/README.md | AutoRest configuration updated for v4 behavior and directive logic. |
| src/Qumulo/Qumulo.Autorest/Properties/AssemblyInfo.cs | New assembly metadata file added for the AutoRest project. |
| src/Qumulo/Qumulo.Autorest/generate-info.json | Generation metadata updated. |
| src/Qumulo/Qumulo.Autorest/docs/Update-AzQumuloFileSystem.md | Regenerated docs (output type updated). |
| src/Qumulo/Qumulo.Autorest/docs/Remove-AzQumuloFileSystem.md | Regenerated docs (InputObject text adjusted). |
| src/Qumulo/Qumulo.Autorest/docs/New-AzQumuloFileSystem.md | Regenerated docs (syntax/params/output type). |
| src/Qumulo/Qumulo.Autorest/docs/Get-AzQumuloFileSystem.md | Regenerated docs (InputObject text and output type). |
| src/Qumulo/Qumulo.Autorest/docs/Az.Qumulo.md | Regenerated module landing doc (module guid updated). |
| src/Qumulo/Qumulo.Autorest/custom/Update-AzQumuloFileSystem.ps1 | Custom cmdlet wrapper updated (OutputType/PossibleTypes and comment-based help output type). |
| ### Example 1: Create a minimum set file system resource | ||
| ```powershell | ||
| $password = ConvertTo-SecureString -String "****" -AsPlainText -Force | ||
| $password = ConvertTo-SecureString -String $password -AsPlainText -Force |
| ### Example 2: Create a file system resource with other settings | ||
| ```powershell | ||
| $password = ConvertTo-SecureString -String "****" -AsPlainText -Force | ||
| $password = ConvertTo-SecureString -String $password -AsPlainText -Force |
| #> | ||
| function Update-AzQumuloFileSystem { | ||
| [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource])] | ||
| [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource])] |
| [Parameter()] | ||
| [Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Category('Body')] | ||
| [Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResourceUpdateTags]))] | ||
| [Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResourceUpdateTags]))] |
| ## OUTPUTS | ||
|
|
||
| ### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource | ||
| ### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource |
| ## OUTPUTS | ||
|
|
||
| ### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource | ||
| ### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource |
| ## OUTPUTS | ||
|
|
||
| ### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource | ||
| ### Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource |
| Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IQumuloIdentity | ||
| .Outputs | ||
| Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.Api20221012Preview.IFileSystemResource | ||
| Microsoft.Azure.PowerShell.Cmdlets.Qumulo.Models.IFileSystemResource |
Comment on lines
+15
to
+19
| ### CreateViaIdentityExpanded (Default) | ||
| ``` | ||
| New-AzQumuloFileSystem -InputObject <IQumuloIdentity> -AdminPassword <SecureString> -DelegatedSubnetId <String> | ||
| -InitialCapacity <Int32> -Location <String> -MarketplaceOfferId <String> -MarketplacePlanId <String> | ||
| -MarketplacePublisherId <String> -StorageSku <String> -UserEmail <String> [-AvailabilityZone <String>] |
Comment on lines
+15
to
+19
| ### CreateViaIdentityExpanded (Default) | ||
| ``` | ||
| New-AzQumuloFileSystem -InputObject <IQumuloIdentity> -AdminPassword <SecureString> | ||
| -DelegatedSubnetId <String> -InitialCapacity <Int32> -Location <String> -MarketplaceOfferId <String> | ||
| -MarketplacePlanId <String> -MarketplacePublisherId <String> -StorageSku <String> -UserEmail <String> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.