Azure / Azure/azure-powershell
[Feature]: Set-AzSynapse* and Set-AzDataFactoryV2* should accept objects
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
### Description of the new feature
I'm unsure if it was intentional, but I think it would be ideal if one can construct `[PSSubResource]`s in memory to deploy to workspaces/studio, similar to `New-AzDeployment`'s `TemplateObject`/`TemplateParameterObject`.
### Proposed implementation details (optional)
```powershell
[Microsoft.Azure.Commands.Synapse.Models.PSPipelineResource]$pipeline =
@{
name = "Pipeline 1"
properties = @{
annotations = @()
}
}
Set-AzSynapsePipeline -DefinitionObject $pipeline
```
It's helpful for things like Poor Man's Dataset Parameterization, but can also be useful for particular tests.
Contributor guide
Assessment
This issue has not been assessed yet.