Bewerken

Delen via


Get-AzSynapseManagedIdentitySqlControlSetting

Gets Managed Identity Sql Control Settings.

Syntax

Get-AzSynapseManagedIdentitySqlControlSetting
   [-ResourceGroupName <String>]
   -WorkspaceName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSynapseManagedIdentitySqlControlSetting
   -WorkspaceObject <PSSynapseWorkspace>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSynapseManagedIdentitySqlControlSetting
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzSynapseManagedIdentitySqlControlSetting cmdlet gets gets the managed identity SQL control settings of an Azure Synapse Analytics workspace.

Examples

Example 1

Get-AzSynapseManagedIdentitySqlControlSetting -WorkspaceName ContosoWorkspace

This command gets the managed identity SQL control setting for a workspace.

Example 2

$ws = Get-AzSynapseWorkspace -Name ContosoWorkspace
$ws | Get-AzSynapseManagedIdentitySqlControlSetting

This command gets the managed identity SQL control setting for a workspace through pipeline.

Example 3

Get-AzSynapseManagedIdentitySqlControlSetting -ResourceId '/subscriptions/21686af7-58ec-4f4d-9c68-f431f4db4edd3/resourcegroups/ContosoResourceGroup/providers/Microsoft.Synapse/workspaces/ContosoWorkspace'

This command gets the managed identity SQL control setting for a workspace through workspace 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

-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 workspace.

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

Inputs

PSSynapseWorkspace

Outputs

PSManagedIdentitySqlControlSettingsModel