This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getPolicy
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Retrieve protection policy with specified name within a resource group. Azure REST API version: 2022-05-01.
Other available API versions: 2021-06-01, 2024-02-01.
Using getPolicy
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPolicy(args: GetPolicyArgs, opts?: InvokeOptions): Promise<GetPolicyResult>
function getPolicyOutput(args: GetPolicyOutputArgs, opts?: InvokeOptions): Output<GetPolicyResult>def get_policy(policy_name: Optional[str] = None,
               resource_group_name: Optional[str] = None,
               opts: Optional[InvokeOptions] = None) -> GetPolicyResult
def get_policy_output(policy_name: Optional[pulumi.Input[str]] = None,
               resource_group_name: Optional[pulumi.Input[str]] = None,
               opts: Optional[InvokeOptions] = None) -> Output[GetPolicyResult]func LookupPolicy(ctx *Context, args *LookupPolicyArgs, opts ...InvokeOption) (*LookupPolicyResult, error)
func LookupPolicyOutput(ctx *Context, args *LookupPolicyOutputArgs, opts ...InvokeOption) LookupPolicyResultOutput> Note: This function is named LookupPolicy in the Go SDK.
public static class GetPolicy 
{
    public static Task<GetPolicyResult> InvokeAsync(GetPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetPolicyResult> Invoke(GetPolicyInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
public static Output<GetPolicyResult> getPolicy(GetPolicyArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PolicyName string
- The name of the Web Application Firewall Policy.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- PolicyName string
- The name of the Web Application Firewall Policy.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- policyName String
- The name of the Web Application Firewall Policy.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- policyName string
- The name of the Web Application Firewall Policy.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- policy_name str
- The name of the Web Application Firewall Policy.
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- policyName String
- The name of the Web Application Firewall Policy.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
getPolicy Result
The following output properties are available:
- FrontendEndpoint List<Pulumi.Links Azure Native. Network. Outputs. Frontend Endpoint Link Response> 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- Id string
- Resource ID.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state of the policy.
- ResourceState string
- RoutingRule List<Pulumi.Links Azure Native. Network. Outputs. Routing Rule Link Response> 
- Describes Routing Rules associated with this Web Application Firewall policy.
- SecurityPolicy List<Pulumi.Links Azure Native. Network. Outputs. Security Policy Link Response> 
- Describes Security Policy associated with this Web Application Firewall policy.
- Type string
- Resource type.
- CustomRules Pulumi.Azure Native. Network. Outputs. Custom Rule List Response 
- Describes custom rules inside the policy.
- Etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- Location string
- Resource location.
- ManagedRules Pulumi.Azure Native. Network. Outputs. Managed Rule Set List Response 
- Describes managed rules inside the policy.
- PolicySettings Pulumi.Azure Native. Network. Outputs. Front Door Policy Settings Response 
- Describes settings for the policy.
- Sku
Pulumi.Azure Native. Network. Outputs. Sku Response 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Dictionary<string, string>
- Resource tags.
- FrontendEndpoint []FrontendLinks Endpoint Link Response 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- Id string
- Resource ID.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state of the policy.
- ResourceState string
- RoutingRule []RoutingLinks Rule Link Response 
- Describes Routing Rules associated with this Web Application Firewall policy.
- SecurityPolicy []SecurityLinks Policy Link Response 
- Describes Security Policy associated with this Web Application Firewall policy.
- Type string
- Resource type.
- CustomRules CustomRule List Response 
- Describes custom rules inside the policy.
- Etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- Location string
- Resource location.
- ManagedRules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- PolicySettings FrontDoor Policy Settings Response 
- Describes settings for the policy.
- Sku
SkuResponse 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- map[string]string
- Resource tags.
- frontendEndpoint List<FrontendLinks Endpoint Link Response> 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id String
- Resource ID.
- name String
- Resource name.
- provisioningState String
- Provisioning state of the policy.
- resourceState String
- routingRule List<RoutingLinks Rule Link Response> 
- Describes Routing Rules associated with this Web Application Firewall policy.
- securityPolicy List<SecurityLinks Policy Link Response> 
- Describes Security Policy associated with this Web Application Firewall policy.
- type String
- Resource type.
- customRules CustomRule List Response 
- Describes custom rules inside the policy.
- etag String
- Gets a unique read-only string that changes whenever the resource is updated.
- location String
- Resource location.
- managedRules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- policySettings FrontDoor Policy Settings Response 
- Describes settings for the policy.
- sku
SkuResponse 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Map<String,String>
- Resource tags.
- frontendEndpoint FrontendLinks Endpoint Link Response[] 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id string
- Resource ID.
- name string
- Resource name.
- provisioningState string
- Provisioning state of the policy.
- resourceState string
- routingRule RoutingLinks Rule Link Response[] 
- Describes Routing Rules associated with this Web Application Firewall policy.
- securityPolicy SecurityLinks Policy Link Response[] 
- Describes Security Policy associated with this Web Application Firewall policy.
- type string
- Resource type.
- customRules CustomRule List Response 
- Describes custom rules inside the policy.
- etag string
- Gets a unique read-only string that changes whenever the resource is updated.
- location string
- Resource location.
- managedRules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- policySettings FrontDoor Policy Settings Response 
- Describes settings for the policy.
- sku
SkuResponse 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- {[key: string]: string}
- Resource tags.
- frontend_endpoint_ Sequence[Frontendlinks Endpoint Link Response] 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id str
- Resource ID.
- name str
- Resource name.
- provisioning_state str
- Provisioning state of the policy.
- resource_state str
- routing_rule_ Sequence[Routinglinks Rule Link Response] 
- Describes Routing Rules associated with this Web Application Firewall policy.
- security_policy_ Sequence[Securitylinks Policy Link Response] 
- Describes Security Policy associated with this Web Application Firewall policy.
- type str
- Resource type.
- custom_rules CustomRule List Response 
- Describes custom rules inside the policy.
- etag str
- Gets a unique read-only string that changes whenever the resource is updated.
- location str
- Resource location.
- managed_rules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- policy_settings FrontDoor Policy Settings Response 
- Describes settings for the policy.
- sku
SkuResponse 
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Mapping[str, str]
- Resource tags.
- frontendEndpoint List<Property Map>Links 
- Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id String
- Resource ID.
- name String
- Resource name.
- provisioningState String
- Provisioning state of the policy.
- resourceState String
- routingRule List<Property Map>Links 
- Describes Routing Rules associated with this Web Application Firewall policy.
- securityPolicy List<Property Map>Links 
- Describes Security Policy associated with this Web Application Firewall policy.
- type String
- Resource type.
- customRules Property Map
- Describes custom rules inside the policy.
- etag String
- Gets a unique read-only string that changes whenever the resource is updated.
- location String
- Resource location.
- managedRules Property Map
- Describes managed rules inside the policy.
- policySettings Property Map
- Describes settings for the policy.
- sku Property Map
- The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Map<String>
- Resource tags.
Supporting Types
CustomRuleListResponse   
- Rules
[]CustomRule Response 
- List of rules
- rules
List<CustomRule Response> 
- List of rules
- rules
CustomRule Response[] 
- List of rules
- rules
Sequence[CustomRule Response] 
- List of rules
- rules List<Property Map>
- List of rules
CustomRuleResponse  
- Action string
- Describes what action to be applied when rule matches.
- MatchConditions List<Pulumi.Azure Native. Network. Inputs. Front Door Match Condition Response> 
- List of match conditions.
- Priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- RuleType string
- Describes type of rule.
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Name string
- Describes the name of the rule.
- RateLimit intDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- RateLimit intThreshold 
- Number of allowed requests per client within the time window.
- Action string
- Describes what action to be applied when rule matches.
- MatchConditions []FrontDoor Match Condition Response 
- List of match conditions.
- Priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- RuleType string
- Describes type of rule.
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Name string
- Describes the name of the rule.
- RateLimit intDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- RateLimit intThreshold 
- Number of allowed requests per client within the time window.
- action String
- Describes what action to be applied when rule matches.
- matchConditions List<FrontDoor Match Condition Response> 
- List of match conditions.
- priority Integer
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType String
- Describes type of rule.
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name String
- Describes the name of the rule.
- rateLimit IntegerDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit IntegerThreshold 
- Number of allowed requests per client within the time window.
- action string
- Describes what action to be applied when rule matches.
- matchConditions FrontDoor Match Condition Response[] 
- List of match conditions.
- priority number
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType string
- Describes type of rule.
- enabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name string
- Describes the name of the rule.
- rateLimit numberDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit numberThreshold 
- Number of allowed requests per client within the time window.
- action str
- Describes what action to be applied when rule matches.
- match_conditions Sequence[FrontDoor Match Condition Response] 
- List of match conditions.
- priority int
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- rule_type str
- Describes type of rule.
- enabled_state str
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name str
- Describes the name of the rule.
- rate_limit_ intduration_ in_ minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rate_limit_ intthreshold 
- Number of allowed requests per client within the time window.
- action String
- Describes what action to be applied when rule matches.
- matchConditions List<Property Map>
- List of match conditions.
- priority Number
- Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.
- ruleType String
- Describes type of rule.
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- name String
- Describes the name of the rule.
- rateLimit NumberDuration In Minutes 
- Time window for resetting the rate limit count. Default is 1 minute.
- rateLimit NumberThreshold 
- Number of allowed requests per client within the time window.
FrontDoorManagedRuleGroupOverrideResponse      
- RuleGroup stringName 
- Describes the managed rule group to override.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the group.
- Rules
List<Pulumi.Azure Native. Network. Inputs. Front Door Managed Rule Override Response> 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- RuleGroup stringName 
- Describes the managed rule group to override.
- Exclusions
[]ManagedRule Exclusion Response 
- Describes the exclusions that are applied to all rules in the group.
- Rules
[]FrontDoor Managed Rule Override Response 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group to override.
- exclusions
List<ManagedRule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the group.
- rules
List<FrontDoor Managed Rule Override Response> 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup stringName 
- Describes the managed rule group to override.
- exclusions
ManagedRule Exclusion Response[] 
- Describes the exclusions that are applied to all rules in the group.
- rules
FrontDoor Managed Rule Override Response[] 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- rule_group_ strname 
- Describes the managed rule group to override.
- exclusions
Sequence[ManagedRule Exclusion Response] 
- Describes the exclusions that are applied to all rules in the group.
- rules
Sequence[FrontDoor Managed Rule Override Response] 
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group to override.
- exclusions List<Property Map>
- Describes the exclusions that are applied to all rules in the group.
- rules List<Property Map>
- List of rules that will be disabled. If none specified, all rules in the group will be disabled.
FrontDoorManagedRuleOverrideResponse     
- RuleId string
- Identifier for the managed rule.
- Action string
- Describes the override action to be applied when rule matches.
- EnabledState string
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion Response> 
- Describes the exclusions that are applied to this specific rule.
- RuleId string
- Identifier for the managed rule.
- Action string
- Describes the override action to be applied when rule matches.
- EnabledState string
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
[]ManagedRule Exclusion Response 
- Describes the exclusions that are applied to this specific rule.
- ruleId String
- Identifier for the managed rule.
- action String
- Describes the override action to be applied when rule matches.
- enabledState String
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
List<ManagedRule Exclusion Response> 
- Describes the exclusions that are applied to this specific rule.
- ruleId string
- Identifier for the managed rule.
- action string
- Describes the override action to be applied when rule matches.
- enabledState string
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
ManagedRule Exclusion Response[] 
- Describes the exclusions that are applied to this specific rule.
- rule_id str
- Identifier for the managed rule.
- action str
- Describes the override action to be applied when rule matches.
- enabled_state str
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
Sequence[ManagedRule Exclusion Response] 
- Describes the exclusions that are applied to this specific rule.
- ruleId String
- Identifier for the managed rule.
- action String
- Describes the override action to be applied when rule matches.
- enabledState String
- Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions List<Property Map>
- Describes the exclusions that are applied to this specific rule.
FrontDoorManagedRuleSetResponse     
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- Exclusions
List<Pulumi.Azure Native. Network. Inputs. Managed Rule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the set.
- RuleGroup List<Pulumi.Overrides Azure Native. Network. Inputs. Front Door Managed Rule Group Override Response> 
- Defines the rule group overrides to apply to the rule set.
- RuleSet stringAction 
- Defines the rule set action.
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- Exclusions
[]ManagedRule Exclusion Response 
- Describes the exclusions that are applied to all rules in the set.
- RuleGroup []FrontOverrides Door Managed Rule Group Override Response 
- Defines the rule group overrides to apply to the rule set.
- RuleSet stringAction 
- Defines the rule set action.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- exclusions
List<ManagedRule Exclusion Response> 
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup List<FrontOverrides Door Managed Rule Group Override Response> 
- Defines the rule group overrides to apply to the rule set.
- ruleSet StringAction 
- Defines the rule set action.
- ruleSet stringType 
- Defines the rule set type to use.
- ruleSet stringVersion 
- Defines the version of the rule set to use.
- exclusions
ManagedRule Exclusion Response[] 
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup FrontOverrides Door Managed Rule Group Override Response[] 
- Defines the rule group overrides to apply to the rule set.
- ruleSet stringAction 
- Defines the rule set action.
- rule_set_ strtype 
- Defines the rule set type to use.
- rule_set_ strversion 
- Defines the version of the rule set to use.
- exclusions
Sequence[ManagedRule Exclusion Response] 
- Describes the exclusions that are applied to all rules in the set.
- rule_group_ Sequence[Frontoverrides Door Managed Rule Group Override Response] 
- Defines the rule group overrides to apply to the rule set.
- rule_set_ straction 
- Defines the rule set action.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- exclusions List<Property Map>
- Describes the exclusions that are applied to all rules in the set.
- ruleGroup List<Property Map>Overrides 
- Defines the rule group overrides to apply to the rule set.
- ruleSet StringAction 
- Defines the rule set action.
FrontDoorMatchConditionResponse    
- MatchValue List<string>
- List of possible match values.
- MatchVariable string
- Request variable to compare with.
- Operator string
- Comparison type to use for matching with the variable value.
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- Transforms List<string>
- List of transforms.
- MatchValue []string
- List of possible match values.
- MatchVariable string
- Request variable to compare with.
- Operator string
- Comparison type to use for matching with the variable value.
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- Transforms []string
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String
- Request variable to compare with.
- operator String
- Comparison type to use for matching with the variable value.
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms List<String>
- List of transforms.
- matchValue string[]
- List of possible match values.
- matchVariable string
- Request variable to compare with.
- operator string
- Comparison type to use for matching with the variable value.
- negateCondition boolean
- Describes if the result of this condition should be negated.
- selector string
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms string[]
- List of transforms.
- match_value Sequence[str]
- List of possible match values.
- match_variable str
- Request variable to compare with.
- operator str
- Comparison type to use for matching with the variable value.
- negate_condition bool
- Describes if the result of this condition should be negated.
- selector str
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms Sequence[str]
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String
- Request variable to compare with.
- operator String
- Comparison type to use for matching with the variable value.
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Match against a specific key from the QueryString, PostArgs, RequestHeader or Cookies variables. Default is null.
- transforms List<String>
- List of transforms.
FrontDoorPolicySettingsResponse    
- CustomBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlock intResponse Status Code 
- If the action type is block, customer can override the response status code.
- EnabledState string
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- RedirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- RequestBody stringCheck 
- Describes if policy managed rules will inspect the request body content.
- CustomBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- CustomBlock intResponse Status Code 
- If the action type is block, customer can override the response status code.
- EnabledState string
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- RedirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- RequestBody stringCheck 
- Describes if policy managed rules will inspect the request body content.
- customBlock StringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock IntegerResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState String
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl String
- If action type is redirect, this field represents redirect URL for the client.
- requestBody StringCheck 
- Describes if policy managed rules will inspect the request body content.
- customBlock stringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock numberResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState string
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode string
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl string
- If action type is redirect, this field represents redirect URL for the client.
- requestBody stringCheck 
- Describes if policy managed rules will inspect the request body content.
- custom_block_ strresponse_ body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- custom_block_ intresponse_ status_ code 
- If the action type is block, customer can override the response status code.
- enabled_state str
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode str
- Describes if it is in detection mode or prevention mode at policy level.
- redirect_url str
- If action type is redirect, this field represents redirect URL for the client.
- request_body_ strcheck 
- Describes if policy managed rules will inspect the request body content.
- customBlock StringResponse Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- customBlock NumberResponse Status Code 
- If the action type is block, customer can override the response status code.
- enabledState String
- Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
- redirectUrl String
- If action type is redirect, this field represents redirect URL for the client.
- requestBody StringCheck 
- Describes if policy managed rules will inspect the request body content.
FrontendEndpointLinkResponse   
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
ManagedRuleExclusionResponse   
- MatchVariable string
- The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- SelectorMatch stringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- MatchVariable string
- The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- SelectorMatch stringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable String
- The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch StringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable string
- The variable type to be excluded.
- selector string
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch stringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- match_variable str
- The variable type to be excluded.
- selector str
- Selector value for which elements in the collection this exclusion applies to.
- selector_match_ stroperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- matchVariable String
- The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selectorMatch StringOperator 
- Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
ManagedRuleSetListResponse    
- ManagedRule []FrontSets Door Managed Rule Set Response 
- List of rule sets.
- managedRule List<FrontSets Door Managed Rule Set Response> 
- List of rule sets.
- managedRule FrontSets Door Managed Rule Set Response[] 
- List of rule sets.
- managed_rule_ Sequence[Frontsets Door Managed Rule Set Response] 
- List of rule sets.
- managedRule List<Property Map>Sets 
- List of rule sets.
RoutingRuleLinkResponse   
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
SecurityPolicyLinkResponse   
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
SkuResponse 
- Name string
- Name of the pricing tier.
- Name string
- Name of the pricing tier.
- name String
- Name of the pricing tier.
- name string
- Name of the pricing tier.
- name str
- Name of the pricing tier.
- name String
- Name of the pricing tier.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi