CmdID / az / az synapse / az synapse spark / az synapse spark session
az synapse spark session list
List all Spark sessions. Azure CLI reference
1 example 2 options Its page in the Azure CLI reference
Examples
List all Spark sessions.
az synapse spark session list --workspace-name testsynapseworkspace --spark-pool-name testsparkpoolIdentify--workspace-nameThe name of the workspace.--spark-pool-nameThe name of the Spark pool.Options
--from-indexOptional parameter specifying which index the list should begin from.--sizeThe size of the returned list.By default it is 20 and that is the maximum.