Get-AzFrontDoorRulesEngine
Gets a Rules Engine Configuration with the specified name within the specified Front Door.
Syntax
List (Default)
Get-AzFrontDoorRulesEngine
-FrontDoorName <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzFrontDoorRulesEngine
-FrontDoorName <String>
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentityFrontDoor
Get-AzFrontDoorRulesEngine
-Name <String>
-FrontDoorInputObject <IFrontDoorIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzFrontDoorRulesEngine
-InputObject <IFrontDoorIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets a Rules Engine Configuration with the specified name within the specified Front Door.
Examples
Example 1
Get-AzFrontDoorRulesEngine -ResourceGroupName $resourceGroupName -FrontDoorName $frontDoorName -Name rulesengine3
Id : /subscriptions/{subId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Network/frontdoors/{frontDoorName}/rulesengines/rulesengine3
Name : rulesengine3
ResourceGroupName : {resourceGroupName}
ResourceState : Enabled
Rule : {{
"name": "rule111",
"priority": 0,
"action": {
"requestHeaderActions": [ ],
"responseHeaderActions": [
{
"headerActionType": "Overwrite",
"headerName": "ff",
"value": "ff"
}
]
},
"matchConditions": [
{
"rulesEngineMatchVariable": "QueryString",
"rulesEngineOperator": "Contains",
"negateCondition": false,
"rulesEngineMatchValue": [ "fdfd" ],
"transforms": [ ]
}
],
"matchProcessingBehavior": "Continue"
}}
Type : Microsoft.Network/frontdoors/rulesengines
Get specific rules engine configuration.
Example 2
Get-AzFrontDoorRulesEngine -ResourceGroupName $resourceGroupName -FrontDoorName $frontDoorName -Name nonexistent
Get-AzFrontDoorRulesEngine_Get: The requested resource was not found.
Expected output when getting a nonexistent rules engine.
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentityFrontDoor
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-FrontDoorName
Name of the Front Door which is globally unique.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Name of the Rules Engine which is unique within the Front Door.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: RulesEngineName
Parameter sets
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
GetViaIdentityFrontDoor
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
Name of the Resource group within the Azure subscription.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The subscription credentials which uniquely identify the Microsoft Azure subscription.
The subscription ID forms part of the URI for every service call.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: False
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