Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.24k stars 3.84k forks source link

[Az.Functions] Remove-AzFunctionApp needs to support -AsJob #10547

Open TylerLeonhardt opened 4 years ago

TylerLeonhardt commented 4 years ago

Description

Related to https://github.com/Azure/azure-powershell/issues/10535 but a different cmdlet. This cmdlet (much like how Remove-AzVM does) should support -AsJob and -NoWait.

Module versions

Az.Functions 0.0.1-preview
Francisco-Gamino commented 4 years ago

This work item has a dependency on https://github.com/Azure/azure-powershell/issues/10573.

Francisco-Gamino commented 4 years ago

Adding support for -AsJob. However, the internal generated cmdlet does not support -NoWait.

Francisco-Gamino commented 4 years ago

We only support -AsJob on long running operations like New and Update. In order to enable this, we need to write a customer type converter to support the serialization and deserialization ISendAsyncStep for the -HttpPipelineAppend and -HttpPipelinePrepend parameters. Fore more info, please see https://github.com/Azure/azure-powershell/issues/10573. Moving to backlog.