Get-AzSqlInstanceDatabaseSensitivityClassification

Ruft die aktuellen Informationstypen und Vertraulichkeitsbezeichnungen von Spalten in der Azure SQL Managed Instance Datenbank ab.

Syntax

Get-AzSqlInstanceDatabaseSensitivityClassification
   -DatabaseObject <AzureSqlManagedDatabaseModel>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSqlInstanceDatabaseSensitivityClassification
   [-ResourceGroupName] <String>
   [-InstanceName] <String>
   [-DatabaseName] <String>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSqlInstanceDatabaseSensitivityClassification
   [-ResourceGroupName] <String>
   [-InstanceName] <String>
   [-DatabaseName] <String>
   -SchemaName <String>
   -TableName <String>
   -ColumnName <String>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSqlInstanceDatabaseSensitivityClassification
   -DatabaseObject <AzureSqlManagedDatabaseModel>
   -SchemaName <String>
   -TableName <String>
   -ColumnName <String>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Beschreibung

Das Cmdlet Get-AzSqlInstanceDatabaseSensitivityClassification gibt die aktuellen Informationstypen und Vertraulichkeitsbezeichnungen von Spalten in der datenbank Azure SQL Managed Instance zurück.

Beispiele

Beispiel 1: Abrufen aktueller Informationstypen und Vertraulichkeitsbezeichnungen einer Azure SQL Managed Instance Datenbank.

Get-AzSqlInstanceDatabaseSensitivityClassification -ResourceGroupName resourceGroup -InstanceName managedInstance -DatabaseName database

ResourceGroupName : resourceGroup
InstanceName      : managedInstance
DatabaseName      : database
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
                    }}

Beispiel 2: Abrufen aktueller Informationstypen und Vertraulichkeitsbezeichnungen einer Azure SQL Managed Instance Datenbank mit Piping.

Get-AzSqlInstanceDatabase -ResourceGroupName resourceGroup -InstanceName managedInstance -Name database | Get-AzSqlInstanceDatabaseSensitivityClassification

ResourceGroupName : resourceGroup
InstanceName      : managedInstance
DatabaseName      : database
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
                    }}

Beispiel 3: Abrufen des aktuellen Informationstyps und der Vertraulichkeitsbezeichnung einer bestimmten Spalte einer Azure SQL Managed Instance Datenbank.

Get-AzSqlInstanceDatabaseSensitivityClassification -ResourceGroupName resourceGroup -InstanceName managedInstance -DatabaseName database -SchemaName dbo -TableName EMailLog -ColumnName BounceEmailSubject

ResourceGroupName : resourceGroup
InstanceName      : managedInstance
DatabaseName      : database
SensitivityLabels : {{
                        SchemaName: dbo,
                        TableName: EMailLog,
                        ColumnName: BounceEmailSubject,
                        SensitivityLabel: Confidential,
                        InformationType: Contact Info,
                        Rank: Medium
                    }}

Beispiel 4: Abrufen des aktuellen Informationstyps und der Vertraulichkeitsbezeichnung einer bestimmten Spalte einer Azure SQL Managed Instance Datenbank mithilfe von Piping.

Get-AzSqlInstanceDatabase -ResourceGroupName resourceGroup -InstanceName managedInstance -Name database | Get-AzSqlInstanceDatabaseSensitivityClassification -SchemaName dbo -TableName EMailLog -ColumnName BounceEmailSubject

ResourceGroupName : resourceGroup
InstanceName      : managedInstance
DatabaseName      : database
SensitivityLabels : {{
                        SchemaName: dbo,
                        TableName: EMailLog,
                        ColumnName: BounceEmailSubject,
                        SensitivityLabel: Confidential,
                        InformationType: Contact Info,
                        Rank: Medium
                    }}

Parameter

-AsJob

Ausführen des Cmdlets im Hintergrund

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ColumnName

Name der Spalte.

Type:String
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-DatabaseName

Der Name der datenbank Azure SQL Managed Instance.

Type:String
Position:2
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-DatabaseObject

Das Azure SQL Managed Instance Datenbankobjekt.

Type:AzureSqlManagedDatabaseModel
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InstanceName

Azure SQL Managed Instance Name.

Type:String
Position:1
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-ResourceGroupName

Der Name der Ressourcengruppe.

Type:String
Position:0
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-SchemaName

Name des Schemas.

Type:String
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-TableName

Name der Tabelle.

Type:String
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False

Eingaben

AzureSqlManagedDatabaseModel

Ausgaben

ManagedDatabaseSensitivityClassificationModel