network.frontdoor.azure.com/v1api20220501

network.frontdoor.azure.com/v1api20220501

Package v1api20220501 contains API Schema definitions for the network.frontdoor v1api20220501 API group

Resource Types:

    APIVersion (string alias)

    Value Description

    "2022-05-01"

    ActionType (string alias)

    (Appears on:CustomRule, CustomRule_ARM, ManagedRuleOverride, ManagedRuleOverride_ARM)

    Defines the action to take on rule match.

    Value Description

    "Allow"

    "AnomalyScoring"

    "Block"

    "Log"

    "Redirect"

    ActionType_STATUS (string alias)

    (Appears on:CustomRule_STATUS, CustomRule_STATUS_ARM, ManagedRuleOverride_STATUS, ManagedRuleOverride_STATUS_ARM)

    Defines the action to take on rule match.

    Value Description

    "Allow"

    "AnomalyScoring"

    "Block"

    "Log"

    "Redirect"

    CustomRule

    Defines contents of a web application rule

    Field Description
    action
    ActionType

    Action: Describes what action to be applied when rule matches.

    enabledState
    CustomRule_EnabledState

    EnabledState: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

    matchConditions
    []MatchCondition

    MatchConditions: List of match conditions.

    name
    string

    Name: Describes the name of the rule.

    priority
    int

    Priority: Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

    rateLimitDurationInMinutes
    int

    RateLimitDurationInMinutes: Time window for resetting the rate limit count. Default is 1 minute.

    rateLimitThreshold
    int

    RateLimitThreshold: Number of allowed requests per client within the time window.

    ruleType
    CustomRule_RuleType

    RuleType: Describes type of rule.

    CustomRuleList_ARM

    (Appears on:WebApplicationFirewallPolicyProperties_ARM)

    Defines contents of custom rules

    Field Description
    rules
    []CustomRule_ARM

    Rules: List of rules

    CustomRuleList_STATUS

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS)

    Defines contents of custom rules

    Field Description
    rules
    []CustomRule_STATUS

    Rules: List of rules

    CustomRuleList_STATUS_ARM

    (Appears on:WebApplicationFirewallPolicyProperties_STATUS_ARM)

    Defines contents of custom rules

    Field Description
    rules
    []CustomRule_STATUS_ARM

    Rules: List of rules

    CustomRule_ARM

    (Appears on:CustomRuleList_ARM)

    Defines contents of a web application rule

    Field Description
    action
    ActionType

    Action: Describes what action to be applied when rule matches.

    enabledState
    CustomRule_EnabledState

    EnabledState: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

    matchConditions
    []MatchCondition_ARM

    MatchConditions: List of match conditions.

    name
    string

    Name: Describes the name of the rule.

    priority
    int

    Priority: Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

    rateLimitDurationInMinutes
    int

    RateLimitDurationInMinutes: Time window for resetting the rate limit count. Default is 1 minute.

    rateLimitThreshold
    int

    RateLimitThreshold: Number of allowed requests per client within the time window.

    ruleType
    CustomRule_RuleType

    RuleType: Describes type of rule.

    CustomRule_EnabledState (string alias)

    (Appears on:CustomRule, CustomRule_ARM)

    Value Description

    "Disabled"

    "Enabled"

    CustomRule_EnabledState_STATUS (string alias)

    (Appears on:CustomRule_STATUS, CustomRule_STATUS_ARM)

    Value Description

    "Disabled"

    "Enabled"

    CustomRule_RuleType (string alias)

    (Appears on:CustomRule, CustomRule_ARM)

    Value Description

    "MatchRule"

    "RateLimitRule"

    CustomRule_RuleType_STATUS (string alias)

    (Appears on:CustomRule_STATUS, CustomRule_STATUS_ARM)

    Value Description

    "MatchRule"

    "RateLimitRule"

    CustomRule_STATUS

    (Appears on:CustomRuleList_STATUS)

    Defines contents of a web application rule

    Field Description
    action
    ActionType_STATUS

    Action: Describes what action to be applied when rule matches.

    enabledState
    CustomRule_EnabledState_STATUS

    EnabledState: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

    matchConditions
    []MatchCondition_STATUS

    MatchConditions: List of match conditions.

    name
    string

    Name: Describes the name of the rule.

    priority
    int

    Priority: Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

    rateLimitDurationInMinutes
    int

    RateLimitDurationInMinutes: Time window for resetting the rate limit count. Default is 1 minute.

    rateLimitThreshold
    int

    RateLimitThreshold: Number of allowed requests per client within the time window.

    ruleType
    CustomRule_RuleType_STATUS

    RuleType: Describes type of rule.

    CustomRule_STATUS_ARM

    (Appears on:CustomRuleList_STATUS_ARM)

    Defines contents of a web application rule

    Field Description
    action
    ActionType_STATUS

    Action: Describes what action to be applied when rule matches.

    enabledState
    CustomRule_EnabledState_STATUS

    EnabledState: Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.

    matchConditions
    []MatchCondition_STATUS_ARM

    MatchConditions: List of match conditions.

    name
    string

    Name: Describes the name of the rule.

    priority
    int

    Priority: Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.

    rateLimitDurationInMinutes
    int

    RateLimitDurationInMinutes: Time window for resetting the rate limit count. Default is 1 minute.

    rateLimitThreshold
    int

    RateLimitThreshold: Number of allowed requests per client within the time window.

    ruleType
    CustomRule_RuleType_STATUS

    RuleType: Describes type of rule.

    FrontDoorWebApplicationFirewallPolicy_STATUS

    (Appears on:WebApplicationFirewallPolicy)

    Field Description
    conditions
    []genruntime/conditions.Condition

    Conditions: The observed state of the resource

    customRules
    CustomRuleList_STATUS

    CustomRules: Describes custom rules inside the policy.

    etag
    string

    Etag: Gets a unique read-only string that changes whenever the resource is updated.

    frontendEndpointLinks
    []FrontendEndpointLink_STATUS

    FrontendEndpointLinks: Describes Frontend Endpoints associated with this Web Application Firewall policy.

    id
    string

    Id: Resource ID.

    location
    string

    Location: Resource location.

    managedRules
    ManagedRuleSetList_STATUS

    ManagedRules: Describes managed rules inside the policy.

    name
    string

    Name: Resource name.

    policySettings
    PolicySettings_STATUS

    PolicySettings: Describes settings for the policy.

    provisioningState
    string

    ProvisioningState: Provisioning state of the policy.

    resourceState
    WebApplicationFirewallPolicyProperties_ResourceState_STATUS
    routingRuleLinks
    []RoutingRuleLink_STATUS

    RoutingRuleLinks: Describes Routing Rules associated with this Web Application Firewall policy.

    securityPolicyLinks
    []SecurityPolicyLink_STATUS

    SecurityPolicyLinks: Describes Security Policy associated with this Web Application Firewall policy.

    sku
    Sku_STATUS

    Sku: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.

    tags
    map[string]string

    Tags: Resource tags.

    type
    string

    Type: Resource type.

    FrontDoorWebApplicationFirewallPolicy_STATUS_ARM

    Field Description
    etag
    string

    Etag: Gets a unique read-only string that changes whenever the resource is updated.

    id
    string

    Id: Resource ID.

    location
    string

    Location: Resource location.

    name
    string

    Name: Resource name.

    properties
    WebApplicationFirewallPolicyProperties_STATUS_ARM

    Properties: Properties of the web application firewall policy.

    sku
    Sku_STATUS_ARM

    Sku: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.

    tags
    map[string]string

    Tags: Resource tags.

    type
    string

    Type: Resource type.

    FrontDoorWebApplicationFirewallPolicy_Spec

    (Appears on:WebApplicationFirewallPolicy)

    Field Description
    azureName
    string

    AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it doesn’t have to be.

    customRules
    CustomRuleList

    CustomRules: Describes custom rules inside the policy.

    etag
    string

    Etag: Gets a unique read-only string that changes whenever the resource is updated.

    location
    string

    Location: Resource location.

    managedRules
    ManagedRuleSetList

    ManagedRules: Describes managed rules inside the policy.

    owner
    genruntime.KnownResourceReference

    Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a reference to a resources.azure.com/ResourceGroup resource

    policySettings
    PolicySettings

    PolicySettings: Describes settings for the policy.

    sku
    Sku

    Sku: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.

    tags
    map[string]string

    Tags: Resource tags.

    FrontDoorWebApplicationFirewallPolicy_Spec_ARM

    Field Description
    etag
    string

    Etag: Gets a unique read-only string that changes whenever the resource is updated.

    location
    string

    Location: Resource location.

    name
    string
    properties
    WebApplicationFirewallPolicyProperties_ARM

    Properties: Properties of the web application firewall policy.

    sku
    Sku_ARM

    Sku: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.

    tags
    map[string]string

    Tags: Resource tags.

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS)

    Defines the Resource ID for a Frontend Endpoint.

    Field Description
    id
    string

    Id: Resource ID.

    (Appears on:WebApplicationFirewallPolicyProperties_STATUS_ARM)

    Defines the Resource ID for a Frontend Endpoint.

    Field Description
    id
    string

    Id: Resource ID.

    ManagedRuleEnabledState (string alias)

    (Appears on:ManagedRuleOverride, ManagedRuleOverride_ARM)

    Describes if the managed rule is in enabled or disabled state.

    Value Description

    "Disabled"

    "Enabled"

    ManagedRuleEnabledState_STATUS (string alias)

    (Appears on:ManagedRuleOverride_STATUS, ManagedRuleOverride_STATUS_ARM)

    Describes if the managed rule is in enabled or disabled state.

    Value Description

    "Disabled"

    "Enabled"

    ManagedRuleExclusion

    (Appears on:ManagedRuleGroupOverride, ManagedRuleOverride, ManagedRuleSet)

    Exclude variables from managed rule evaluation.

    Field Description
    matchVariable
    ManagedRuleExclusion_MatchVariable

    MatchVariable: The variable type to be excluded.

    selector
    string

    Selector: Selector value for which elements in the collection this exclusion applies to.

    selectorMatchOperator
    ManagedRuleExclusion_SelectorMatchOperator

    SelectorMatchOperator: Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.

    ManagedRuleExclusion_ARM

    (Appears on:ManagedRuleGroupOverride_ARM, ManagedRuleOverride_ARM, ManagedRuleSet_ARM)

    Exclude variables from managed rule evaluation.

    Field Description
    matchVariable
    ManagedRuleExclusion_MatchVariable

    MatchVariable: The variable type to be excluded.

    selector
    string

    Selector: Selector value for which elements in the collection this exclusion applies to.

    selectorMatchOperator
    ManagedRuleExclusion_SelectorMatchOperator

    SelectorMatchOperator: Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.

    ManagedRuleExclusion_MatchVariable (string alias)

    (Appears on:ManagedRuleExclusion, ManagedRuleExclusion_ARM)

    Value Description

    "QueryStringArgNames"

    "RequestBodyJsonArgNames"

    "RequestBodyPostArgNames"

    "RequestCookieNames"

    "RequestHeaderNames"

    ManagedRuleExclusion_MatchVariable_STATUS (string alias)

    (Appears on:ManagedRuleExclusion_STATUS, ManagedRuleExclusion_STATUS_ARM)

    Value Description

    "QueryStringArgNames"

    "RequestBodyJsonArgNames"

    "RequestBodyPostArgNames"

    "RequestCookieNames"

    "RequestHeaderNames"

    ManagedRuleExclusion_STATUS

    (Appears on:ManagedRuleGroupOverride_STATUS, ManagedRuleOverride_STATUS, ManagedRuleSet_STATUS)

    Exclude variables from managed rule evaluation.

    Field Description
    matchVariable
    ManagedRuleExclusion_MatchVariable_STATUS

    MatchVariable: The variable type to be excluded.

    selector
    string

    Selector: Selector value for which elements in the collection this exclusion applies to.

    selectorMatchOperator
    ManagedRuleExclusion_SelectorMatchOperator_STATUS

    SelectorMatchOperator: Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.

    ManagedRuleExclusion_STATUS_ARM

    (Appears on:ManagedRuleGroupOverride_STATUS_ARM, ManagedRuleOverride_STATUS_ARM, ManagedRuleSet_STATUS_ARM)

    Exclude variables from managed rule evaluation.

    Field Description
    matchVariable
    ManagedRuleExclusion_MatchVariable_STATUS

    MatchVariable: The variable type to be excluded.

    selector
    string

    Selector: Selector value for which elements in the collection this exclusion applies to.

    selectorMatchOperator
    ManagedRuleExclusion_SelectorMatchOperator_STATUS

    SelectorMatchOperator: Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.

    ManagedRuleExclusion_SelectorMatchOperator (string alias)

    (Appears on:ManagedRuleExclusion, ManagedRuleExclusion_ARM)

    Value Description

    "Contains"

    "EndsWith"

    "Equals"

    "EqualsAny"

    "StartsWith"

    ManagedRuleExclusion_SelectorMatchOperator_STATUS (string alias)

    (Appears on:ManagedRuleExclusion_STATUS, ManagedRuleExclusion_STATUS_ARM)

    Value Description

    "Contains"

    "EndsWith"

    "Equals"

    "EqualsAny"

    "StartsWith"

    ManagedRuleGroupOverride

    (Appears on:ManagedRuleSet)

    Defines a managed rule group override setting.

    Field Description
    exclusions
    []ManagedRuleExclusion

    Exclusions: Describes the exclusions that are applied to all rules in the group.

    ruleGroupName
    string

    RuleGroupName: Describes the managed rule group to override.

    rules
    []ManagedRuleOverride

    Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled.

    ManagedRuleGroupOverride_ARM

    (Appears on:ManagedRuleSet_ARM)

    Defines a managed rule group override setting.

    Field Description
    exclusions
    []ManagedRuleExclusion_ARM

    Exclusions: Describes the exclusions that are applied to all rules in the group.

    ruleGroupName
    string

    RuleGroupName: Describes the managed rule group to override.

    rules
    []ManagedRuleOverride_ARM

    Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled.

    ManagedRuleGroupOverride_STATUS

    (Appears on:ManagedRuleSet_STATUS)

    Defines a managed rule group override setting.

    Field Description
    exclusions
    []ManagedRuleExclusion_STATUS

    Exclusions: Describes the exclusions that are applied to all rules in the group.

    ruleGroupName
    string

    RuleGroupName: Describes the managed rule group to override.

    rules
    []ManagedRuleOverride_STATUS

    Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled.

    ManagedRuleGroupOverride_STATUS_ARM

    (Appears on:ManagedRuleSet_STATUS_ARM)

    Defines a managed rule group override setting.

    Field Description
    exclusions
    []ManagedRuleExclusion_STATUS_ARM

    Exclusions: Describes the exclusions that are applied to all rules in the group.

    ruleGroupName
    string

    RuleGroupName: Describes the managed rule group to override.

    rules
    []ManagedRuleOverride_STATUS_ARM

    Rules: List of rules that will be disabled. If none specified, all rules in the group will be disabled.

    ManagedRuleOverride

    (Appears on:ManagedRuleGroupOverride)

    Defines a managed rule group override setting.

    Field Description
    action
    ActionType

    Action: Describes the override action to be applied when rule matches.

    enabledState
    ManagedRuleEnabledState

    EnabledState: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.

    exclusions
    []ManagedRuleExclusion

    Exclusions: Describes the exclusions that are applied to this specific rule.

    ruleId
    string

    RuleId: Identifier for the managed rule.

    ManagedRuleOverride_ARM

    (Appears on:ManagedRuleGroupOverride_ARM)

    Defines a managed rule group override setting.

    Field Description
    action
    ActionType

    Action: Describes the override action to be applied when rule matches.

    enabledState
    ManagedRuleEnabledState

    EnabledState: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.

    exclusions
    []ManagedRuleExclusion_ARM

    Exclusions: Describes the exclusions that are applied to this specific rule.

    ruleId
    string

    RuleId: Identifier for the managed rule.

    ManagedRuleOverride_STATUS

    (Appears on:ManagedRuleGroupOverride_STATUS)

    Defines a managed rule group override setting.

    Field Description
    action
    ActionType_STATUS

    Action: Describes the override action to be applied when rule matches.

    enabledState
    ManagedRuleEnabledState_STATUS

    EnabledState: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.

    exclusions
    []ManagedRuleExclusion_STATUS

    Exclusions: Describes the exclusions that are applied to this specific rule.

    ruleId
    string

    RuleId: Identifier for the managed rule.

    ManagedRuleOverride_STATUS_ARM

    (Appears on:ManagedRuleGroupOverride_STATUS_ARM)

    Defines a managed rule group override setting.

    Field Description
    action
    ActionType_STATUS

    Action: Describes the override action to be applied when rule matches.

    enabledState
    ManagedRuleEnabledState_STATUS

    EnabledState: Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.

    exclusions
    []ManagedRuleExclusion_STATUS_ARM

    Exclusions: Describes the exclusions that are applied to this specific rule.

    ruleId
    string

    RuleId: Identifier for the managed rule.

    ManagedRuleSet

    Defines a managed rule set.

    Field Description
    exclusions
    []ManagedRuleExclusion

    Exclusions: Describes the exclusions that are applied to all rules in the set.

    ruleGroupOverrides
    []ManagedRuleGroupOverride

    RuleGroupOverrides: Defines the rule group overrides to apply to the rule set.

    ruleSetAction
    ManagedRuleSetActionType

    RuleSetAction: Defines the rule set action.

    ruleSetType
    string

    RuleSetType: Defines the rule set type to use.

    ruleSetVersion
    string

    RuleSetVersion: Defines the version of the rule set to use.

    ManagedRuleSetActionType (string alias)

    (Appears on:ManagedRuleSet, ManagedRuleSet_ARM)

    Defines the action to take when a managed rule set score threshold is met.

    Value Description

    "Block"

    "Log"

    "Redirect"

    ManagedRuleSetActionType_STATUS (string alias)

    (Appears on:ManagedRuleSet_STATUS, ManagedRuleSet_STATUS_ARM)

    Defines the action to take when a managed rule set score threshold is met.

    Value Description

    "Block"

    "Log"

    "Redirect"

    ManagedRuleSetList_ARM

    (Appears on:WebApplicationFirewallPolicyProperties_ARM)

    Defines the list of managed rule sets for the policy.

    Field Description
    managedRuleSets
    []ManagedRuleSet_ARM

    ManagedRuleSets: List of rule sets.

    ManagedRuleSetList_STATUS

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS)

    Defines the list of managed rule sets for the policy.

    Field Description
    managedRuleSets
    []ManagedRuleSet_STATUS

    ManagedRuleSets: List of rule sets.

    ManagedRuleSetList_STATUS_ARM

    (Appears on:WebApplicationFirewallPolicyProperties_STATUS_ARM)

    Defines the list of managed rule sets for the policy.

    Field Description
    managedRuleSets
    []ManagedRuleSet_STATUS_ARM

    ManagedRuleSets: List of rule sets.

    ManagedRuleSet_ARM

    (Appears on:ManagedRuleSetList_ARM)

    Defines a managed rule set.

    Field Description
    exclusions
    []ManagedRuleExclusion_ARM

    Exclusions: Describes the exclusions that are applied to all rules in the set.

    ruleGroupOverrides
    []ManagedRuleGroupOverride_ARM

    RuleGroupOverrides: Defines the rule group overrides to apply to the rule set.

    ruleSetAction
    ManagedRuleSetActionType

    RuleSetAction: Defines the rule set action.

    ruleSetType
    string

    RuleSetType: Defines the rule set type to use.

    ruleSetVersion
    string

    RuleSetVersion: Defines the version of the rule set to use.

    ManagedRuleSet_STATUS

    (Appears on:ManagedRuleSetList_STATUS)

    Defines a managed rule set.

    Field Description
    exclusions
    []ManagedRuleExclusion_STATUS

    Exclusions: Describes the exclusions that are applied to all rules in the set.

    ruleGroupOverrides
    []ManagedRuleGroupOverride_STATUS

    RuleGroupOverrides: Defines the rule group overrides to apply to the rule set.

    ruleSetAction
    ManagedRuleSetActionType_STATUS

    RuleSetAction: Defines the rule set action.

    ruleSetType
    string

    RuleSetType: Defines the rule set type to use.

    ruleSetVersion
    string

    RuleSetVersion: Defines the version of the rule set to use.

    ManagedRuleSet_STATUS_ARM

    (Appears on:ManagedRuleSetList_STATUS_ARM)

    Defines a managed rule set.

    Field Description
    exclusions
    []ManagedRuleExclusion_STATUS_ARM

    Exclusions: Describes the exclusions that are applied to all rules in the set.

    ruleGroupOverrides
    []ManagedRuleGroupOverride_STATUS_ARM

    RuleGroupOverrides: Defines the rule group overrides to apply to the rule set.

    ruleSetAction
    ManagedRuleSetActionType_STATUS

    RuleSetAction: Defines the rule set action.

    ruleSetType
    string

    RuleSetType: Defines the rule set type to use.

    ruleSetVersion
    string

    RuleSetVersion: Defines the version of the rule set to use.

    MatchCondition

    (Appears on:CustomRule)

    Define a match condition.

    Field Description
    matchValue
    []string

    MatchValue: List of possible match values.

    matchVariable
    MatchCondition_MatchVariable

    MatchVariable: Request variable to compare with.

    negateCondition
    bool

    NegateCondition: Describes if the result of this condition should be negated.

    operator
    MatchCondition_Operator

    Operator: Comparison type to use for matching with the variable value.

    selector
    string

    Selector: Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

    transforms
    []TransformType

    Transforms: List of transforms.

    MatchCondition_ARM

    (Appears on:CustomRule_ARM)

    Define a match condition.

    Field Description
    matchValue
    []string

    MatchValue: List of possible match values.

    matchVariable
    MatchCondition_MatchVariable

    MatchVariable: Request variable to compare with.

    negateCondition
    bool

    NegateCondition: Describes if the result of this condition should be negated.

    operator
    MatchCondition_Operator

    Operator: Comparison type to use for matching with the variable value.

    selector
    string

    Selector: Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

    transforms
    []TransformType

    Transforms: List of transforms.

    MatchCondition_MatchVariable (string alias)

    (Appears on:MatchCondition, MatchCondition_ARM)

    Value Description

    "Cookies"

    "PostArgs"

    "QueryString"

    "RemoteAddr"

    "RequestBody"

    "RequestHeader"

    "RequestMethod"

    "RequestUri"

    "SocketAddr"

    MatchCondition_MatchVariable_STATUS (string alias)

    (Appears on:MatchCondition_STATUS, MatchCondition_STATUS_ARM)

    Value Description

    "Cookies"

    "PostArgs"

    "QueryString"

    "RemoteAddr"

    "RequestBody"

    "RequestHeader"

    "RequestMethod"

    "RequestUri"

    "SocketAddr"

    MatchCondition_Operator (string alias)

    (Appears on:MatchCondition, MatchCondition_ARM)

    Value Description

    "Any"

    "BeginsWith"

    "Contains"

    "EndsWith"

    "Equal"

    "GeoMatch"

    "GreaterThan"

    "GreaterThanOrEqual"

    "IPMatch"

    "LessThan"

    "LessThanOrEqual"

    "RegEx"

    MatchCondition_Operator_STATUS (string alias)

    (Appears on:MatchCondition_STATUS, MatchCondition_STATUS_ARM)

    Value Description

    "Any"

    "BeginsWith"

    "Contains"

    "EndsWith"

    "Equal"

    "GeoMatch"

    "GreaterThan"

    "GreaterThanOrEqual"

    "IPMatch"

    "LessThan"

    "LessThanOrEqual"

    "RegEx"

    MatchCondition_STATUS

    (Appears on:CustomRule_STATUS)

    Define a match condition.

    Field Description
    matchValue
    []string

    MatchValue: List of possible match values.

    matchVariable
    MatchCondition_MatchVariable_STATUS

    MatchVariable: Request variable to compare with.

    negateCondition
    bool

    NegateCondition: Describes if the result of this condition should be negated.

    operator
    MatchCondition_Operator_STATUS

    Operator: Comparison type to use for matching with the variable value.

    selector
    string

    Selector: Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

    transforms
    []TransformType_STATUS

    Transforms: List of transforms.

    MatchCondition_STATUS_ARM

    (Appears on:CustomRule_STATUS_ARM)

    Define a match condition.

    Field Description
    matchValue
    []string

    MatchValue: List of possible match values.

    matchVariable
    MatchCondition_MatchVariable_STATUS

    MatchVariable: Request variable to compare with.

    negateCondition
    bool

    NegateCondition: Describes if the result of this condition should be negated.

    operator
    MatchCondition_Operator_STATUS

    Operator: Comparison type to use for matching with the variable value.

    selector
    string

    Selector: Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.

    transforms
    []TransformType_STATUS

    Transforms: List of transforms.

    PolicySettings

    (Appears on:FrontDoorWebApplicationFirewallPolicy_Spec)

    Defines top-level WebApplicationFirewallPolicy configuration settings.

    Field Description
    customBlockResponseBody
    string

    CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be specified in base64 encoding.

    customBlockResponseStatusCode
    int

    CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code.

    enabledState
    PolicySettings_EnabledState

    EnabledState: Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.

    mode
    PolicySettings_Mode

    Mode: Describes if it is in detection mode or prevention mode at policy level.

    redirectUrl
    string

    RedirectUrl: If action type is redirect, this field represents redirect URL for the client.

    requestBodyCheck
    PolicySettings_RequestBodyCheck

    RequestBodyCheck: Describes if policy managed rules will inspect the request body content.

    PolicySettings_ARM

    (Appears on:WebApplicationFirewallPolicyProperties_ARM)

    Defines top-level WebApplicationFirewallPolicy configuration settings.

    Field Description
    customBlockResponseBody
    string

    CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be specified in base64 encoding.

    customBlockResponseStatusCode
    int

    CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code.

    enabledState
    PolicySettings_EnabledState

    EnabledState: Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.

    mode
    PolicySettings_Mode

    Mode: Describes if it is in detection mode or prevention mode at policy level.

    redirectUrl
    string

    RedirectUrl: If action type is redirect, this field represents redirect URL for the client.

    requestBodyCheck
    PolicySettings_RequestBodyCheck

    RequestBodyCheck: Describes if policy managed rules will inspect the request body content.

    PolicySettings_EnabledState (string alias)

    (Appears on:PolicySettings, PolicySettings_ARM)

    Value Description

    "Disabled"

    "Enabled"

    PolicySettings_EnabledState_STATUS (string alias)

    (Appears on:PolicySettings_STATUS, PolicySettings_STATUS_ARM)

    Value Description

    "Disabled"

    "Enabled"

    PolicySettings_Mode (string alias)

    (Appears on:PolicySettings, PolicySettings_ARM)

    Value Description

    "Detection"

    "Prevention"

    PolicySettings_Mode_STATUS (string alias)

    (Appears on:PolicySettings_STATUS, PolicySettings_STATUS_ARM)

    Value Description

    "Detection"

    "Prevention"

    PolicySettings_RequestBodyCheck (string alias)

    (Appears on:PolicySettings, PolicySettings_ARM)

    Value Description

    "Disabled"

    "Enabled"

    PolicySettings_RequestBodyCheck_STATUS (string alias)

    (Appears on:PolicySettings_STATUS, PolicySettings_STATUS_ARM)

    Value Description

    "Disabled"

    "Enabled"

    PolicySettings_STATUS

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS)

    Defines top-level WebApplicationFirewallPolicy configuration settings.

    Field Description
    customBlockResponseBody
    string

    CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be specified in base64 encoding.

    customBlockResponseStatusCode
    int

    CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code.

    enabledState
    PolicySettings_EnabledState_STATUS

    EnabledState: Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.

    mode
    PolicySettings_Mode_STATUS

    Mode: Describes if it is in detection mode or prevention mode at policy level.

    redirectUrl
    string

    RedirectUrl: If action type is redirect, this field represents redirect URL for the client.

    requestBodyCheck
    PolicySettings_RequestBodyCheck_STATUS

    RequestBodyCheck: Describes if policy managed rules will inspect the request body content.

    PolicySettings_STATUS_ARM

    (Appears on:WebApplicationFirewallPolicyProperties_STATUS_ARM)

    Defines top-level WebApplicationFirewallPolicy configuration settings.

    Field Description
    customBlockResponseBody
    string

    CustomBlockResponseBody: If the action type is block, customer can override the response body. The body must be specified in base64 encoding.

    customBlockResponseStatusCode
    int

    CustomBlockResponseStatusCode: If the action type is block, customer can override the response status code.

    enabledState
    PolicySettings_EnabledState_STATUS

    EnabledState: Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.

    mode
    PolicySettings_Mode_STATUS

    Mode: Describes if it is in detection mode or prevention mode at policy level.

    redirectUrl
    string

    RedirectUrl: If action type is redirect, this field represents redirect URL for the client.

    requestBodyCheck
    PolicySettings_RequestBodyCheck_STATUS

    RequestBodyCheck: Describes if policy managed rules will inspect the request body content.

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS)

    Defines the Resource ID for a Routing Rule.

    Field Description
    id
    string

    Id: Resource ID.

    (Appears on:WebApplicationFirewallPolicyProperties_STATUS_ARM)

    Defines the Resource ID for a Routing Rule.

    Field Description
    id
    string

    Id: Resource ID.

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS)

    Defines the Resource ID for a Security Policy.

    Field Description
    id
    string

    Id: Resource ID.

    (Appears on:WebApplicationFirewallPolicyProperties_STATUS_ARM)

    Defines the Resource ID for a Security Policy.

    Field Description
    id
    string

    Id: Resource ID.

    Sku

    (Appears on:FrontDoorWebApplicationFirewallPolicy_Spec)

    The pricing tier of the web application firewall policy.

    Field Description
    name
    Sku_Name

    Name: Name of the pricing tier.

    Sku_ARM

    (Appears on:FrontDoorWebApplicationFirewallPolicy_Spec_ARM)

    The pricing tier of the web application firewall policy.

    Field Description
    name
    Sku_Name

    Name: Name of the pricing tier.

    Sku_Name (string alias)

    (Appears on:Sku, Sku_ARM)

    Value Description

    "Classic_AzureFrontDoor"

    "Premium_AzureFrontDoor"

    "Standard_AzureFrontDoor"

    Sku_Name_STATUS (string alias)

    (Appears on:Sku_STATUS, Sku_STATUS_ARM)

    Value Description

    "Classic_AzureFrontDoor"

    "Premium_AzureFrontDoor"

    "Standard_AzureFrontDoor"

    Sku_STATUS

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS)

    The pricing tier of the web application firewall policy.

    Field Description
    name
    Sku_Name_STATUS

    Name: Name of the pricing tier.

    Sku_STATUS_ARM

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS_ARM)

    The pricing tier of the web application firewall policy.

    Field Description
    name
    Sku_Name_STATUS

    Name: Name of the pricing tier.

    TransformType (string alias)

    (Appears on:MatchCondition, MatchCondition_ARM)

    Describes what transforms applied before matching.

    Value Description

    "Lowercase"

    "RemoveNulls"

    "Trim"

    "Uppercase"

    "UrlDecode"

    "UrlEncode"

    TransformType_STATUS (string alias)

    (Appears on:MatchCondition_STATUS, MatchCondition_STATUS_ARM)

    Describes what transforms applied before matching.

    Value Description

    "Lowercase"

    "RemoveNulls"

    "Trim"

    "Uppercase"

    "UrlDecode"

    "UrlEncode"

    WebApplicationFirewallPolicy

    Generator information: - Generated from: /frontdoor/resource-manager/Microsoft.Network/stable/2022-05-01/webapplicationfirewall.json - ARM URI: /​subscriptions/​{subscriptionId}/​resourceGroups/​{resourceGroupName}/​providers/​Microsoft.Network/​FrontDoorWebApplicationFirewallPolicies/​{policyName}

    Field Description
    metadata
    Kubernetes meta/v1.ObjectMeta
    Refer to the Kubernetes API documentation for the fields of the metadata field.
    spec
    FrontDoorWebApplicationFirewallPolicy_Spec


    azureName
    string

    AzureName: The name of the resource in Azure. This is often the same as the name of the resource in Kubernetes but it doesn’t have to be.

    customRules
    CustomRuleList

    CustomRules: Describes custom rules inside the policy.

    etag
    string

    Etag: Gets a unique read-only string that changes whenever the resource is updated.

    location
    string

    Location: Resource location.

    managedRules
    ManagedRuleSetList

    ManagedRules: Describes managed rules inside the policy.

    owner
    genruntime.KnownResourceReference

    Owner: The owner of the resource. The owner controls where the resource goes when it is deployed. The owner also controls the resources lifecycle. When the owner is deleted the resource will also be deleted. Owner is expected to be a reference to a resources.azure.com/ResourceGroup resource

    policySettings
    PolicySettings

    PolicySettings: Describes settings for the policy.

    sku
    Sku

    Sku: The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.

    tags
    map[string]string

    Tags: Resource tags.

    status
    FrontDoorWebApplicationFirewallPolicy_STATUS

    WebApplicationFirewallPolicyProperties_ARM

    (Appears on:FrontDoorWebApplicationFirewallPolicy_Spec_ARM)

    Defines web application firewall policy properties.

    Field Description
    customRules
    CustomRuleList_ARM

    CustomRules: Describes custom rules inside the policy.

    managedRules
    ManagedRuleSetList_ARM

    ManagedRules: Describes managed rules inside the policy.

    policySettings
    PolicySettings_ARM

    PolicySettings: Describes settings for the policy.

    WebApplicationFirewallPolicyProperties_ResourceState_STATUS (string alias)

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS, WebApplicationFirewallPolicyProperties_STATUS_ARM)

    Value Description

    "Creating"

    "Deleting"

    "Disabled"

    "Disabling"

    "Enabled"

    "Enabling"

    WebApplicationFirewallPolicyProperties_STATUS_ARM

    (Appears on:FrontDoorWebApplicationFirewallPolicy_STATUS_ARM)

    Defines web application firewall policy properties.

    Field Description
    customRules
    CustomRuleList_STATUS_ARM

    CustomRules: Describes custom rules inside the policy.

    frontendEndpointLinks
    []FrontendEndpointLink_STATUS_ARM

    FrontendEndpointLinks: Describes Frontend Endpoints associated with this Web Application Firewall policy.

    managedRules
    ManagedRuleSetList_STATUS_ARM

    ManagedRules: Describes managed rules inside the policy.

    policySettings
    PolicySettings_STATUS_ARM

    PolicySettings: Describes settings for the policy.

    provisioningState
    string

    ProvisioningState: Provisioning state of the policy.

    resourceState
    WebApplicationFirewallPolicyProperties_ResourceState_STATUS
    routingRuleLinks
    []RoutingRuleLink_STATUS_ARM

    RoutingRuleLinks: Describes Routing Rules associated with this Web Application Firewall policy.

    securityPolicyLinks
    []SecurityPolicyLink_STATUS_ARM

    SecurityPolicyLinks: Describes Security Policy associated with this Web Application Firewall policy.