Get-AzAlertsSuppressionRule
Ruft Benachrichtigungsunterdrückungsregeln ab.
Syntax
Get-AzAlertsSuppressionRule
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzAlertsSuppressionRule
-Name <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Get-AzAlertsSuppressionRule
-ResourceId <String>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Beschreibung
Dient zum Abrufen oder Auflisten von Unterdrückungsregeln für Warnungen.
Beispiele
Beispiel 1
Get-AzAlertsSuppressionRule
Listet alle Unterdrückungsregeln für Warnungen im Abonnement auf.
Beispiel 2
Get-AzAlertsSuppressionRule -Name "Example"
Ruft eine Warnungsunterdrückungsregel mit dem Namen "Example" ab.
Parameter
-DefaultProfile
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Typ: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Ressourcenname.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceId
ID der Sicherheitsressource, für die Sie den Befehl aufrufen möchten.
Typ: | String |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |