Freigeben über


New-AzFrontDoorRulesEngine

Erstellen Sie eine neue Regelmodulkonfiguration für eine angegebene Fronttür.

Syntax

New-AzFrontDoorRulesEngine
   -ResourceGroupName <String>
   -FrontDoorName <String>
   -Name <String>
   [-Rule <PSRulesEngineRule[]>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Beschreibung

Erstellen Sie eine neue Regelmodulkonfiguration für eine angegebene Fronttür.

Verwenden Sie das Cmdlet "New-AzFrontDoorRulesEngineRule", um Regelmodulregeln zu erstellen, um an den Parameter "-Rules" dieses Cmdlets zu übergeben.

Beispiele

Beispiel 1

New-AzFrontDoorRulesEngine -ResourceGroupName $resourceGroupName -FrontDoorName $frontDoorName -Name myRulesEngine -Rule $rulesEngineRule1

Name          RulesEngineRules
----          ----------------
myRulesEngine {rules1}

Erstellen Sie eine neue Regelmodulkonfiguration für die angegebene Fronttür.

Parameter

-Confirm

Hiermit werden Sie vor der Ausführung des Cmdlets zur Bestätigung aufgefordert.

Typ:SwitchParameter
Aliases:cf
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-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

-FrontDoorName

Front Door-Name

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name des Regelmoduls.

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

Der Name der Ressourcengruppe, in der die Front Door-Instanz erstellt wird

Typ:String
Position:Named
Standardwert:None
Erforderlich:True
Accept pipeline input:False
Accept wildcard characters:False

-Rule

Eine Liste von Regeln, die eine bestimmte Regelmodulkonfiguration definieren.

Typ:PSRulesEngineRule[]
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Zeigt, was geschieht, wenn das Cmdlet ausgeführt wird. Das Cmdlet wird nicht ausgeführt.

Typ:SwitchParameter
Aliases:wi
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

Eingaben

None

Ausgaben

PSRulesEngine