Microsoft.Network (stable:2025-03-01)

2025/04/25 • 7 new methods

Policies_List (new)
Description Lists all of the protection policies within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies
{
resourceGroupName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Policies_ListBySubscription (new)
Description Lists all of the protection policies within a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
}
,
}
Policies_Get (new)
Description Retrieve protection policy with specified name within a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Policies_CreateOrUpdate (new)
Description Create or update policy with specified rule set name within a resource group.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (201)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (202)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Policies_Update (new)
Description Patch a specific frontdoor webApplicationFirewall policy for tags update under the specified subscription and resource group.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
parameters:
{
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
policySettings:
{
enabledState: enum ,
mode: enum ,
redirectUrl: string ,
customBlockResponseStatusCode: integer ,
customBlockResponseBody: string ,
requestBodyCheck: enum ,
javascriptChallengeExpirationInMinutes: integer ,
captchaExpirationInMinutes: integer ,
logScrubbing:
{
state: enum ,
scrubbingRules:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
state: enum ,
}
,
]
,
}
,
}
,
customRules:
{
rules:
[
{
name: string ,
priority: integer ,
enabledState: enum ,
ruleType: enum ,
rateLimitDurationInMinutes: integer ,
rateLimitThreshold: integer ,
groupBy:
[
{
variableName: enum ,
}
,
]
,
matchConditions:
[
{
matchVariable: enum ,
selector: string ,
operator: enum ,
negateCondition: boolean ,
matchValue:
[
string ,
]
,
transforms:
[
string ,
]
,
}
,
]
,
action: enum ,
}
,
]
,
}
,
managedRules:
{
managedRuleSets:
[
{
ruleSetType: string ,
ruleSetVersion: string ,
ruleSetAction: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
ruleGroupOverrides:
[
{
ruleGroupName: string ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
rules:
[
{
ruleId: string ,
enabledState: enum ,
action: enum ,
exclusions:
[
{
matchVariable: enum ,
selectorMatchOperator: enum ,
selector: string ,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
]
,
}
,
frontendEndpointLinks:
[
{
id: string ,
}
,
]
,
routingRuleLinks:
[
{
id: string ,
}
,
]
,
securityPolicyLinks:
[
{
id: string ,
}
,
]
,
provisioningState: string ,
resourceState: enum ,
}
,
etag: string ,
sku:
{
name: enum ,
}
,
}

⚐ Response (default)

{
code: string ,
message: string ,
}
Policies_Delete (new)
Description Deletes Policy
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallPolicies/{policyName}
{
resourceGroupName: string ,
policyName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}
ManagedRuleSets_List (new)
Description Lists all available managed rule sets.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets
{
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
properties:
{
provisioningState: string ,
ruleSetId: string ,
ruleSetType: string ,
ruleSetVersion: string ,
ruleGroups:
[
{
ruleGroupName: string ,
description: string ,
rules:
[
{
ruleId: string ,
defaultState: enum ,
defaultAction: enum ,
description: string ,
}
,
]
,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
code: string ,
message: string ,
}