Skip to content

Files

Latest commit

e9a6df4 · Feb 12, 2025

History

History

src

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Oct 29, 2024
Jan 2, 2025
Jan 25, 2024
Jan 2, 2025
Jan 2, 2025
Dec 5, 2023
Nov 9, 2024
Jul 23, 2024
Jun 25, 2024
Mar 26, 2024
Oct 29, 2024
Dec 5, 2023
Nov 8, 2024
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Aug 1, 2024
Dec 5, 2023
May 7, 2024
Dec 5, 2023
Oct 9, 2024
Jul 2, 2024
Nov 18, 2024
Dec 20, 2024
Dec 5, 2023
Dec 5, 2023
Nov 13, 2024
Nov 12, 2024
Dec 5, 2023
Dec 5, 2023
Dec 17, 2024
Jan 2, 2025
Dec 3, 2024
May 11, 2024
Dec 5, 2023
Dec 5, 2023
Jan 2, 2025
Jan 3, 2025
Jan 21, 2025
Dec 4, 2024
Dec 5, 2023
Dec 5, 2023
Jan 2, 2025
Nov 7, 2024
Dec 30, 2024
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Nov 13, 2024
Dec 5, 2023
Jan 2, 2025
May 8, 2024
Oct 18, 2024
Nov 6, 2024
Oct 15, 2024
Jan 23, 2025
Sep 5, 2024
Feb 24, 2024
Jan 2, 2025
Dec 5, 2023
Jun 24, 2024
Dec 5, 2023
Dec 5, 2023
Jul 23, 2024
Jul 31, 2024
Dec 5, 2023
Nov 26, 2024
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Jul 11, 2024
Mar 25, 2024
May 13, 2024
Sep 18, 2024
Dec 6, 2024
Mar 25, 2024
Dec 5, 2023
Dec 5, 2023
Jul 29, 2024
May 8, 2024
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Feb 7, 2024
Dec 5, 2023
Nov 5, 2024
Jan 2, 2025
Dec 5, 2023
Dec 5, 2023
Jan 2, 2025
Dec 5, 2023
Jul 23, 2024
Nov 8, 2024
Mar 25, 2024
Jan 8, 2025
May 8, 2024
Jun 25, 2024
Jul 30, 2024
Jul 17, 2024
Dec 5, 2023
May 29, 2024
Dec 5, 2023
Jan 26, 2025
Jul 23, 2024
Dec 5, 2023
Jul 17, 2024
Dec 5, 2023
Jul 23, 2024
Dec 5, 2023
Oct 16, 2024
Dec 5, 2023
Dec 5, 2023
Feb 10, 2025
Jan 2, 2025
Jan 24, 2025
Aug 6, 2024
Dec 5, 2023
Apr 16, 2024
Feb 7, 2025
Dec 5, 2023
Dec 5, 2023
Jul 15, 2024
Jan 3, 2024
Oct 23, 2024
Oct 10, 2024
Sep 4, 2024
Sep 18, 2024
Feb 12, 2025
May 10, 2024
Dec 5, 2023
Jun 21, 2024
Dec 5, 2023
Dec 5, 2023
May 8, 2024
Mar 25, 2024
Sep 20, 2024
Jul 23, 2024
Oct 15, 2024
Dec 5, 2023
Dec 5, 2023
Dec 5, 2023
Sep 9, 2024
Jan 30, 2023
Feb 11, 2025
May 10, 2024
Jun 27, 2022
Dec 19, 2023
Aug 8, 2023
Nov 22, 2023
Feb 28, 2023
Jun 30, 2021
Nov 23, 2021
Mar 14, 2022
Nov 13, 2023
Sep 29, 2024

README.md

Instructions for generating modules

  • Get AutoRest and prequisites following these instructions
  • Clone this branch
  • Generate the RP
    • Change to the RP directory
      PS c:\repos\azure-powershell\> cd src\AppService
      
    • run AutoRest
      PS c:\repos\azure-powershell\src\AppService> autorest
      
    • If generation is unsuccessful, file issues for any errors in the autorest.powershell repo
    • If generation is successful, build and run the module
      PS c:\repos\azure-powershell\src\AppService> .\AppService\build-module.ps -run
      
  • Compare the exported API surface to the eixting API surface for these cmd;ets
  • Make configuration changes and iterate again for simple API transformations
    • Cmdlet verb and noun renames
    • Cmdlet parameter renames
    • Suppression of cmdlets, models, or parameter sets
    • Swagger path transforms that impact generation
  • Make appropriate simple customizations to the API surface
    • Simple chaining of API calls
    • Consolidation of parameters -> reducing the number of parameters by inferring the value of one parameter from another
    • Changing the output of the cmdlets
  • Validate that help can be generated using the generate-help.ps1 script
  • List remaining necessary API customizations for the module (in the bug)

Customization

The Compute module shows a simple PowerShell customization

Special instructions for particular RPs

AppService

  • There is currently a profile failure - try generating with only the latest profile
  • This RP will require a lot of customization, cncentrate on the API outside the Create and Set methods

Billing

  • Billing is currently blocked on the a c# generator issue. Try generating the Billing, Commerce, and Consumption RPs separately t get around this for a partial evaluation.

Compute

  • Compute contains at least one API

DNS

KeyVault

  • KeyVault is currently blocked on a compilation failure after generation. Try fixing this error in the generated code, or generatign just the data plane components for a partial evaluation.

Monitor

  • There is currently a profile failure - try generating with only the latest profile

Network

  • Network will have particular issues with flattening and object creation cmdlets - this is a good RP to experiment with flattening settings.

Resources

  • Currently Resources does not contain Graph.RBAC, or some members of Microsoft.Authorization you might try adding these to the configuration
  • Role assignment and policyassignment cmdlets will have to implement the Scope parameter

ServiceBus

  • ServiceBus only implements a single API Version

Storage

  • Only Storage Management is represented for this round, and due to a profile issue, only a single version is being used

What to look for

  • Correct verb, noun, and parameter names
  • Flattening of complex parameters
  • Logical proeprties of output types
  • Correct and complete syntax for each cmdlet

Known Issues (do not report)

  • The generator only generates parameter sets that break down resource identifier into its component parts, piping parameter sets are not yet available
  • The table format does not yet differentiate important fields