Azure / Azure/azure-powershell

[Feature]: Set-AzSynapse* and Set-AzDataFactoryV2* should accept objects

Open
#17,823 5 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Data Factory feature-request Service Attention Synapse
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.