Editar

Partilhar via


Get-AzSynapseSqlAdvancedDataSecurityPolicy

Gets Advanced Data Security policy of a workspace.

Syntax

Get-AzSynapseSqlAdvancedDataSecurityPolicy
   [-ResourceGroupName <String>]
   -WorkspaceName <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSynapseSqlAdvancedDataSecurityPolicy
   -InputObject <PSSynapseWorkspace>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSynapseSqlAdvancedDataSecurityPolicy
   -ResourceId <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzSynapseSqlAdvancedDataSecurityPolicy cmdlet retrieves the Advanced Data Security policy of a workspace.

Examples

Example 1

Get-AzSynapseSqlAdvancedDataSecurityPolicy -WorkspaceName ContosoWorkspace

This command gets Advanced Data Security on the workspace named ContosoWorkspace.

Example 2

Get-AzSynapseWorkspace -Name ContosoWorkspace | Get-AzSynapseSqlAdvancedDataSecurityPolicy

This command gets Advanced Data Security on the workspace named ContosoWorkspace through pipeline.

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

-InputObject

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

-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

Inputs

PSSynapseWorkspace

Outputs

WorkspaceAdvancedDataSecurityPolicy