You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added PackageAction Set for Update-AzSynapseSparkPool to support removing and adding packages in one action (#21579)
* Added AzureSynapseSparkPool PackageAction Set to allow removing and update of a package in one action
* updated Synapse/ChangeLog.md
* updated help file Update-AzSynapseSparkPool.md
* added PackageAction Set example to help file for Update-AzSynapseSparkPool command
---------
Co-authored-by: Morris Emming <[email protected]>
The first command retrieves the packages available in the workspace. The second command group retrieves the spark pool to get the packages currently linked to this pool and removes all versions of the package starting with `new_package-` from the retrieved list. The new version of the package is then added to this list. In the third group of commands the package list, containing only package names, is tranformed into a list of workspace packages by filtering the list of available workspace_packages accordingly and is then linked to the spark pool.
This command updates an Apache Spark pool in Azure Synapse Analytics and specify a Spark configuration for the Spark pool.
177
191
178
-
### Example 15
192
+
### Example 16
179
193
```powershell
180
194
Update-AzSynapseSparkPool -WorkspaceName ContosoWorkspace -Name ContosoSparkPool -NodeSize small -ForceApplySetting
181
195
```
182
196
183
197
This command updates an Apache Spark pool in Azure Synapse Analytics, set NodeSize to small for the spark pool and force stop any running jobs in the Spark pool to apply this new setting.
The first command retrieves an Apache Spark pool in Azure Synapse Analytics. The second command removes all workspace packages that are linked to that Apache Spark pool and force stop any running jobs in the Spark pool to apply this new setting.
0 commit comments