Edit

New-AzFrontDoorWafRuleScopeObject

Create an in-memory object for RuleScope.

Syntax

Default (Default)

New-AzFrontDoorWafRuleScopeObject
    -RuleId <String>
    [<CommonParameters>]

Description

Create an in-memory object for RuleScope.

Examples

Example 1: Create a WAF managed rule scope object

New-AzFrontDoorWafRuleScopeObject -RuleId 942100
RuleId
------
942100

Create a WAF managed rule scope object for rule 942100.

Parameters

-RuleId

Defines the rule id.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

RuleScope