次の方法で共有


New-AzFrontDoorCdnProfileScrubbingRulesObject

ProfileScrubbingRules のメモリ内オブジェクトを作成します。

構文

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

説明

ProfileScrubbingRules のメモリ内オブジェクトを作成します。

例 1: ProfileScrubbingRules のメモリ内オブジェクトを作成し、matchVariable の値が RequestIPAddress である

New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestIPAddress -State Enabled

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

ProfileScrubbingRules のメモリ内オブジェクトを作成し、matchVariable の値が RequestIPAddress です

例 2: ProfileScrubbingRules のメモリ内オブジェクトを作成し、スクラブ ルールを解除する

New-AzFrontDoorCdnProfileScrubbingRulesObject -MatchVariable RequestUri -State Disabled

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

ProfileScrubbingRules のメモリ内オブジェクトを作成し、スクラブ ルールのバランスを解除する

パラメーター

-MatchVariable

ログからスクラブされる変数。

型:ScrubbingRuleEntryMatchVariable
配置:Named
規定値:None
必須:True
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-Selector

matchVariable がコレクションの場合、この規則が適用されるコレクション内の要素を指定するために使用される演算子。

型:String
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

-State

ログ スクラブ ルールの状態を定義します。 既定値は有効です。

型:ScrubbingRuleEntryState
配置:Named
規定値:None
必須:False
パイプライン入力を受け取る:False
ワイルドカード文字を受け取る:False

出力

ProfileScrubbingRules