1. Packages
  2. Azure Native
  3. API Docs
  4. network
  5. getPolicy
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.44.1 published on Thursday, Jun 6, 2024 by Pulumi

azure-native.network.getPolicy

Explore with Pulumi AI

azure-native logo
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.44.1 published on Thursday, Jun 6, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:network:getPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PolicyName string
    The name of the Web Application Firewall Policy.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    PolicyName string
    The name of the Web Application Firewall Policy.
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    policyName String
    The name of the Web Application Firewall Policy.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.
    policyName string
    The name of the Web Application Firewall Policy.
    resourceGroupName string
    Name of the Resource group within the Azure subscription.
    policy_name str
    The name of the Web Application Firewall Policy.
    resource_group_name str
    Name of the Resource group within the Azure subscription.
    policyName String
    The name of the Web Application Firewall Policy.
    resourceGroupName String
    Name of the Resource group within the Azure subscription.

    getPolicy Result

    The following output properties are available:

    FrontendEndpointLinks List<Pulumi.AzureNative.Network.Outputs.FrontendEndpointLinkResponse>
    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
    RoutingRuleLinks List<Pulumi.AzureNative.Network.Outputs.RoutingRuleLinkResponse>
    Describes Routing Rules associated with this Web Application Firewall policy.
    SecurityPolicyLinks List<Pulumi.AzureNative.Network.Outputs.SecurityPolicyLinkResponse>
    Describes Security Policy associated with this Web Application Firewall policy.
    Type string
    Resource type.
    CustomRules Pulumi.AzureNative.Network.Outputs.CustomRuleListResponse
    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.AzureNative.Network.Outputs.ManagedRuleSetListResponse
    Describes managed rules inside the policy.
    PolicySettings Pulumi.AzureNative.Network.Outputs.FrontDoorPolicySettingsResponse
    Describes settings for the policy.
    Sku Pulumi.AzureNative.Network.Outputs.SkuResponse
    The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
    Tags Dictionary<string, string>
    Resource tags.
    FrontendEndpointLinks []FrontendEndpointLinkResponse
    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
    RoutingRuleLinks []RoutingRuleLinkResponse
    Describes Routing Rules associated with this Web Application Firewall policy.
    SecurityPolicyLinks []SecurityPolicyLinkResponse
    Describes Security Policy associated with this Web Application Firewall policy.
    Type string
    Resource type.
    CustomRules CustomRuleListResponse
    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 ManagedRuleSetListResponse
    Describes managed rules inside the policy.
    PolicySettings FrontDoorPolicySettingsResponse
    Describes settings for the policy.
    Sku SkuResponse
    The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
    Tags map[string]string
    Resource tags.
    frontendEndpointLinks List<FrontendEndpointLinkResponse>
    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
    routingRuleLinks List<RoutingRuleLinkResponse>
    Describes Routing Rules associated with this Web Application Firewall policy.
    securityPolicyLinks List<SecurityPolicyLinkResponse>
    Describes Security Policy associated with this Web Application Firewall policy.
    type String
    Resource type.
    customRules CustomRuleListResponse
    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 ManagedRuleSetListResponse
    Describes managed rules inside the policy.
    policySettings FrontDoorPolicySettingsResponse
    Describes settings for the policy.
    sku SkuResponse
    The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
    tags Map<String,String>
    Resource tags.
    frontendEndpointLinks FrontendEndpointLinkResponse[]
    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
    routingRuleLinks RoutingRuleLinkResponse[]
    Describes Routing Rules associated with this Web Application Firewall policy.
    securityPolicyLinks SecurityPolicyLinkResponse[]
    Describes Security Policy associated with this Web Application Firewall policy.
    type string
    Resource type.
    customRules CustomRuleListResponse
    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 ManagedRuleSetListResponse
    Describes managed rules inside the policy.
    policySettings FrontDoorPolicySettingsResponse
    Describes settings for the policy.
    sku SkuResponse
    The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
    tags {[key: string]: string}
    Resource tags.
    frontend_endpoint_links Sequence[FrontendEndpointLinkResponse]
    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_links Sequence[RoutingRuleLinkResponse]
    Describes Routing Rules associated with this Web Application Firewall policy.
    security_policy_links Sequence[SecurityPolicyLinkResponse]
    Describes Security Policy associated with this Web Application Firewall policy.
    type str
    Resource type.
    custom_rules CustomRuleListResponse
    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 ManagedRuleSetListResponse
    Describes managed rules inside the policy.
    policy_settings FrontDoorPolicySettingsResponse
    Describes settings for the policy.
    sku SkuResponse
    The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified.
    tags Mapping[str, str]
    Resource tags.
    frontendEndpointLinks List<Property Map>
    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
    routingRuleLinks List<Property Map>
    Describes Routing Rules associated with this Web Application Firewall policy.
    securityPolicyLinks List<Property Map>
    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.
    tags Map<String>
    Resource tags.

    Supporting Types

    CustomRuleListResponse

    CustomRuleResponse

    Action string
    Describes what action to be applied when rule matches.
    MatchConditions List<Pulumi.AzureNative.Network.Inputs.FrontDoorMatchConditionResponse>
    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.
    RateLimitDurationInMinutes int
    Time window for resetting the rate limit count. Default is 1 minute.
    RateLimitThreshold int
    Number of allowed requests per client within the time window.
    Action string
    Describes what action to be applied when rule matches.
    MatchConditions []FrontDoorMatchConditionResponse
    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.
    RateLimitDurationInMinutes int
    Time window for resetting the rate limit count. Default is 1 minute.
    RateLimitThreshold int
    Number of allowed requests per client within the time window.
    action String
    Describes what action to be applied when rule matches.
    matchConditions List<FrontDoorMatchConditionResponse>
    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.
    rateLimitDurationInMinutes Integer
    Time window for resetting the rate limit count. Default is 1 minute.
    rateLimitThreshold Integer
    Number of allowed requests per client within the time window.
    action string
    Describes what action to be applied when rule matches.
    matchConditions FrontDoorMatchConditionResponse[]
    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.
    rateLimitDurationInMinutes number
    Time window for resetting the rate limit count. Default is 1 minute.
    rateLimitThreshold number
    Number of allowed requests per client within the time window.
    action str
    Describes what action to be applied when rule matches.
    match_conditions Sequence[FrontDoorMatchConditionResponse]
    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_duration_in_minutes int
    Time window for resetting the rate limit count. Default is 1 minute.
    rate_limit_threshold int
    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.
    rateLimitDurationInMinutes Number
    Time window for resetting the rate limit count. Default is 1 minute.
    rateLimitThreshold Number
    Number of allowed requests per client within the time window.

    FrontDoorManagedRuleGroupOverrideResponse

    RuleGroupName string
    Describes the managed rule group to override.
    Exclusions List<Pulumi.AzureNative.Network.Inputs.ManagedRuleExclusionResponse>
    Describes the exclusions that are applied to all rules in the group.
    Rules List<Pulumi.AzureNative.Network.Inputs.FrontDoorManagedRuleOverrideResponse>
    List of rules that will be disabled. If none specified, all rules in the group will be disabled.
    RuleGroupName string
    Describes the managed rule group to override.
    Exclusions []ManagedRuleExclusionResponse
    Describes the exclusions that are applied to all rules in the group.
    Rules []FrontDoorManagedRuleOverrideResponse
    List of rules that will be disabled. If none specified, all rules in the group will be disabled.
    ruleGroupName String
    Describes the managed rule group to override.
    exclusions List<ManagedRuleExclusionResponse>
    Describes the exclusions that are applied to all rules in the group.
    rules List<FrontDoorManagedRuleOverrideResponse>
    List of rules that will be disabled. If none specified, all rules in the group will be disabled.
    ruleGroupName string
    Describes the managed rule group to override.
    exclusions ManagedRuleExclusionResponse[]
    Describes the exclusions that are applied to all rules in the group.
    rules FrontDoorManagedRuleOverrideResponse[]
    List of rules that will be disabled. If none specified, all rules in the group will be disabled.
    rule_group_name str
    Describes the managed rule group to override.
    exclusions Sequence[ManagedRuleExclusionResponse]
    Describes the exclusions that are applied to all rules in the group.
    rules Sequence[FrontDoorManagedRuleOverrideResponse]
    List of rules that will be disabled. If none specified, all rules in the group will be disabled.
    ruleGroupName String
    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.AzureNative.Network.Inputs.ManagedRuleExclusionResponse>
    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 []ManagedRuleExclusionResponse
    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<ManagedRuleExclusionResponse>
    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 ManagedRuleExclusionResponse[]
    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[ManagedRuleExclusionResponse]
    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

    RuleSetType string
    Defines the rule set type to use.
    RuleSetVersion string
    Defines the version of the rule set to use.
    Exclusions List<Pulumi.AzureNative.Network.Inputs.ManagedRuleExclusionResponse>
    Describes the exclusions that are applied to all rules in the set.
    RuleGroupOverrides List<Pulumi.AzureNative.Network.Inputs.FrontDoorManagedRuleGroupOverrideResponse>
    Defines the rule group overrides to apply to the rule set.
    RuleSetAction string
    Defines the rule set action.
    RuleSetType string
    Defines the rule set type to use.
    RuleSetVersion string
    Defines the version of the rule set to use.
    Exclusions []ManagedRuleExclusionResponse
    Describes the exclusions that are applied to all rules in the set.
    RuleGroupOverrides []FrontDoorManagedRuleGroupOverrideResponse
    Defines the rule group overrides to apply to the rule set.
    RuleSetAction string
    Defines the rule set action.
    ruleSetType String
    Defines the rule set type to use.
    ruleSetVersion String
    Defines the version of the rule set to use.
    exclusions List<ManagedRuleExclusionResponse>
    Describes the exclusions that are applied to all rules in the set.
    ruleGroupOverrides List<FrontDoorManagedRuleGroupOverrideResponse>
    Defines the rule group overrides to apply to the rule set.
    ruleSetAction String
    Defines the rule set action.
    ruleSetType string
    Defines the rule set type to use.
    ruleSetVersion string
    Defines the version of the rule set to use.
    exclusions ManagedRuleExclusionResponse[]
    Describes the exclusions that are applied to all rules in the set.
    ruleGroupOverrides FrontDoorManagedRuleGroupOverrideResponse[]
    Defines the rule group overrides to apply to the rule set.
    ruleSetAction string
    Defines the rule set action.
    rule_set_type str
    Defines the rule set type to use.
    rule_set_version str
    Defines the version of the rule set to use.
    exclusions Sequence[ManagedRuleExclusionResponse]
    Describes the exclusions that are applied to all rules in the set.
    rule_group_overrides Sequence[FrontDoorManagedRuleGroupOverrideResponse]
    Defines the rule group overrides to apply to the rule set.
    rule_set_action str
    Defines the rule set action.
    ruleSetType String
    Defines the rule set type to use.
    ruleSetVersion String
    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.
    ruleGroupOverrides List<Property Map>
    Defines the rule group overrides to apply to the rule set.
    ruleSetAction String
    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

    CustomBlockResponseBody string
    If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    CustomBlockResponseStatusCode int
    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.
    RequestBodyCheck string
    Describes if policy managed rules will inspect the request body content.
    CustomBlockResponseBody string
    If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    CustomBlockResponseStatusCode int
    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.
    RequestBodyCheck string
    Describes if policy managed rules will inspect the request body content.
    customBlockResponseBody String
    If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    customBlockResponseStatusCode Integer
    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.
    requestBodyCheck String
    Describes if policy managed rules will inspect the request body content.
    customBlockResponseBody string
    If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    customBlockResponseStatusCode number
    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.
    requestBodyCheck string
    Describes if policy managed rules will inspect the request body content.
    custom_block_response_body str
    If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    custom_block_response_status_code int
    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_check str
    Describes if policy managed rules will inspect the request body content.
    customBlockResponseBody String
    If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
    customBlockResponseStatusCode Number
    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.
    requestBodyCheck String
    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.
    SelectorMatchOperator string
    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.
    SelectorMatchOperator string
    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.
    selectorMatchOperator String
    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.
    selectorMatchOperator string
    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_operator str
    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.
    selectorMatchOperator String
    Comparison operator to apply to the selector when specifying which elements in the collection this exclusion applies to.

    ManagedRuleSetListResponse

    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
    azure-native logo
    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.44.1 published on Thursday, Jun 6, 2024 by Pulumi