Get-AzSynapseSparkPool
Gets a Apache Spark pool in Azure Synapse Analytics.
Syntax
Get-AzSynapseSparkPool
[-ResourceGroupName <String>]
-WorkspaceName <String>
[-Name <String>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSynapseSparkPool
[-Name <String>]
-WorkspaceObject <PSSynapseWorkspace>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzSynapseSparkPool
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzSynapseSparkPool cmdlet gets information about an Apache Spark pool in Azure Synapse Analytics.
Examples
Example 1
Get-AzSynapseSparkPool -WorkspaceName ContosoWorkspace
This command gets all Spark pools under a workspace.
Example 2
Get-AzSynapseSparkPool -WorkspaceName ContosoWorkspace -Name ContosoSparkPool
This command gets the Spark pool under workspace ContosoWorkspace with name ContosoSparkPool.
Example 3
$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | Get-AzSynapseSparkPool
This command gets all Spark pools under a workspace through pipeline.
Example 4
Get-AzSynapseSparkPool -ResourceId "/subscriptions/a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1/resourceGroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace/bigDataPools/ContosoSparkPool"
This command gets the Spark pool with the specified resource ID.
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Name of Synapse Spark pool.
Type: | String |
Aliases: | SparkPoolName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
Resource group name.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
Resource identifier of Synapse Spark pool.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WorkspaceName
Name of Synapse workspace.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WorkspaceObject
workspace input object, usually passed through the pipeline.
Type: | PSSynapseWorkspace |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |