external help file | Module Name | online version | schema |
---|---|---|---|
Microsoft.Azure.PowerShell.Cmdlets.Synapse.dll-Help.xml |
Az.Synapse |
2.0.0 |
Gets the recommended information types and sensitivity labels of columns in the SQL pool.
Get-AzSynapseSqlPoolSensitivityRecommendation -SqlPoolObject <PSSynapseSqlPool> [-AsJob]
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
Get-AzSynapseSqlPoolSensitivityRecommendation [-ResourceGroupName] <String> [-WorkspaceName] <String>
[-SqlPoolName] <String> [-AsJob] [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
The Get-AzSynapseSqlPoolSensitivityRecommendation cmdlet returns the recommended information types and sensitivity labels of columns in the SQL pool.
Get-AzSynapseSqlPoolSensitivityRecommendation -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -SqlPoolName ContosoSqlPool
ResourceGroupName : ContosoResourceGroup
WorkspaceName : ContosoWorkspace
SqlPoolName : ContosoSqlPool
SensitivityLabels : {{
SchemaName: dbo,
TableName: Report,
ColumnName: ReportEmailBody,
InformationType: Contact Info
}, {
SchemaName: dbo,
TableName: Report,
ColumnName: ReportEmailSubject,
SensitivityLabel: Confidential,
Rank: Medium
}, {
SchemaName: dbo,
TableName: EMailLog,
ColumnName: BounceEmailSubject,
SensitivityLabel: Confidential,
InformationType: Contact Info,
Rank: Medium
}}
Example 2: Get recommended information types and sensitivity labels of an Azure Synapse SQL pool using Piping.
Get-AzSynapseSqlPool -ResourceGroupName ContosoResourceGroup -WorkspaceName ContosoWorkspace -Name ContosoSqlPool | Get-AzSynapseSqlPoolSensitivityRecommendation
ResourceGroupName : ContosoResourceGroup
WorkspaceName : ContosoWorkspace
SqlPoolName : ContosoSqlPool
SensitivityLabels : {{
SchemaName: dbo,
TableName: Report,
ColumnName: ReportEmailBody,
InformationType: Contact Info
}, {
SchemaName: dbo,
TableName: Report,
ColumnName: ReportEmailSubject,
SensitivityLabel: Confidential,
Rank: Medium
}, {
SchemaName: dbo,
TableName: EMailLog,
ColumnName: BounceEmailSubject,
SensitivityLabel: Confidential,
InformationType: Contact Info,
Rank: Medium
}}
Run cmdlet in the background
Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
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 group name.
Type: System.String
Parameter Sets: SqlPoolParameterSet
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Name of Synapse SQL pool.
Type: System.String
Parameter Sets: SqlPoolParameterSet
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
SQL pool input object, usually passed through the pipeline.
Type: Microsoft.Azure.Commands.Synapse.Models.PSSynapseSqlPool
Parameter Sets: SqlPoolObjectParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Name of Synapse workspace.
Type: System.String
Parameter Sets: SqlPoolParameterSet
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
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.