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.cdn.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: 2023-05-01.
Other available API versions: 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview, 2024-09-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:cdn:getPolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- PolicyName string
- The name of the CdnWebApplicationFirewallPolicy.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- PolicyName string
- The name of the CdnWebApplicationFirewallPolicy.
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- policyName String
- The name of the CdnWebApplicationFirewallPolicy.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- policyName string
- The name of the CdnWebApplicationFirewallPolicy.
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- policy_name str
- The name of the CdnWebApplicationFirewallPolicy.
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- policyName String
- The name of the CdnWebApplicationFirewallPolicy.
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
getPolicy Result
The following output properties are available:
- EndpointLinks List<Pulumi.Azure Native. Cdn. Outputs. Cdn Endpoint Response> 
- Describes Azure CDN endpoints associated with this Web Application Firewall policy.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state of the WebApplicationFirewallPolicy.
- ResourceState string
- Sku
Pulumi.Azure Native. Cdn. Outputs. Sku Response 
- The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
- SystemData Pulumi.Azure Native. Cdn. Outputs. System Data Response 
- Read only system data
- Type string
- Resource type.
- CustomRules Pulumi.Azure Native. Cdn. 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.
- ExtendedProperties Dictionary<string, string>
- Key-Value pair representing additional properties for Web Application Firewall policy.
- ManagedRules Pulumi.Azure Native. Cdn. Outputs. Managed Rule Set List Response 
- Describes managed rules inside the policy.
- PolicySettings Pulumi.Azure Native. Cdn. Outputs. Policy Settings Response 
- Describes policySettings for policy
- RateLimit Pulumi.Rules Azure Native. Cdn. Outputs. Rate Limit Rule List Response 
- Describes rate limit rules inside the policy.
- Dictionary<string, string>
- Resource tags.
- EndpointLinks []CdnEndpoint Response 
- Describes Azure CDN endpoints associated with this Web Application Firewall policy.
- Id string
- Resource ID.
- Location string
- Resource location.
- Name string
- Resource name.
- ProvisioningState string
- Provisioning state of the WebApplicationFirewallPolicy.
- ResourceState string
- Sku
SkuResponse 
- The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
- SystemData SystemData Response 
- Read only system data
- 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.
- ExtendedProperties map[string]string
- Key-Value pair representing additional properties for Web Application Firewall policy.
- ManagedRules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- PolicySettings PolicySettings Response 
- Describes policySettings for policy
- RateLimit RateRules Limit Rule List Response 
- Describes rate limit rules inside the policy.
- map[string]string
- Resource tags.
- endpointLinks List<CdnEndpoint Response> 
- Describes Azure CDN endpoints associated with this Web Application Firewall policy.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- provisioningState String
- Provisioning state of the WebApplicationFirewallPolicy.
- resourceState String
- sku
SkuResponse 
- The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
- systemData SystemData Response 
- Read only system data
- 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.
- extendedProperties Map<String,String>
- Key-Value pair representing additional properties for Web Application Firewall policy.
- managedRules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- policySettings PolicySettings Response 
- Describes policySettings for policy
- rateLimit RateRules Limit Rule List Response 
- Describes rate limit rules inside the policy.
- Map<String,String>
- Resource tags.
- endpointLinks CdnEndpoint Response[] 
- Describes Azure CDN endpoints associated with this Web Application Firewall policy.
- id string
- Resource ID.
- location string
- Resource location.
- name string
- Resource name.
- provisioningState string
- Provisioning state of the WebApplicationFirewallPolicy.
- resourceState string
- sku
SkuResponse 
- The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
- systemData SystemData Response 
- Read only system data
- 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.
- extendedProperties {[key: string]: string}
- Key-Value pair representing additional properties for Web Application Firewall policy.
- managedRules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- policySettings PolicySettings Response 
- Describes policySettings for policy
- rateLimit RateRules Limit Rule List Response 
- Describes rate limit rules inside the policy.
- {[key: string]: string}
- Resource tags.
- endpoint_links Sequence[CdnEndpoint Response] 
- Describes Azure CDN endpoints associated with this Web Application Firewall policy.
- id str
- Resource ID.
- location str
- Resource location.
- name str
- Resource name.
- provisioning_state str
- Provisioning state of the WebApplicationFirewallPolicy.
- resource_state str
- sku
SkuResponse 
- The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
- system_data SystemData Response 
- Read only system data
- 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.
- extended_properties Mapping[str, str]
- Key-Value pair representing additional properties for Web Application Firewall policy.
- managed_rules ManagedRule Set List Response 
- Describes managed rules inside the policy.
- policy_settings PolicySettings Response 
- Describes policySettings for policy
- rate_limit_ Raterules Limit Rule List Response 
- Describes rate limit rules inside the policy.
- Mapping[str, str]
- Resource tags.
- endpointLinks List<Property Map>
- Describes Azure CDN endpoints associated with this Web Application Firewall policy.
- id String
- Resource ID.
- location String
- Resource location.
- name String
- Resource name.
- provisioningState String
- Provisioning state of the WebApplicationFirewallPolicy.
- resourceState String
- sku Property Map
- The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy.
- systemData Property Map
- Read only system data
- 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.
- extendedProperties Map<String>
- Key-Value pair representing additional properties for Web Application Firewall policy.
- managedRules Property Map
- Describes managed rules inside the policy.
- policySettings Property Map
- Describes policySettings for policy
- rateLimit Property MapRules 
- Describes rate limit rules inside the policy.
- Map<String>
- Resource tags.
Supporting Types
CdnEndpointResponse  
- Id string
- ARM Resource ID string.
- Id string
- ARM Resource ID string.
- id String
- ARM Resource ID string.
- id string
- ARM Resource ID string.
- id str
- ARM Resource ID string.
- id String
- ARM Resource ID string.
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. Cdn. Inputs. Match Condition Response> 
- List of match conditions.
- Name string
- Defines the name of the custom rule
- Priority int
- Defines in what order this rule be evaluated in the overall list of custom rules
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Action string
- Describes what action to be applied when rule matches
- MatchConditions []MatchCondition Response 
- List of match conditions.
- Name string
- Defines the name of the custom rule
- Priority int
- Defines in what order this rule be evaluated in the overall list of custom rules
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action String
- Describes what action to be applied when rule matches
- matchConditions List<MatchCondition Response> 
- List of match conditions.
- name String
- Defines the name of the custom rule
- priority Integer
- Defines in what order this rule be evaluated in the overall list of custom rules
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action string
- Describes what action to be applied when rule matches
- matchConditions MatchCondition Response[] 
- List of match conditions.
- name string
- Defines the name of the custom rule
- priority number
- Defines in what order this rule be evaluated in the overall list of custom rules
- enabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action str
- Describes what action to be applied when rule matches
- match_conditions Sequence[MatchCondition Response] 
- List of match conditions.
- name str
- Defines the name of the custom rule
- priority int
- Defines in what order this rule be evaluated in the overall list of custom rules
- enabled_state str
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action String
- Describes what action to be applied when rule matches
- matchConditions List<Property Map>
- List of match conditions.
- name String
- Defines the name of the custom rule
- priority Number
- Defines in what order this rule be evaluated in the overall list of custom rules
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
ManagedRuleGroupOverrideResponse    
- RuleGroup stringName 
- Describes the managed rule group within the rule set to override
- Rules
List<Pulumi.Azure Native. Cdn. Inputs. Managed Rule Override Response> 
- List of rules that will be enabled. If none specified, all rules in the group will be disabled.
- RuleGroup stringName 
- Describes the managed rule group within the rule set to override
- Rules
[]ManagedRule Override Response 
- List of rules that will be enabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group within the rule set to override
- rules
List<ManagedRule Override Response> 
- List of rules that will be enabled. If none specified, all rules in the group will be disabled.
- ruleGroup stringName 
- Describes the managed rule group within the rule set to override
- rules
ManagedRule Override Response[] 
- List of rules that will be enabled. If none specified, all rules in the group will be disabled.
- rule_group_ strname 
- Describes the managed rule group within the rule set to override
- rules
Sequence[ManagedRule Override Response] 
- List of rules that will be enabled. If none specified, all rules in the group will be disabled.
- ruleGroup StringName 
- Describes the managed rule group within the rule set to override
- rules List<Property Map>
- List of rules that will be enabled. If none specified, all rules in the group will be disabled.
ManagedRuleOverrideResponse   
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
ManagedRuleSetListResponse    
- ManagedRule List<Pulumi.Sets Azure Native. Cdn. Inputs. Managed Rule Set Response> 
- List of rule sets.
- ManagedRule []ManagedSets Rule Set Response 
- List of rule sets.
- managedRule List<ManagedSets Rule Set Response> 
- List of rule sets.
- managedRule ManagedSets Rule Set Response[] 
- List of rule sets.
- managed_rule_ Sequence[Managedsets Rule Set Response] 
- List of rule sets.
- managedRule List<Property Map>Sets 
- List of rule sets.
ManagedRuleSetResponse   
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- AnomalyScore int
- Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
- RuleGroup List<Pulumi.Overrides Azure Native. Cdn. Inputs. Managed Rule Group Override Response> 
- Defines the rule overrides to apply to the rule set.
- RuleSet stringType 
- Defines the rule set type to use.
- RuleSet stringVersion 
- Defines the version of the rule set to use.
- AnomalyScore int
- Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
- RuleGroup []ManagedOverrides Rule Group Override Response 
- Defines the rule overrides to apply to the rule set.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- anomalyScore Integer
- Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
- ruleGroup List<ManagedOverrides Rule Group Override Response> 
- Defines the rule overrides to apply to the rule set.
- ruleSet stringType 
- Defines the rule set type to use.
- ruleSet stringVersion 
- Defines the version of the rule set to use.
- anomalyScore number
- Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
- ruleGroup ManagedOverrides Rule Group Override Response[] 
- Defines the rule overrides to apply to the rule set.
- rule_set_ strtype 
- Defines the rule set type to use.
- rule_set_ strversion 
- Defines the version of the rule set to use.
- anomaly_score int
- Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
- rule_group_ Sequence[Managedoverrides Rule Group Override Response] 
- Defines the rule overrides to apply to the rule set.
- ruleSet StringType 
- Defines the rule set type to use.
- ruleSet StringVersion 
- Defines the version of the rule set to use.
- anomalyScore Number
- Verizon only : If the rule set supports anomaly detection mode, this describes the threshold for blocking requests.
- ruleGroup List<Property Map>Overrides 
- Defines the rule overrides to apply to the rule set.
MatchConditionResponse  
- MatchValue List<string>
- List of possible match values.
- MatchVariable string
- Match variable to compare against.
- Operator string
- Describes operator to be matched
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
- Transforms List<string>
- List of transforms.
- MatchValue []string
- List of possible match values.
- MatchVariable string
- Match variable to compare against.
- Operator string
- Describes operator to be matched
- NegateCondition bool
- Describes if the result of this condition should be negated.
- Selector string
- Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
- Transforms []string
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String
- Match variable to compare against.
- operator String
- Describes operator to be matched
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
- transforms List<String>
- List of transforms.
- matchValue string[]
- List of possible match values.
- matchVariable string
- Match variable to compare against.
- operator string
- Describes operator to be matched
- negateCondition boolean
- Describes if the result of this condition should be negated.
- selector string
- Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
- transforms string[]
- List of transforms.
- match_value Sequence[str]
- List of possible match values.
- match_variable str
- Match variable to compare against.
- operator str
- Describes operator to be matched
- negate_condition bool
- Describes if the result of this condition should be negated.
- selector str
- Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
- transforms Sequence[str]
- List of transforms.
- matchValue List<String>
- List of possible match values.
- matchVariable String
- Match variable to compare against.
- operator String
- Describes operator to be matched
- negateCondition Boolean
- Describes if the result of this condition should be negated.
- selector String
- Selector can used to match a specific key for QueryString, Cookies, RequestHeader or PostArgs.
- transforms List<String>
- List of transforms.
PolicySettingsResponse  
- DefaultCustom stringBlock Response Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- DefaultCustom intBlock Response Status Code 
- If the action type is block, this field defines the default customer overridable http response status code.
- DefaultRedirect stringUrl 
- If action type is redirect, this field represents the default redirect URL for the client.
- EnabledState string
- describes if the policy is in enabled state or disabled state
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- DefaultCustom stringBlock Response Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- DefaultCustom intBlock Response Status Code 
- If the action type is block, this field defines the default customer overridable http response status code.
- DefaultRedirect stringUrl 
- If action type is redirect, this field represents the default redirect URL for the client.
- EnabledState string
- describes if the policy is in enabled state or disabled state
- Mode string
- Describes if it is in detection mode or prevention mode at policy level.
- defaultCustom StringBlock Response Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- defaultCustom IntegerBlock Response Status Code 
- If the action type is block, this field defines the default customer overridable http response status code.
- defaultRedirect StringUrl 
- If action type is redirect, this field represents the default redirect URL for the client.
- enabledState String
- describes if the policy is in enabled state or disabled state
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
- defaultCustom stringBlock Response Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- defaultCustom numberBlock Response Status Code 
- If the action type is block, this field defines the default customer overridable http response status code.
- defaultRedirect stringUrl 
- If action type is redirect, this field represents the default redirect URL for the client.
- enabledState string
- describes if the policy is in enabled state or disabled state
- mode string
- Describes if it is in detection mode or prevention mode at policy level.
- default_custom_ strblock_ response_ body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- default_custom_ intblock_ response_ status_ code 
- If the action type is block, this field defines the default customer overridable http response status code.
- default_redirect_ strurl 
- If action type is redirect, this field represents the default redirect URL for the client.
- enabled_state str
- describes if the policy is in enabled state or disabled state
- mode str
- Describes if it is in detection mode or prevention mode at policy level.
- defaultCustom StringBlock Response Body 
- If the action type is block, customer can override the response body. The body must be specified in base64 encoding.
- defaultCustom NumberBlock Response Status Code 
- If the action type is block, this field defines the default customer overridable http response status code.
- defaultRedirect StringUrl 
- If action type is redirect, this field represents the default redirect URL for the client.
- enabledState String
- describes if the policy is in enabled state or disabled state
- mode String
- Describes if it is in detection mode or prevention mode at policy level.
RateLimitRuleListResponse    
- Rules
[]RateLimit Rule Response 
- List of rules
- rules
List<RateLimit Rule Response> 
- List of rules
- rules
RateLimit Rule Response[] 
- List of rules
- rules
Sequence[RateLimit Rule Response] 
- List of rules
- rules List<Property Map>
- List of rules
RateLimitRuleResponse   
- Action string
- Describes what action to be applied when rule matches
- MatchConditions List<Pulumi.Azure Native. Cdn. Inputs. Match Condition Response> 
- List of match conditions.
- Name string
- Defines the name of the custom rule
- Priority int
- Defines in what order this rule be evaluated in the overall list of custom rules
- RateLimit intDuration In Minutes 
- Defines rate limit duration. Default is 1 minute.
- RateLimit intThreshold 
- Defines rate limit threshold.
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- Action string
- Describes what action to be applied when rule matches
- MatchConditions []MatchCondition Response 
- List of match conditions.
- Name string
- Defines the name of the custom rule
- Priority int
- Defines in what order this rule be evaluated in the overall list of custom rules
- RateLimit intDuration In Minutes 
- Defines rate limit duration. Default is 1 minute.
- RateLimit intThreshold 
- Defines rate limit threshold.
- EnabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action String
- Describes what action to be applied when rule matches
- matchConditions List<MatchCondition Response> 
- List of match conditions.
- name String
- Defines the name of the custom rule
- priority Integer
- Defines in what order this rule be evaluated in the overall list of custom rules
- rateLimit IntegerDuration In Minutes 
- Defines rate limit duration. Default is 1 minute.
- rateLimit IntegerThreshold 
- Defines rate limit threshold.
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action string
- Describes what action to be applied when rule matches
- matchConditions MatchCondition Response[] 
- List of match conditions.
- name string
- Defines the name of the custom rule
- priority number
- Defines in what order this rule be evaluated in the overall list of custom rules
- rateLimit numberDuration In Minutes 
- Defines rate limit duration. Default is 1 minute.
- rateLimit numberThreshold 
- Defines rate limit threshold.
- enabledState string
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action str
- Describes what action to be applied when rule matches
- match_conditions Sequence[MatchCondition Response] 
- List of match conditions.
- name str
- Defines the name of the custom rule
- priority int
- Defines in what order this rule be evaluated in the overall list of custom rules
- rate_limit_ intduration_ in_ minutes 
- Defines rate limit duration. Default is 1 minute.
- rate_limit_ intthreshold 
- Defines rate limit threshold.
- enabled_state str
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
- action String
- Describes what action to be applied when rule matches
- matchConditions List<Property Map>
- List of match conditions.
- name String
- Defines the name of the custom rule
- priority Number
- Defines in what order this rule be evaluated in the overall list of custom rules
- rateLimit NumberDuration In Minutes 
- Defines rate limit duration. Default is 1 minute.
- rateLimit NumberThreshold 
- Defines rate limit threshold.
- enabledState String
- Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
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.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC)
- CreatedBy string
- An identifier for the identity that created the resource
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- The type of identity that last modified the resource
- CreatedAt string
- The timestamp of resource creation (UTC)
- CreatedBy string
- An identifier for the identity that created the resource
- CreatedBy stringType 
- The type of identity that created the resource
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- An identifier for the identity that last modified the resource
- LastModified stringBy Type 
- The type of identity that last modified the resource
- createdAt String
- The timestamp of resource creation (UTC)
- createdBy String
- An identifier for the identity that created the resource
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- The type of identity that last modified the resource
- createdAt string
- The timestamp of resource creation (UTC)
- createdBy string
- An identifier for the identity that created the resource
- createdBy stringType 
- The type of identity that created the resource
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- An identifier for the identity that last modified the resource
- lastModified stringBy Type 
- The type of identity that last modified the resource
- created_at str
- The timestamp of resource creation (UTC)
- created_by str
- An identifier for the identity that created the resource
- created_by_ strtype 
- The type of identity that created the resource
- last_modified_ strat 
- The timestamp of resource last modification (UTC)
- last_modified_ strby 
- An identifier for the identity that last modified the resource
- last_modified_ strby_ type 
- The type of identity that last modified the resource
- createdAt String
- The timestamp of resource creation (UTC)
- createdBy String
- An identifier for the identity that created the resource
- createdBy StringType 
- The type of identity that created the resource
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- An identifier for the identity that last modified the resource
- lastModified StringBy Type 
- The type of identity that last modified the resource
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