azure-native.frontdoor.getPolicy
Explore with Pulumi AI
Retrieve protection policy with specified name within a resource group.
Uses Azure REST API version 2024-02-01.
Other available API versions: 2019-03-01, 2019-10-01, 2020-04-01, 2020-11-01, 2021-06-01, 2022-05-01, 2025-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native frontdoor [ApiVersion]
. See the version guide for details.
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:frontdoor:getPolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Policy
Name string - The name of the Web Application Firewall Policy.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Policy
Name string - The name of the Web Application Firewall Policy.
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- policy
Name String - The name of the Web Application Firewall Policy.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- policy
Name string - The name of the Web Application Firewall Policy.
- resource
Group 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.
- policy
Name String - The name of the Web Application Firewall Policy.
- resource
Group StringName - Name of the Resource group within the Azure subscription.
getPolicy Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Frontend
Endpoint List<Pulumi.Links Azure Native. Front Door. Outputs. Frontend Endpoint Link Response> - Describes Frontend Endpoints associated with this Web Application Firewall policy.
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state of the policy.
- Resource
State string - Routing
Rule List<Pulumi.Links Azure Native. Front Door. Outputs. Routing Rule Link Response> - Describes Routing Rules associated with this Web Application Firewall policy.
- Security
Policy List<Pulumi.Links Azure Native. Front Door. Outputs. Security Policy Link Response> - Describes Security Policy associated with this Web Application Firewall policy.
- Type string
- Resource type.
- Custom
Rules Pulumi.Azure Native. Front Door. 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.
- Managed
Rules Pulumi.Azure Native. Front Door. Outputs. Managed Rule Set List Response - Describes managed rules inside the policy.
- Policy
Settings Pulumi.Azure Native. Front Door. Outputs. Policy Settings Response - Describes settings for the policy.
- Sku
Pulumi.
Azure Native. Front Door. Outputs. Sku Response - The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Dictionary<string, string>
- Resource tags.
- Azure
Api stringVersion - The Azure API version of the resource.
- Frontend
Endpoint []FrontendLinks Endpoint Link Response - Describes Frontend Endpoints associated with this Web Application Firewall policy.
- Id string
- Resource ID.
- Name string
- Resource name.
- Provisioning
State string - Provisioning state of the policy.
- Resource
State string - Routing
Rule []RoutingLinks Rule Link Response - Describes Routing Rules associated with this Web Application Firewall policy.
- Security
Policy []SecurityLinks Policy Link Response - Describes Security Policy associated with this Web Application Firewall policy.
- Type string
- Resource type.
- Custom
Rules 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.
- Managed
Rules ManagedRule Set List Response - Describes managed rules inside the policy.
- Policy
Settings PolicySettings Response - Describes settings for the policy.
- Sku
Sku
Response - The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- map[string]string
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- frontend
Endpoint List<FrontendLinks Endpoint Link Response> - Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State String - Provisioning state of the policy.
- resource
State String - routing
Rule List<RoutingLinks Rule Link Response> - Describes Routing Rules associated with this Web Application Firewall policy.
- security
Policy List<SecurityLinks Policy Link Response> - Describes Security Policy associated with this Web Application Firewall policy.
- type String
- Resource type.
- custom
Rules 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.
- managed
Rules ManagedRule Set List Response - Describes managed rules inside the policy.
- policy
Settings PolicySettings Response - Describes settings for the policy.
- sku
Sku
Response - The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Map<String,String>
- Resource tags.
- azure
Api stringVersion - The Azure API version of the resource.
- frontend
Endpoint FrontendLinks Endpoint Link Response[] - Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id string
- Resource ID.
- name string
- Resource name.
- provisioning
State string - Provisioning state of the policy.
- resource
State string - routing
Rule RoutingLinks Rule Link Response[] - Describes Routing Rules associated with this Web Application Firewall policy.
- security
Policy SecurityLinks Policy Link Response[] - Describes Security Policy associated with this Web Application Firewall policy.
- type string
- Resource type.
- custom
Rules 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.
- managed
Rules ManagedRule Set List Response - Describes managed rules inside the policy.
- policy
Settings PolicySettings Response - Describes settings for the policy.
- sku
Sku
Response - The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- {[key: string]: string}
- Resource tags.
- azure_
api_ strversion - The Azure API version of the resource.
- 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 PolicySettings Response - Describes settings for the policy.
- sku
Sku
Response - The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
- Mapping[str, str]
- Resource tags.
- azure
Api StringVersion - The Azure API version of the resource.
- frontend
Endpoint List<Property Map>Links - Describes Frontend Endpoints associated with this Web Application Firewall policy.
- id String
- Resource ID.
- name String
- Resource name.
- provisioning
State String - Provisioning state of the policy.
- resource
State String - routing
Rule List<Property Map>Links - Describes Routing Rules associated with this Web Application Firewall policy.
- security
Policy List<Property Map>Links - Describes Security Policy associated with this Web Application Firewall policy.
- type String
- Resource type.
- custom
Rules 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.
- managed
Rules Property Map - Describes managed rules inside the policy.
- policy
Settings 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
[]Custom
Rule Response - List of rules
- rules
List<Custom
Rule Response> - List of rules
- rules
Custom
Rule Response[] - List of rules
- rules
Sequence[Custom
Rule Response] - List of rules
- rules List<Property Map>
- List of rules
CustomRuleResponse
- Action string
- Describes what action to be applied when rule matches.
- Match
Conditions List<Pulumi.Azure Native. Front Door. Inputs. 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 string - Describes type of rule.
- Enabled
State string - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Group
By List<Pulumi.Azure Native. Front Door. Inputs. Group By Variable Response> - Describes the list of variables to group the rate limit requests
- Name string
- 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.
- Match
Conditions []MatchCondition 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 string - Describes type of rule.
- Enabled
State string - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Group
By []GroupBy Variable Response - Describes the list of variables to group the rate limit requests
- Name string
- 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.
- match
Conditions List<MatchCondition 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.
- rule
Type String - Describes type of rule.
- enabled
State String - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- group
By List<GroupBy Variable Response> - Describes the list of variables to group the rate limit requests
- name String
- Describes the name of the rule.
- rate
Limit IntegerDuration In Minutes - Time window for resetting the rate limit count. Default is 1 minute.
- rate
Limit IntegerThreshold - Number of allowed requests per client within the time window.
- action string
- Describes what action to be applied when rule matches.
- match
Conditions MatchCondition 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.
- rule
Type string - Describes type of rule.
- enabled
State string - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- group
By GroupBy Variable Response[] - Describes the list of variables to group the rate limit requests
- name string
- Describes the name of the rule.
- rate
Limit numberDuration In Minutes - Time window for resetting the rate limit count. Default is 1 minute.
- rate
Limit 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[MatchCondition 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.
- group_
by Sequence[GroupBy Variable Response] - Describes the list of variables to group the rate limit requests
- 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.
- match
Conditions 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.
- rule
Type String - Describes type of rule.
- enabled
State String - Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- group
By List<Property Map> - Describes the list of variables to group the rate limit requests
- name String
- Describes the name of the rule.
- rate
Limit NumberDuration In Minutes - Time window for resetting the rate limit count. Default is 1 minute.
- rate
Limit NumberThreshold - Number of allowed requests per client within the time window.
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.
GroupByVariableResponse
- Variable
Name string - Describes the supported variable for group by
- Variable
Name string - Describes the supported variable for group by
- variable
Name String - Describes the supported variable for group by
- variable
Name string - Describes the supported variable for group by
- variable_
name str - Describes the supported variable for group by
- variable
Name String - Describes the supported variable for group by
ManagedRuleExclusionResponse
- Match
Variable string - The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- Selector
Match stringOperator - Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- Match
Variable string - The variable type to be excluded.
- Selector string
- Selector value for which elements in the collection this exclusion applies to.
- Selector
Match stringOperator - Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- match
Variable String - The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selector
Match StringOperator - Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
- match
Variable string - The variable type to be excluded.
- selector string
- Selector value for which elements in the collection this exclusion applies to.
- selector
Match 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.
- match
Variable String - The variable type to be excluded.
- selector String
- Selector value for which elements in the collection this exclusion applies to.
- selector
Match StringOperator - Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.
ManagedRuleGroupOverrideResponse
- Rule
Group stringName - Describes the managed rule group to override.
- Exclusions
List<Pulumi.
Azure Native. Front Door. Inputs. Managed Rule Exclusion Response> - Describes the exclusions that are applied to all rules in the group.
- Rules
List<Pulumi.
Azure Native. Front Door. Inputs. Managed Rule Override Response> - List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- Rule
Group stringName - Describes the managed rule group to override.
- Exclusions
[]Managed
Rule Exclusion Response - Describes the exclusions that are applied to all rules in the group.
- Rules
[]Managed
Rule Override Response - List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- rule
Group StringName - Describes the managed rule group to override.
- exclusions
List<Managed
Rule Exclusion Response> - Describes the exclusions that are applied to all rules in the group.
- rules
List<Managed
Rule Override Response> - List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- rule
Group stringName - Describes the managed rule group to override.
- exclusions
Managed
Rule Exclusion Response[] - Describes the exclusions that are applied to all rules in the group.
- rules
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[Managed
Rule Exclusion Response] - Describes the exclusions that are applied to all rules in the group.
- rules
Sequence[Managed
Rule Override Response] - List of rules that will be disabled. If none specified, all rules in the group will be disabled.
- rule
Group 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.
ManagedRuleOverrideResponse
- Rule
Id string - Identifier for the managed rule.
- Action string
- Describes the override action to be applied when rule matches.
- Enabled
State string - Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
List<Pulumi.
Azure Native. Front Door. Inputs. Managed Rule Exclusion Response> - Describes the exclusions that are applied to this specific rule.
- Rule
Id string - Identifier for the managed rule.
- Action string
- Describes the override action to be applied when rule matches.
- Enabled
State string - Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- Exclusions
[]Managed
Rule Exclusion Response - Describes the exclusions that are applied to this specific rule.
- rule
Id String - Identifier for the managed rule.
- action String
- Describes the override action to be applied when rule matches.
- enabled
State String - Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
List<Managed
Rule Exclusion Response> - Describes the exclusions that are applied to this specific rule.
- rule
Id string - Identifier for the managed rule.
- action string
- Describes the override action to be applied when rule matches.
- enabled
State string - Describes if the managed rule is in enabled or disabled state. Defaults to Disabled if not specified.
- exclusions
Managed
Rule 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[Managed
Rule Exclusion Response] - Describes the exclusions that are applied to this specific rule.
- rule
Id String - Identifier for the managed rule.
- action String
- Describes the override action to be applied when rule matches.
- enabled
State 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.
ManagedRuleSetListResponse
- Managed
Rule []ManagedSets Rule Set Response - List of rule sets.
- managed
Rule List<ManagedSets Rule Set Response> - List of rule sets.
- managed
Rule ManagedSets Rule Set Response[] - List of rule sets.
- managed_
rule_ Sequence[Managedsets Rule Set Response] - List of rule sets.
- managed
Rule List<Property Map>Sets - List of rule sets.
ManagedRuleSetResponse
- Rule
Set stringType - Defines the rule set type to use.
- Rule
Set stringVersion - Defines the version of the rule set to use.
- Exclusions
List<Pulumi.
Azure Native. Front Door. Inputs. Managed Rule Exclusion Response> - Describes the exclusions that are applied to all rules in the set.
- Rule
Group List<Pulumi.Overrides Azure Native. Front Door. Inputs. Managed Rule Group Override Response> - Defines the rule group overrides to apply to the rule set.
- Rule
Set stringAction - Defines the rule set action.
- Rule
Set stringType - Defines the rule set type to use.
- Rule
Set stringVersion - Defines the version of the rule set to use.
- Exclusions
[]Managed
Rule Exclusion Response - Describes the exclusions that are applied to all rules in the set.
- Rule
Group []ManagedOverrides Rule Group Override Response - Defines the rule group overrides to apply to the rule set.
- Rule
Set stringAction - Defines the rule set action.
- rule
Set StringType - Defines the rule set type to use.
- rule
Set StringVersion - Defines the version of the rule set to use.
- exclusions
List<Managed
Rule Exclusion Response> - Describes the exclusions that are applied to all rules in the set.
- rule
Group List<ManagedOverrides Rule Group Override Response> - Defines the rule group overrides to apply to the rule set.
- rule
Set StringAction - Defines the rule set action.
- rule
Set stringType - Defines the rule set type to use.
- rule
Set stringVersion - Defines the version of the rule set to use.
- exclusions
Managed
Rule Exclusion Response[] - Describes the exclusions that are applied to all rules in the set.
- rule
Group ManagedOverrides Rule Group Override Response[] - Defines the rule group overrides to apply to the rule set.
- rule
Set 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[Managed
Rule Exclusion Response] - Describes the exclusions that are applied to all rules in the set.
- rule_
group_ Sequence[Managedoverrides Rule Group Override Response] - Defines the rule group overrides to apply to the rule set.
- rule_
set_ straction - Defines the rule set action.
- rule
Set StringType - Defines the rule set type to use.
- rule
Set 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.
- rule
Group List<Property Map>Overrides - Defines the rule group overrides to apply to the rule set.
- rule
Set StringAction - Defines the rule set action.
MatchConditionResponse
- Match
Value List<string> - List of possible match values.
- Match
Variable string - Request variable to compare with.
- Operator string
- Comparison type to use for matching with the variable value.
- Negate
Condition 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.
- Match
Value []string - List of possible match values.
- Match
Variable string - Request variable to compare with.
- Operator string
- Comparison type to use for matching with the variable value.
- Negate
Condition 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.
- match
Value List<String> - List of possible match values.
- match
Variable String - Request variable to compare with.
- operator String
- Comparison type to use for matching with the variable value.
- negate
Condition 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.
- match
Value string[] - List of possible match values.
- match
Variable string - Request variable to compare with.
- operator string
- Comparison type to use for matching with the variable value.
- negate
Condition 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.
- match
Value List<String> - List of possible match values.
- match
Variable String - Request variable to compare with.
- operator String
- Comparison type to use for matching with the variable value.
- negate
Condition 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.
PolicySettingsResponse
- Custom
Block stringResponse 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 string - Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Javascript
Challenge intExpiration In Minutes - Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- Redirect
Url string - If action type is redirect, this field represents redirect URL for the client.
- Request
Body stringCheck - Describes if policy managed rules will inspect the request body content.
- Scrubbing
Rules List<Pulumi.Azure Native. Front Door. Inputs. Web Application Firewall Scrubbing Rules Response> - List of log scrubbing rules applied to the Web Application Firewall logs.
- State string
- State of the log scrubbing config. Default value is Enabled.
- Custom
Block stringResponse 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 string - Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- Javascript
Challenge intExpiration In Minutes - Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- Redirect
Url string - If action type is redirect, this field represents redirect URL for the client.
- Request
Body stringCheck - Describes if policy managed rules will inspect the request body content.
- Scrubbing
Rules []WebApplication Firewall Scrubbing Rules Response - List of log scrubbing rules applied to the Web Application Firewall logs.
- State string
- State of the log scrubbing config. Default value is Enabled.
- custom
Block StringResponse Body - If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- custom
Block IntegerResponse Status Code - If the action type is block, customer can override the response status code.
- enabled
State String - Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- javascript
Challenge IntegerExpiration In Minutes - Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
- redirect
Url String - If action type is redirect, this field represents redirect URL for the client.
- request
Body StringCheck - Describes if policy managed rules will inspect the request body content.
- scrubbing
Rules List<WebApplication Firewall Scrubbing Rules Response> - List of log scrubbing rules applied to the Web Application Firewall logs.
- state String
- State of the log scrubbing config. Default value is Enabled.
- custom
Block stringResponse Body - If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- custom
Block numberResponse Status Code - If the action type is block, customer can override the response status code.
- enabled
State string - Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- javascript
Challenge numberExpiration In Minutes - Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.
- mode string
- Describes if it is in detection mode or prevention mode at policy level.
- redirect
Url string - If action type is redirect, this field represents redirect URL for the client.
- request
Body stringCheck - Describes if policy managed rules will inspect the request body content.
- scrubbing
Rules WebApplication Firewall Scrubbing Rules Response[] - List of log scrubbing rules applied to the Web Application Firewall logs.
- state string
- State of the log scrubbing config. Default value is Enabled.
- 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.
- javascript_
challenge_ intexpiration_ in_ minutes - Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.
- 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.
- scrubbing_
rules Sequence[WebApplication Firewall Scrubbing Rules Response] - List of log scrubbing rules applied to the Web Application Firewall logs.
- state str
- State of the log scrubbing config. Default value is Enabled.
- custom
Block StringResponse Body - If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- custom
Block NumberResponse Status Code - If the action type is block, customer can override the response status code.
- enabled
State String - Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
- javascript
Challenge NumberExpiration In Minutes - Defines the JavaScript challenge cookie validity lifetime in minutes. This setting is only applicable to Premium_AzureFrontDoor. Value must be an integer between 5 and 1440 with the default value being 30.
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
- redirect
Url String - If action type is redirect, this field represents redirect URL for the client.
- request
Body StringCheck - Describes if policy managed rules will inspect the request body content.
- scrubbing
Rules List<Property Map> - List of log scrubbing rules applied to the Web Application Firewall logs.
- state String
- State of the log scrubbing config. Default value is Enabled.
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.
WebApplicationFirewallScrubbingRulesResponse
- Match
Variable string - The variable to be scrubbed from the logs.
- Selector
Match stringOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
- Selector string
- When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
- State string
- Defines the state of a log scrubbing rule. Default value is enabled.
- Match
Variable string - The variable to be scrubbed from the logs.
- Selector
Match stringOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
- Selector string
- When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
- State string
- Defines the state of a log scrubbing rule. Default value is enabled.
- match
Variable String - The variable to be scrubbed from the logs.
- selector
Match StringOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
- selector String
- When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
- state String
- Defines the state of a log scrubbing rule. Default value is enabled.
- match
Variable string - The variable to be scrubbed from the logs.
- selector
Match stringOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
- selector string
- When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
- state string
- Defines the state of a log scrubbing rule. Default value is enabled.
- match_
variable str - The variable to be scrubbed from the logs.
- selector_
match_ stroperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
- selector str
- When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
- state str
- Defines the state of a log scrubbing rule. Default value is enabled.
- match
Variable String - The variable to be scrubbed from the logs.
- selector
Match StringOperator - When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.
- selector String
- When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to.
- state String
- Defines the state of a log scrubbing rule. Default value is enabled.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0