Description of the new feature
The Az.Automation module doesn't support the use Automation Runtime Environments. This leaves only the Azure Portal and the REST API as the only method for automating the use of Runtime Environments. In particular the New-AzAutomationModule, Import-AzAutomationRunbook and associated Cmdlets do not allow you to target a Runtime Environment when importing runbooks and modules.
I note that Azure CLI has very limited support for Runtime Environments but this is incomplete, doesn't support importing runbooks and modules and a lot of commands for automation appear to still be experimental.
Proposed implementation details (optional)
Add a -RuntypeEnvironment parameter to relevant commands so that it is possible to automate the use of Runtime Environments via PowerShell.
Description of the new feature
The Az.Automation module doesn't support the use Automation Runtime Environments. This leaves only the Azure Portal and the REST API as the only method for automating the use of Runtime Environments. In particular the New-AzAutomationModule, Import-AzAutomationRunbook and associated Cmdlets do not allow you to target a Runtime Environment when importing runbooks and modules.
I note that Azure CLI has very limited support for Runtime Environments but this is incomplete, doesn't support importing runbooks and modules and a lot of commands for automation appear to still be experimental.
Proposed implementation details (optional)
Add a -RuntypeEnvironment parameter to relevant commands so that it is possible to automate the use of Runtime Environments via PowerShell.