external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.Synapse.dll-Help.xml |
Az.Synapse |
2.0.0 |
Gets a Synapse Analytics role scope.
Get-AzSynapseRoleScope -WorkspaceName <String> [-ResourceId <String>]
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzSynapseRoleScope -WorkspaceObject <PSSynapseWorkspace> [-ResourceId <String>]
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
The Get-AzSynapseRoleScope cmdlet gets a Azure Synapse Analytics Role Scope.
Get-AzSynapseRoleScope -WorkspaceName ContosoWorkspace
This command gets all role scopes under a workspace.
$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | Get-AzSynapseRoleScope
This command gets all role scopes under a workspace through pipeline.
The credentials, account, tenant, and subscription used for communication with Azure.
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Parameter Sets: (All)
Aliases: AzContext, AzureRmContext, AzureCredential
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Resource identifier of Synapse workspace.
Type: System.String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Name of Synapse workspace.
Type: System.String
Parameter Sets: GetByWorkspaceNameParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
workspace input object, usually passed through the pipeline.
Type: Microsoft.Azure.Commands.Synapse.Models.PSSynapseWorkspace
Parameter Sets: GetByWorkspaceObjectParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.