Azure / Azure/azure-cli

az spark pool package_action "Set" to set package collection with LibraryManagement Job

Open
#28,793 2 comments 1 reaction 0 assignees View on GitHub
act-codegen-extensibility-squad customer-reported feature-request Service Attention Synapse
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**
az spark pool update

**Is your feature request related to a problem? Please describe.**
Currently if I want to both add and remove packages I cannot set pool packages using one command.
I need to execute the command twice ( add & remove) which is quiet cumbersome given the fact a library management job runs for approx. 20-25 min.

**Describe the solution you'd like**
I'd like to have an additional --package-action value "Set", which would then set all packages referenced in --package parameter.

**Additional context**
Method Update-AzSynapseSparkPool in the corresponding Powershell module Az.Synapse has this additional value for package_action:
see https://learn.microsoft.com/en-us/powershell/module/az.synapse/update-azsynapsesparkpool?view=azps-11.5.0 example

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.