Freigeben über


New-AzFrontDoorCdnProfileScrubbingRulesObject

Erstellen Sie ein Speicherobjekt für ProfileScrubbingRules.

Syntax

New-AzFrontDoorCdnProfileScrubbingRulesObject
   -MatchVariable <ScrubbingRuleEntryMatchVariable>
   [-Selector <String>]
   [-State <ScrubbingRuleEntryState>]
   [<CommonParameters>]

Beschreibung

Erstellen Sie ein Speicherobjekt für ProfileScrubbingRules.

Beispiele

Beispiel 1: Erstellen eines Speicherobjekts für ProfileScrubbingRules und der Wert von matchVariable ist RequestIPAddress

New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled

MatchVariable    Selector SelectorMatchOperator State
-------------    -------- --------------------- -----
RequestIPAddress          EqualsAny             Enabled

Erstellen eines In-Memory-Objekts für ProfileScrubbingRules und der Wert von matchVariable ist RequestIPAddress

Beispiel 2: Erstellen eines Speicherobjekts für ProfileScrubbingRules und Aufheben der Scrubbingregel

New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled

MatchVariable Selector SelectorMatchOperator State
------------- -------- --------------------- -----
RequestUri             EqualsAny             Disabled

Erstellen eines In-Memory-Objekts für ProfileScrubbingRules und Aufheben der Scrubbingregel

Parameter

-MatchVariable

Die Variable, die aus den Protokollen entfernt werden soll.

Typ:ScrubbingRuleEntryMatchVariable
Position:Named
Standardwert:None
Erforderlich:True
Pipelineeingabe akzeptieren:False
Platzhalterzeichen akzeptieren:False

-Selector

Wenn matchVariable eine Auflistung ist, gibt der Operator an, auf welche Elemente in der Auflistung diese Regel angewendet wird.

Typ:String
Position:Named
Standardwert:None
Erforderlich:False
Pipelineeingabe akzeptieren:False
Platzhalterzeichen akzeptieren:False

-State

Definiert den Zustand einer Protokollbereinigungsregel. Der Standardwert ist aktiviert.

Typ:ScrubbingRuleEntryState
Position:Named
Standardwert:None
Erforderlich:False
Pipelineeingabe akzeptieren:False
Platzhalterzeichen akzeptieren:False

Ausgaben

ProfileScrubbingRules