pulumi-azure 6.27.0a1758695020__py3-none-any.whl → 6.27.0a1759511969__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pulumi-azure might be problematic. Click here for more details.

Files changed (169) hide show
  1. pulumi_azure/__init__.py +32 -0
  2. pulumi_azure/apimanagement/backend.py +2 -2
  3. pulumi_azure/appservice/_inputs.py +78 -6
  4. pulumi_azure/appservice/app_flex_consumption.py +61 -0
  5. pulumi_azure/appservice/outputs.py +52 -4
  6. pulumi_azure/appservice/service_plan.py +14 -14
  7. pulumi_azure/billing/account_cost_management_export.py +2 -2
  8. pulumi_azure/cdn/_inputs.py +57 -95
  9. pulumi_azure/cdn/frontdoor_firewall_policy.py +34 -107
  10. pulumi_azure/cdn/frontdoor_profile.py +87 -2
  11. pulumi_azure/cdn/frontdoor_security_policy.py +7 -7
  12. pulumi_azure/cdn/get_frontdoor_firewall_policy.py +15 -1
  13. pulumi_azure/cdn/get_frontdoor_profile.py +25 -11
  14. pulumi_azure/cdn/outputs.py +79 -21
  15. pulumi_azure/cognitive/account.py +7 -7
  16. pulumi_azure/compute/__init__.py +1 -0
  17. pulumi_azure/compute/_inputs.py +79 -47
  18. pulumi_azure/compute/get_managed_disks.py +140 -0
  19. pulumi_azure/compute/linux_virtual_machine.py +97 -23
  20. pulumi_azure/compute/outputs.py +362 -34
  21. pulumi_azure/compute/windows_virtual_machine.py +172 -42
  22. pulumi_azure/containerservice/_inputs.py +209 -17
  23. pulumi_azure/containerservice/cluster_trusted_access_role_binding.py +2 -2
  24. pulumi_azure/containerservice/get_cluster_node_pool.py +14 -3
  25. pulumi_azure/containerservice/get_kubernetes_cluster.py +2 -2
  26. pulumi_azure/containerservice/get_kubernetes_node_pool_snapshot.py +2 -2
  27. pulumi_azure/containerservice/kubernetes_cluster.py +49 -2
  28. pulumi_azure/containerservice/kubernetes_cluster_node_pool.py +49 -2
  29. pulumi_azure/containerservice/outputs.py +173 -11
  30. pulumi_azure/core/_inputs.py +0 -54
  31. pulumi_azure/core/outputs.py +0 -36
  32. pulumi_azure/core/resource_group_cost_management_export.py +2 -2
  33. pulumi_azure/core/resource_group_policy_assignment.py +7 -7
  34. pulumi_azure/core/resource_policy_assignment.py +7 -7
  35. pulumi_azure/core/subscription_cost_management_export.py +2 -2
  36. pulumi_azure/core/subscription_policy_assignment.py +7 -7
  37. pulumi_azure/datafactory/__init__.py +1 -0
  38. pulumi_azure/datafactory/customer_managed_key.py +439 -0
  39. pulumi_azure/datafactory/factory.py +2 -2
  40. pulumi_azure/dataprotection/_inputs.py +36 -6
  41. pulumi_azure/dataprotection/backup_policy_blob_storage.py +76 -2
  42. pulumi_azure/dataprotection/outputs.py +24 -4
  43. pulumi_azure/devcenter/get_project_pool.py +15 -1
  44. pulumi_azure/devcenter/project_pool.py +47 -0
  45. pulumi_azure/eventgrid/domain.py +2 -2
  46. pulumi_azure/eventgrid/domain_topic.py +2 -2
  47. pulumi_azure/eventgrid/event_subscription.py +2 -2
  48. pulumi_azure/eventgrid/get_domain.py +2 -2
  49. pulumi_azure/eventgrid/get_domain_topic.py +2 -2
  50. pulumi_azure/eventgrid/get_partner_namespace.py +2 -2
  51. pulumi_azure/eventgrid/get_partner_registration.py +2 -2
  52. pulumi_azure/eventgrid/get_system_topic.py +28 -6
  53. pulumi_azure/eventgrid/get_topic.py +2 -2
  54. pulumi_azure/eventgrid/partner_configuration.py +2 -2
  55. pulumi_azure/eventgrid/partner_namespace.py +2 -2
  56. pulumi_azure/eventgrid/partner_registration.py +2 -2
  57. pulumi_azure/eventgrid/system_topic.py +97 -35
  58. pulumi_azure/eventgrid/system_topic_event_subscription.py +4 -4
  59. pulumi_azure/eventgrid/topic.py +2 -2
  60. pulumi_azure/eventhub/domain.py +2 -2
  61. pulumi_azure/eventhub/event_grid_topic.py +2 -2
  62. pulumi_azure/eventhub/event_subscription.py +2 -2
  63. pulumi_azure/hpc/cache_blob_target.py +2 -2
  64. pulumi_azure/iot/_inputs.py +27 -1
  65. pulumi_azure/iot/endpoint_cosmosdb_account.py +64 -3
  66. pulumi_azure/iot/endpoint_eventhub.py +64 -3
  67. pulumi_azure/iot/endpoint_servicebus_queue.py +64 -3
  68. pulumi_azure/iot/endpoint_servicebus_topic.py +64 -3
  69. pulumi_azure/iot/endpoint_storage_container.py +64 -3
  70. pulumi_azure/iot/outputs.py +19 -1
  71. pulumi_azure/keyvault/_inputs.py +3 -17
  72. pulumi_azure/keyvault/get_key_vault.py +13 -1
  73. pulumi_azure/keyvault/key_vault.py +78 -35
  74. pulumi_azure/keyvault/outputs.py +2 -10
  75. pulumi_azure/kusto/_inputs.py +16 -6
  76. pulumi_azure/kusto/cluster.py +95 -66
  77. pulumi_azure/kusto/outputs.py +10 -4
  78. pulumi_azure/lb/get_lb_outbound_rule.py +12 -1
  79. pulumi_azure/lb/get_lb_rule.py +28 -4
  80. pulumi_azure/lb/load_balancer.py +94 -0
  81. pulumi_azure/lb/nat_rule.py +115 -29
  82. pulumi_azure/lb/outbound_rule.py +60 -17
  83. pulumi_azure/lb/rule.py +116 -30
  84. pulumi_azure/loadtest/_inputs.py +6 -3
  85. pulumi_azure/loadtest/load_test.py +0 -4
  86. pulumi_azure/loadtest/outputs.py +4 -2
  87. pulumi_azure/logicapps/_inputs.py +46 -987
  88. pulumi_azure/logicapps/get_standard.py +0 -7
  89. pulumi_azure/logicapps/outputs.py +117 -101
  90. pulumi_azure/logicapps/standard.py +7 -7
  91. pulumi_azure/machinelearning/_inputs.py +24 -4
  92. pulumi_azure/machinelearning/compute_instance.py +35 -7
  93. pulumi_azure/machinelearning/datastore_blobstorage.py +2 -2
  94. pulumi_azure/machinelearning/datastore_datalake_gen2.py +2 -2
  95. pulumi_azure/machinelearning/inference_cluster.py +2 -2
  96. pulumi_azure/machinelearning/outputs.py +17 -3
  97. pulumi_azure/machinelearning/workspace.py +61 -0
  98. pulumi_azure/management/_inputs.py +0 -18
  99. pulumi_azure/management/group_policy_assignment.py +7 -7
  100. pulumi_azure/management/outputs.py +0 -12
  101. pulumi_azure/management/private_link_association.py +0 -70
  102. pulumi_azure/mobile/_inputs.py +14 -6
  103. pulumi_azure/mobile/network_sim.py +2 -6
  104. pulumi_azure/mobile/network_sim_policy.py +2 -6
  105. pulumi_azure/mobile/network_slice.py +116 -31
  106. pulumi_azure/mobile/outputs.py +6 -4
  107. pulumi_azure/monitoring/_inputs.py +15 -9
  108. pulumi_azure/monitoring/activity_log_alert.py +7 -7
  109. pulumi_azure/monitoring/outputs.py +10 -6
  110. pulumi_azure/mssql/job_step.py +11 -11
  111. pulumi_azure/mysql/_inputs.py +20 -0
  112. pulumi_azure/mysql/outputs.py +14 -0
  113. pulumi_azure/netapp/_inputs.py +18 -6
  114. pulumi_azure/netapp/account.py +2 -2
  115. pulumi_azure/netapp/account_encryption.py +132 -4
  116. pulumi_azure/netapp/backup_policy.py +2 -2
  117. pulumi_azure/netapp/backup_vault.py +2 -2
  118. pulumi_azure/netapp/get_account.py +2 -2
  119. pulumi_azure/netapp/get_account_encryption.py +25 -3
  120. pulumi_azure/netapp/get_backup_policy.py +2 -2
  121. pulumi_azure/netapp/get_backup_vault.py +2 -2
  122. pulumi_azure/netapp/get_pool.py +17 -3
  123. pulumi_azure/netapp/get_snapshot.py +2 -2
  124. pulumi_azure/netapp/get_snapshot_policy.py +2 -2
  125. pulumi_azure/netapp/get_volume.py +17 -3
  126. pulumi_azure/netapp/get_volume_group_oracle.py +2 -2
  127. pulumi_azure/netapp/get_volume_group_sap_hana.py +2 -2
  128. pulumi_azure/netapp/get_volume_quota_rule.py +2 -2
  129. pulumi_azure/netapp/outputs.py +12 -4
  130. pulumi_azure/netapp/pool.py +104 -9
  131. pulumi_azure/netapp/snapshot.py +2 -2
  132. pulumi_azure/netapp/snapshot_policy.py +2 -2
  133. pulumi_azure/netapp/volume.py +82 -7
  134. pulumi_azure/netapp/volume_group_oracle.py +2 -2
  135. pulumi_azure/netapp/volume_group_sap_hana.py +2 -2
  136. pulumi_azure/netapp/volume_quota_rule.py +2 -2
  137. pulumi_azure/network/__init__.py +2 -0
  138. pulumi_azure/network/network_manager_ipam_pool_static_cidr.py +415 -0
  139. pulumi_azure/network/network_manager_routing_configuration.py +7 -7
  140. pulumi_azure/network/network_manager_routing_rule_collection.py +429 -0
  141. pulumi_azure/network/subnet.py +76 -1
  142. pulumi_azure/oracle/__init__.py +3 -0
  143. pulumi_azure/oracle/autonomous_database_backup.py +310 -0
  144. pulumi_azure/oracle/get_autonomous_database_backup.py +347 -0
  145. pulumi_azure/oracle/get_autonomous_database_backups.py +138 -0
  146. pulumi_azure/oracle/outputs.py +191 -0
  147. pulumi_azure/paloalto/next_generation_firewall_virtual_hub_local_rulestack.py +2 -2
  148. pulumi_azure/paloalto/next_generation_firewall_virtual_hub_panorama.py +2 -2
  149. pulumi_azure/paloalto/next_generation_firewall_virtual_network_local_rulestack.py +2 -2
  150. pulumi_azure/paloalto/next_generation_firewall_virtual_network_panorama.py +2 -2
  151. pulumi_azure/policy/_inputs.py +6 -0
  152. pulumi_azure/policy/outputs.py +4 -0
  153. pulumi_azure/postgresql/flexible_server.py +7 -7
  154. pulumi_azure/postgresql/flexible_server_firewall_rule.py +14 -14
  155. pulumi_azure/pulumi-plugin.json +1 -1
  156. pulumi_azure/search/service.py +7 -7
  157. pulumi_azure/sentinel/_inputs.py +144 -0
  158. pulumi_azure/sentinel/authomation_rule.py +47 -0
  159. pulumi_azure/sentinel/automation_rule.py +47 -0
  160. pulumi_azure/sentinel/outputs.py +84 -0
  161. pulumi_azure/storage/_inputs.py +3 -3
  162. pulumi_azure/storage/container_immutability_policy.py +2 -2
  163. pulumi_azure/storage/get_queue.py +59 -8
  164. pulumi_azure/storage/outputs.py +2 -2
  165. pulumi_azure/storage/queue.py +159 -27
  166. {pulumi_azure-6.27.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/METADATA +1 -1
  167. {pulumi_azure-6.27.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/RECORD +169 -162
  168. {pulumi_azure-6.27.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/WHEEL +0 -0
  169. {pulumi_azure-6.27.0a1758695020.dist-info → pulumi_azure-6.27.0a1759511969.dist-info}/top_level.txt +0 -0
@@ -109,6 +109,8 @@ __all__ = [
109
109
  'FrontdoorOriginPrivateLinkArgsDict',
110
110
  'FrontdoorProfileIdentityArgs',
111
111
  'FrontdoorProfileIdentityArgsDict',
112
+ 'FrontdoorProfileLogScrubbingRuleArgs',
113
+ 'FrontdoorProfileLogScrubbingRuleArgsDict',
112
114
  'FrontdoorRouteCacheArgs',
113
115
  'FrontdoorRouteCacheArgsDict',
114
116
  'FrontdoorRuleActionsArgs',
@@ -175,8 +177,6 @@ __all__ = [
175
177
  'FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgsDict',
176
178
  'FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs',
177
179
  'FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgsDict',
178
- 'GetFrontdoorProfileIdentityArgs',
179
- 'GetFrontdoorProfileIdentityArgsDict',
180
180
  ]
181
181
 
182
182
  MYPY = False
@@ -3264,9 +3264,9 @@ if not MYPY:
3264
3264
  class FrontdoorFirewallPolicyCustomRuleArgsDict(TypedDict):
3265
3265
  action: pulumi.Input[_builtins.str]
3266
3266
  """
3267
- The action to perform when the rule is matched. Possible values are `Allow`, `Block`, `Log`, `Redirect`, or `JSChallenge`.
3267
+ The action to perform when the rule is matched. Possible values are `Allow`, `Block`, `Log`, `Redirect`, `JSChallenge`, or `CAPTCHA`.
3268
3268
 
3269
- !> **Note:** Setting the `action` field to `JSChallenge` is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
3269
+ !> **Note:** Setting the `action` field to `JSChallenge` or `CAPTCHA` is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
3270
3270
  """
3271
3271
  name: pulumi.Input[_builtins.str]
3272
3272
  """
@@ -3311,9 +3311,9 @@ class FrontdoorFirewallPolicyCustomRuleArgs:
3311
3311
  rate_limit_duration_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
3312
3312
  rate_limit_threshold: Optional[pulumi.Input[_builtins.int]] = None):
3313
3313
  """
3314
- :param pulumi.Input[_builtins.str] action: The action to perform when the rule is matched. Possible values are `Allow`, `Block`, `Log`, `Redirect`, or `JSChallenge`.
3314
+ :param pulumi.Input[_builtins.str] action: The action to perform when the rule is matched. Possible values are `Allow`, `Block`, `Log`, `Redirect`, `JSChallenge`, or `CAPTCHA`.
3315
3315
 
3316
- !> **Note:** Setting the `action` field to `JSChallenge` is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
3316
+ !> **Note:** Setting the `action` field to `JSChallenge` or `CAPTCHA` is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
3317
3317
  :param pulumi.Input[_builtins.str] name: Gets name of the resource that is unique within a policy. This name can be used to access the resource.
3318
3318
  :param pulumi.Input[_builtins.str] type: The type of rule. Possible values are `MatchRule` or `RateLimitRule`.
3319
3319
  :param pulumi.Input[_builtins.bool] enabled: Is the rule is enabled or disabled? Defaults to `true`.
@@ -3340,9 +3340,9 @@ class FrontdoorFirewallPolicyCustomRuleArgs:
3340
3340
  @pulumi.getter
3341
3341
  def action(self) -> pulumi.Input[_builtins.str]:
3342
3342
  """
3343
- The action to perform when the rule is matched. Possible values are `Allow`, `Block`, `Log`, `Redirect`, or `JSChallenge`.
3343
+ The action to perform when the rule is matched. Possible values are `Allow`, `Block`, `Log`, `Redirect`, `JSChallenge`, or `CAPTCHA`.
3344
3344
 
3345
- !> **Note:** Setting the `action` field to `JSChallenge` is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
3345
+ !> **Note:** Setting the `action` field to `JSChallenge` or `CAPTCHA` is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
3346
3346
  """
3347
3347
  return pulumi.get(self, "action")
3348
3348
 
@@ -4596,6 +4596,43 @@ class FrontdoorProfileIdentityArgs:
4596
4596
  pulumi.set(self, "tenant_id", value)
4597
4597
 
4598
4598
 
4599
+ if not MYPY:
4600
+ class FrontdoorProfileLogScrubbingRuleArgsDict(TypedDict):
4601
+ match_variable: pulumi.Input[_builtins.str]
4602
+ """
4603
+ The variable to be scrubbed from the logs. Possible values are `QueryStringArgNames`, `RequestIPAddress`, and `RequestUri`.
4604
+
4605
+ > **Note:** The `operator` field is implicitly set to `EqualsAny`, as it is the sole supported value, and is therefore not exposed as a configurable option in the provider schema.
4606
+ """
4607
+ elif False:
4608
+ FrontdoorProfileLogScrubbingRuleArgsDict: TypeAlias = Mapping[str, Any]
4609
+
4610
+ @pulumi.input_type
4611
+ class FrontdoorProfileLogScrubbingRuleArgs:
4612
+ def __init__(__self__, *,
4613
+ match_variable: pulumi.Input[_builtins.str]):
4614
+ """
4615
+ :param pulumi.Input[_builtins.str] match_variable: The variable to be scrubbed from the logs. Possible values are `QueryStringArgNames`, `RequestIPAddress`, and `RequestUri`.
4616
+
4617
+ > **Note:** The `operator` field is implicitly set to `EqualsAny`, as it is the sole supported value, and is therefore not exposed as a configurable option in the provider schema.
4618
+ """
4619
+ pulumi.set(__self__, "match_variable", match_variable)
4620
+
4621
+ @_builtins.property
4622
+ @pulumi.getter(name="matchVariable")
4623
+ def match_variable(self) -> pulumi.Input[_builtins.str]:
4624
+ """
4625
+ The variable to be scrubbed from the logs. Possible values are `QueryStringArgNames`, `RequestIPAddress`, and `RequestUri`.
4626
+
4627
+ > **Note:** The `operator` field is implicitly set to `EqualsAny`, as it is the sole supported value, and is therefore not exposed as a configurable option in the provider schema.
4628
+ """
4629
+ return pulumi.get(self, "match_variable")
4630
+
4631
+ @match_variable.setter
4632
+ def match_variable(self, value: pulumi.Input[_builtins.str]):
4633
+ pulumi.set(self, "match_variable", value)
4634
+
4635
+
4599
4636
  if not MYPY:
4600
4637
  class FrontdoorRouteCacheArgsDict(TypedDict):
4601
4638
  compression_enabled: NotRequired[pulumi.Input[_builtins.bool]]
@@ -7461,7 +7498,7 @@ if not MYPY:
7461
7498
  class FrontdoorSecurityPolicySecurityPoliciesArgsDict(TypedDict):
7462
7499
  firewall: pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallArgsDict']
7463
7500
  """
7464
- An `firewall` block as defined below. Changing this forces a new Front Door Security Policy to be created.
7501
+ An `firewall` block as defined below.
7465
7502
  """
7466
7503
  elif False:
7467
7504
  FrontdoorSecurityPolicySecurityPoliciesArgsDict: TypeAlias = Mapping[str, Any]
@@ -7471,7 +7508,7 @@ class FrontdoorSecurityPolicySecurityPoliciesArgs:
7471
7508
  def __init__(__self__, *,
7472
7509
  firewall: pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallArgs']):
7473
7510
  """
7474
- :param pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallArgs'] firewall: An `firewall` block as defined below. Changing this forces a new Front Door Security Policy to be created.
7511
+ :param pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallArgs'] firewall: An `firewall` block as defined below.
7475
7512
  """
7476
7513
  pulumi.set(__self__, "firewall", firewall)
7477
7514
 
@@ -7479,7 +7516,7 @@ class FrontdoorSecurityPolicySecurityPoliciesArgs:
7479
7516
  @pulumi.getter
7480
7517
  def firewall(self) -> pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallArgs']:
7481
7518
  """
7482
- An `firewall` block as defined below. Changing this forces a new Front Door Security Policy to be created.
7519
+ An `firewall` block as defined below.
7483
7520
  """
7484
7521
  return pulumi.get(self, "firewall")
7485
7522
 
@@ -7492,7 +7529,7 @@ if not MYPY:
7492
7529
  class FrontdoorSecurityPolicySecurityPoliciesFirewallArgsDict(TypedDict):
7493
7530
  association: pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgsDict']
7494
7531
  """
7495
- An `association` block as defined below. Changing this forces a new Front Door Security Policy to be created.
7532
+ An `association` block as defined below.
7496
7533
  """
7497
7534
  cdn_frontdoor_firewall_policy_id: pulumi.Input[_builtins.str]
7498
7535
  """
@@ -7507,7 +7544,7 @@ class FrontdoorSecurityPolicySecurityPoliciesFirewallArgs:
7507
7544
  association: pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgs'],
7508
7545
  cdn_frontdoor_firewall_policy_id: pulumi.Input[_builtins.str]):
7509
7546
  """
7510
- :param pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgs'] association: An `association` block as defined below. Changing this forces a new Front Door Security Policy to be created.
7547
+ :param pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgs'] association: An `association` block as defined below.
7511
7548
  :param pulumi.Input[_builtins.str] cdn_frontdoor_firewall_policy_id: The Resource Id of the Front Door Firewall Policy that should be linked to this Front Door Security Policy. Changing this forces a new Front Door Security Policy to be created.
7512
7549
  """
7513
7550
  pulumi.set(__self__, "association", association)
@@ -7517,7 +7554,7 @@ class FrontdoorSecurityPolicySecurityPoliciesFirewallArgs:
7517
7554
  @pulumi.getter
7518
7555
  def association(self) -> pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgs']:
7519
7556
  """
7520
- An `association` block as defined below. Changing this forces a new Front Door Security Policy to be created.
7557
+ An `association` block as defined below.
7521
7558
  """
7522
7559
  return pulumi.get(self, "association")
7523
7560
 
@@ -7542,7 +7579,7 @@ if not MYPY:
7542
7579
  class FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgsDict(TypedDict):
7543
7580
  domains: pulumi.Input[Sequence[pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgsDict']]]
7544
7581
  """
7545
- One or more `domain` blocks as defined below. Changing this forces a new Front Door Security Policy to be created.
7582
+ One or more `domain` blocks as defined below.
7546
7583
  """
7547
7584
  patterns_to_match: pulumi.Input[_builtins.str]
7548
7585
  """
@@ -7557,7 +7594,7 @@ class FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgs:
7557
7594
  domains: pulumi.Input[Sequence[pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs']]],
7558
7595
  patterns_to_match: pulumi.Input[_builtins.str]):
7559
7596
  """
7560
- :param pulumi.Input[Sequence[pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs']]] domains: One or more `domain` blocks as defined below. Changing this forces a new Front Door Security Policy to be created.
7597
+ :param pulumi.Input[Sequence[pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs']]] domains: One or more `domain` blocks as defined below.
7561
7598
  :param pulumi.Input[_builtins.str] patterns_to_match: The list of paths to match for this firewall policy. Possible value includes `/*`. Changing this forces a new Front Door Security Policy to be created.
7562
7599
  """
7563
7600
  pulumi.set(__self__, "domains", domains)
@@ -7567,7 +7604,7 @@ class FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationArgs:
7567
7604
  @pulumi.getter
7568
7605
  def domains(self) -> pulumi.Input[Sequence[pulumi.Input['FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs']]]:
7569
7606
  """
7570
- One or more `domain` blocks as defined below. Changing this forces a new Front Door Security Policy to be created.
7607
+ One or more `domain` blocks as defined below.
7571
7608
  """
7572
7609
  return pulumi.get(self, "domains")
7573
7610
 
@@ -7592,7 +7629,7 @@ if not MYPY:
7592
7629
  class FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgsDict(TypedDict):
7593
7630
  cdn_frontdoor_domain_id: pulumi.Input[_builtins.str]
7594
7631
  """
7595
- The Resource Id of the **Front Door Custom Domain** or **Front Door Endpoint** that should be bound to this Front Door Security Policy. Changing this forces a new Front Door Security Policy to be created.
7632
+ The Resource Id of the **Front Door Custom Domain** or **Front Door Endpoint** that should be bound to this Front Door Security Policy.
7596
7633
  """
7597
7634
  active: NotRequired[pulumi.Input[_builtins.bool]]
7598
7635
  """
@@ -7607,7 +7644,7 @@ class FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs:
7607
7644
  cdn_frontdoor_domain_id: pulumi.Input[_builtins.str],
7608
7645
  active: Optional[pulumi.Input[_builtins.bool]] = None):
7609
7646
  """
7610
- :param pulumi.Input[_builtins.str] cdn_frontdoor_domain_id: The Resource Id of the **Front Door Custom Domain** or **Front Door Endpoint** that should be bound to this Front Door Security Policy. Changing this forces a new Front Door Security Policy to be created.
7647
+ :param pulumi.Input[_builtins.str] cdn_frontdoor_domain_id: The Resource Id of the **Front Door Custom Domain** or **Front Door Endpoint** that should be bound to this Front Door Security Policy.
7611
7648
  :param pulumi.Input[_builtins.bool] active: Is the Front Door Custom Domain/Endpoint activated?
7612
7649
  """
7613
7650
  pulumi.set(__self__, "cdn_frontdoor_domain_id", cdn_frontdoor_domain_id)
@@ -7618,7 +7655,7 @@ class FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs:
7618
7655
  @pulumi.getter(name="cdnFrontdoorDomainId")
7619
7656
  def cdn_frontdoor_domain_id(self) -> pulumi.Input[_builtins.str]:
7620
7657
  """
7621
- The Resource Id of the **Front Door Custom Domain** or **Front Door Endpoint** that should be bound to this Front Door Security Policy. Changing this forces a new Front Door Security Policy to be created.
7658
+ The Resource Id of the **Front Door Custom Domain** or **Front Door Endpoint** that should be bound to this Front Door Security Policy.
7622
7659
  """
7623
7660
  return pulumi.get(self, "cdn_frontdoor_domain_id")
7624
7661
 
@@ -7639,78 +7676,3 @@ class FrontdoorSecurityPolicySecurityPoliciesFirewallAssociationDomainArgs:
7639
7676
  pulumi.set(self, "active", value)
7640
7677
 
7641
7678
 
7642
- if not MYPY:
7643
- class GetFrontdoorProfileIdentityArgsDict(TypedDict):
7644
- principal_id: _builtins.str
7645
- tenant_id: _builtins.str
7646
- type: _builtins.str
7647
- """
7648
- The type of Managed Service Identity that is configured on this Front Door Profile.
7649
- """
7650
- identity_ids: NotRequired[Sequence[_builtins.str]]
7651
- """
7652
- The list of User Assigned Managed Identity IDs assigned to this Front Door Profile.
7653
- """
7654
- elif False:
7655
- GetFrontdoorProfileIdentityArgsDict: TypeAlias = Mapping[str, Any]
7656
-
7657
- @pulumi.input_type
7658
- class GetFrontdoorProfileIdentityArgs:
7659
- def __init__(__self__, *,
7660
- principal_id: _builtins.str,
7661
- tenant_id: _builtins.str,
7662
- type: _builtins.str,
7663
- identity_ids: Optional[Sequence[_builtins.str]] = None):
7664
- """
7665
- :param _builtins.str type: The type of Managed Service Identity that is configured on this Front Door Profile.
7666
- :param Sequence[_builtins.str] identity_ids: The list of User Assigned Managed Identity IDs assigned to this Front Door Profile.
7667
- """
7668
- pulumi.set(__self__, "principal_id", principal_id)
7669
- pulumi.set(__self__, "tenant_id", tenant_id)
7670
- pulumi.set(__self__, "type", type)
7671
- if identity_ids is not None:
7672
- pulumi.set(__self__, "identity_ids", identity_ids)
7673
-
7674
- @_builtins.property
7675
- @pulumi.getter(name="principalId")
7676
- def principal_id(self) -> _builtins.str:
7677
- return pulumi.get(self, "principal_id")
7678
-
7679
- @principal_id.setter
7680
- def principal_id(self, value: _builtins.str):
7681
- pulumi.set(self, "principal_id", value)
7682
-
7683
- @_builtins.property
7684
- @pulumi.getter(name="tenantId")
7685
- def tenant_id(self) -> _builtins.str:
7686
- return pulumi.get(self, "tenant_id")
7687
-
7688
- @tenant_id.setter
7689
- def tenant_id(self, value: _builtins.str):
7690
- pulumi.set(self, "tenant_id", value)
7691
-
7692
- @_builtins.property
7693
- @pulumi.getter
7694
- def type(self) -> _builtins.str:
7695
- """
7696
- The type of Managed Service Identity that is configured on this Front Door Profile.
7697
- """
7698
- return pulumi.get(self, "type")
7699
-
7700
- @type.setter
7701
- def type(self, value: _builtins.str):
7702
- pulumi.set(self, "type", value)
7703
-
7704
- @_builtins.property
7705
- @pulumi.getter(name="identityIds")
7706
- def identity_ids(self) -> Optional[Sequence[_builtins.str]]:
7707
- """
7708
- The list of User Assigned Managed Identity IDs assigned to this Front Door Profile.
7709
- """
7710
- return pulumi.get(self, "identity_ids")
7711
-
7712
- @identity_ids.setter
7713
- def identity_ids(self, value: Optional[Sequence[_builtins.str]]):
7714
- pulumi.set(self, "identity_ids", value)
7715
-
7716
-
@@ -24,6 +24,7 @@ class FrontdoorFirewallPolicyArgs:
24
24
  mode: pulumi.Input[_builtins.str],
25
25
  resource_group_name: pulumi.Input[_builtins.str],
26
26
  sku_name: pulumi.Input[_builtins.str],
27
+ captcha_cookie_expiration_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
27
28
  custom_block_response_body: Optional[pulumi.Input[_builtins.str]] = None,
28
29
  custom_block_response_status_code: Optional[pulumi.Input[_builtins.int]] = None,
29
30
  custom_rules: Optional[pulumi.Input[Sequence[pulumi.Input['FrontdoorFirewallPolicyCustomRuleArgs']]]] = None,
@@ -46,11 +47,6 @@ class FrontdoorFirewallPolicyArgs:
46
47
  :param pulumi.Input[_builtins.int] custom_block_response_status_code: If a `custom_rule` block's action type is `block`, this is the response status code. Possible values are `200`, `403`, `405`, `406`, or `429`.
47
48
  :param pulumi.Input[Sequence[pulumi.Input['FrontdoorFirewallPolicyCustomRuleArgs']]] custom_rules: One or more `custom_rule` blocks as defined below.
48
49
  :param pulumi.Input[_builtins.bool] enabled: Is the Front Door Firewall Policy enabled? Defaults to `true`.
49
- :param pulumi.Input[_builtins.int] js_challenge_cookie_expiration_in_minutes: Specifies the JavaScript challenge cookie lifetime in minutes, after which the user will be revalidated. Possible values are between `5` to `1440` minutes. Defaults to `30` minutes.
50
-
51
- > **Note:** The `js_challenge_cookie_expiration_in_minutes` field can only be set on `Premium_AzureFrontDoor` sku's. Please see the [Product Documentation](https://learn.microsoft.com/azure/web-application-firewall/waf-javascript-challenge) for more information.
52
-
53
- !> **Note:** Setting the`js_challenge_cookie_expiration_in_minutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
54
50
  :param pulumi.Input['FrontdoorFirewallPolicyLogScrubbingArgs'] log_scrubbing: A `log_scrubbing` block as defined below.
55
51
 
56
52
  !> **Note:** Setting the`log_scrubbing` block is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
@@ -65,6 +61,8 @@ class FrontdoorFirewallPolicyArgs:
65
61
  pulumi.set(__self__, "mode", mode)
66
62
  pulumi.set(__self__, "resource_group_name", resource_group_name)
67
63
  pulumi.set(__self__, "sku_name", sku_name)
64
+ if captcha_cookie_expiration_in_minutes is not None:
65
+ pulumi.set(__self__, "captcha_cookie_expiration_in_minutes", captcha_cookie_expiration_in_minutes)
68
66
  if custom_block_response_body is not None:
69
67
  pulumi.set(__self__, "custom_block_response_body", custom_block_response_body)
70
68
  if custom_block_response_status_code is not None:
@@ -126,6 +124,15 @@ class FrontdoorFirewallPolicyArgs:
126
124
  def sku_name(self, value: pulumi.Input[_builtins.str]):
127
125
  pulumi.set(self, "sku_name", value)
128
126
 
127
+ @_builtins.property
128
+ @pulumi.getter(name="captchaCookieExpirationInMinutes")
129
+ def captcha_cookie_expiration_in_minutes(self) -> Optional[pulumi.Input[_builtins.int]]:
130
+ return pulumi.get(self, "captcha_cookie_expiration_in_minutes")
131
+
132
+ @captcha_cookie_expiration_in_minutes.setter
133
+ def captcha_cookie_expiration_in_minutes(self, value: Optional[pulumi.Input[_builtins.int]]):
134
+ pulumi.set(self, "captcha_cookie_expiration_in_minutes", value)
135
+
129
136
  @_builtins.property
130
137
  @pulumi.getter(name="customBlockResponseBody")
131
138
  def custom_block_response_body(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -177,13 +184,6 @@ class FrontdoorFirewallPolicyArgs:
177
184
  @_builtins.property
178
185
  @pulumi.getter(name="jsChallengeCookieExpirationInMinutes")
179
186
  def js_challenge_cookie_expiration_in_minutes(self) -> Optional[pulumi.Input[_builtins.int]]:
180
- """
181
- Specifies the JavaScript challenge cookie lifetime in minutes, after which the user will be revalidated. Possible values are between `5` to `1440` minutes. Defaults to `30` minutes.
182
-
183
- > **Note:** The `js_challenge_cookie_expiration_in_minutes` field can only be set on `Premium_AzureFrontDoor` sku's. Please see the [Product Documentation](https://learn.microsoft.com/azure/web-application-firewall/waf-javascript-challenge) for more information.
184
-
185
- !> **Note:** Setting the`js_challenge_cookie_expiration_in_minutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
186
- """
187
187
  return pulumi.get(self, "js_challenge_cookie_expiration_in_minutes")
188
188
 
189
189
  @js_challenge_cookie_expiration_in_minutes.setter
@@ -270,6 +270,7 @@ class FrontdoorFirewallPolicyArgs:
270
270
  @pulumi.input_type
271
271
  class _FrontdoorFirewallPolicyState:
272
272
  def __init__(__self__, *,
273
+ captcha_cookie_expiration_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
273
274
  custom_block_response_body: Optional[pulumi.Input[_builtins.str]] = None,
274
275
  custom_block_response_status_code: Optional[pulumi.Input[_builtins.int]] = None,
275
276
  custom_rules: Optional[pulumi.Input[Sequence[pulumi.Input['FrontdoorFirewallPolicyCustomRuleArgs']]]] = None,
@@ -292,11 +293,6 @@ class _FrontdoorFirewallPolicyState:
292
293
  :param pulumi.Input[Sequence[pulumi.Input['FrontdoorFirewallPolicyCustomRuleArgs']]] custom_rules: One or more `custom_rule` blocks as defined below.
293
294
  :param pulumi.Input[_builtins.bool] enabled: Is the Front Door Firewall Policy enabled? Defaults to `true`.
294
295
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] frontend_endpoint_ids: The Front Door Profiles frontend endpoints associated with this Front Door Firewall Policy.
295
- :param pulumi.Input[_builtins.int] js_challenge_cookie_expiration_in_minutes: Specifies the JavaScript challenge cookie lifetime in minutes, after which the user will be revalidated. Possible values are between `5` to `1440` minutes. Defaults to `30` minutes.
296
-
297
- > **Note:** The `js_challenge_cookie_expiration_in_minutes` field can only be set on `Premium_AzureFrontDoor` sku's. Please see the [Product Documentation](https://learn.microsoft.com/azure/web-application-firewall/waf-javascript-challenge) for more information.
298
-
299
- !> **Note:** Setting the`js_challenge_cookie_expiration_in_minutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
300
296
  :param pulumi.Input['FrontdoorFirewallPolicyLogScrubbingArgs'] log_scrubbing: A `log_scrubbing` block as defined below.
301
297
 
302
298
  !> **Note:** Setting the`log_scrubbing` block is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
@@ -313,6 +309,8 @@ class _FrontdoorFirewallPolicyState:
313
309
  > **Note:** The `Standard_AzureFrontDoor` Front Door Firewall Policy sku may contain `custom` rules only. The `Premium_AzureFrontDoor` Front Door Firewall Policy sku's may contain both `custom` and `managed` rules.
314
310
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] tags: A mapping of tags to assign to the Front Door Firewall Policy.
315
311
  """
312
+ if captcha_cookie_expiration_in_minutes is not None:
313
+ pulumi.set(__self__, "captcha_cookie_expiration_in_minutes", captcha_cookie_expiration_in_minutes)
316
314
  if custom_block_response_body is not None:
317
315
  pulumi.set(__self__, "custom_block_response_body", custom_block_response_body)
318
316
  if custom_block_response_status_code is not None:
@@ -344,6 +342,15 @@ class _FrontdoorFirewallPolicyState:
344
342
  if tags is not None:
345
343
  pulumi.set(__self__, "tags", tags)
346
344
 
345
+ @_builtins.property
346
+ @pulumi.getter(name="captchaCookieExpirationInMinutes")
347
+ def captcha_cookie_expiration_in_minutes(self) -> Optional[pulumi.Input[_builtins.int]]:
348
+ return pulumi.get(self, "captcha_cookie_expiration_in_minutes")
349
+
350
+ @captcha_cookie_expiration_in_minutes.setter
351
+ def captcha_cookie_expiration_in_minutes(self, value: Optional[pulumi.Input[_builtins.int]]):
352
+ pulumi.set(self, "captcha_cookie_expiration_in_minutes", value)
353
+
347
354
  @_builtins.property
348
355
  @pulumi.getter(name="customBlockResponseBody")
349
356
  def custom_block_response_body(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -407,13 +414,6 @@ class _FrontdoorFirewallPolicyState:
407
414
  @_builtins.property
408
415
  @pulumi.getter(name="jsChallengeCookieExpirationInMinutes")
409
416
  def js_challenge_cookie_expiration_in_minutes(self) -> Optional[pulumi.Input[_builtins.int]]:
410
- """
411
- Specifies the JavaScript challenge cookie lifetime in minutes, after which the user will be revalidated. Possible values are between `5` to `1440` minutes. Defaults to `30` minutes.
412
-
413
- > **Note:** The `js_challenge_cookie_expiration_in_minutes` field can only be set on `Premium_AzureFrontDoor` sku's. Please see the [Product Documentation](https://learn.microsoft.com/azure/web-application-firewall/waf-javascript-challenge) for more information.
414
-
415
- !> **Note:** Setting the`js_challenge_cookie_expiration_in_minutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
416
- """
417
417
  return pulumi.get(self, "js_challenge_cookie_expiration_in_minutes")
418
418
 
419
419
  @js_challenge_cookie_expiration_in_minutes.setter
@@ -541,6 +541,7 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
541
541
  def __init__(__self__,
542
542
  resource_name: str,
543
543
  opts: Optional[pulumi.ResourceOptions] = None,
544
+ captcha_cookie_expiration_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
544
545
  custom_block_response_body: Optional[pulumi.Input[_builtins.str]] = None,
545
546
  custom_block_response_status_code: Optional[pulumi.Input[_builtins.int]] = None,
546
547
  custom_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FrontdoorFirewallPolicyCustomRuleArgs', 'FrontdoorFirewallPolicyCustomRuleArgsDict']]]]] = None,
@@ -581,16 +582,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
581
582
  redirect_url="https://www.contoso.com",
582
583
  custom_block_response_status_code=403,
583
584
  custom_block_response_body="PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==",
584
- js_challenge_cookie_expiration_in_minutes=45,
585
- log_scrubbing={
586
- "enabled": True,
587
- "scrubbing_rules": [{
588
- "enabled": True,
589
- "match_variable": "RequestCookieNames",
590
- "operator": "Equals",
591
- "selector": "ChocolateChip",
592
- }],
593
- },
594
585
  custom_rules=[
595
586
  {
596
587
  "name": "Rule1",
@@ -638,21 +629,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
638
629
  },
639
630
  ],
640
631
  },
641
- {
642
- "name": "CustomJSChallenge",
643
- "enabled": True,
644
- "priority": 100,
645
- "rate_limit_duration_in_minutes": 1,
646
- "rate_limit_threshold": 10,
647
- "type": "MatchRule",
648
- "action": "JSChallenge",
649
- "match_conditions": [{
650
- "match_variable": "RemoteAddr",
651
- "operator": "IPMatch",
652
- "negation_condition": False,
653
- "match_values": ["192.168.1.0/24"],
654
- }],
655
- },
656
632
  ],
657
633
  managed_rules=[
658
634
  {
@@ -696,14 +672,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
696
672
  "type": "Microsoft_BotManagerRuleSet",
697
673
  "version": "1.1",
698
674
  "action": "Log",
699
- "overrides": [{
700
- "rule_group_name": "BadBots",
701
- "rules": [{
702
- "action": "JSChallenge",
703
- "enabled": True,
704
- "rule_id": "Bot100200",
705
- }],
706
- }],
707
675
  },
708
676
  ])
709
677
  ```
@@ -738,11 +706,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
738
706
  :param pulumi.Input[_builtins.int] custom_block_response_status_code: If a `custom_rule` block's action type is `block`, this is the response status code. Possible values are `200`, `403`, `405`, `406`, or `429`.
739
707
  :param pulumi.Input[Sequence[pulumi.Input[Union['FrontdoorFirewallPolicyCustomRuleArgs', 'FrontdoorFirewallPolicyCustomRuleArgsDict']]]] custom_rules: One or more `custom_rule` blocks as defined below.
740
708
  :param pulumi.Input[_builtins.bool] enabled: Is the Front Door Firewall Policy enabled? Defaults to `true`.
741
- :param pulumi.Input[_builtins.int] js_challenge_cookie_expiration_in_minutes: Specifies the JavaScript challenge cookie lifetime in minutes, after which the user will be revalidated. Possible values are between `5` to `1440` minutes. Defaults to `30` minutes.
742
-
743
- > **Note:** The `js_challenge_cookie_expiration_in_minutes` field can only be set on `Premium_AzureFrontDoor` sku's. Please see the [Product Documentation](https://learn.microsoft.com/azure/web-application-firewall/waf-javascript-challenge) for more information.
744
-
745
- !> **Note:** Setting the`js_challenge_cookie_expiration_in_minutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
746
709
  :param pulumi.Input[Union['FrontdoorFirewallPolicyLogScrubbingArgs', 'FrontdoorFirewallPolicyLogScrubbingArgsDict']] log_scrubbing: A `log_scrubbing` block as defined below.
747
710
 
748
711
  !> **Note:** Setting the`log_scrubbing` block is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
@@ -790,16 +753,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
790
753
  redirect_url="https://www.contoso.com",
791
754
  custom_block_response_status_code=403,
792
755
  custom_block_response_body="PGh0bWw+CjxoZWFkZXI+PHRpdGxlPkhlbGxvPC90aXRsZT48L2hlYWRlcj4KPGJvZHk+CkhlbGxvIHdvcmxkCjwvYm9keT4KPC9odG1sPg==",
793
- js_challenge_cookie_expiration_in_minutes=45,
794
- log_scrubbing={
795
- "enabled": True,
796
- "scrubbing_rules": [{
797
- "enabled": True,
798
- "match_variable": "RequestCookieNames",
799
- "operator": "Equals",
800
- "selector": "ChocolateChip",
801
- }],
802
- },
803
756
  custom_rules=[
804
757
  {
805
758
  "name": "Rule1",
@@ -847,21 +800,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
847
800
  },
848
801
  ],
849
802
  },
850
- {
851
- "name": "CustomJSChallenge",
852
- "enabled": True,
853
- "priority": 100,
854
- "rate_limit_duration_in_minutes": 1,
855
- "rate_limit_threshold": 10,
856
- "type": "MatchRule",
857
- "action": "JSChallenge",
858
- "match_conditions": [{
859
- "match_variable": "RemoteAddr",
860
- "operator": "IPMatch",
861
- "negation_condition": False,
862
- "match_values": ["192.168.1.0/24"],
863
- }],
864
- },
865
803
  ],
866
804
  managed_rules=[
867
805
  {
@@ -905,14 +843,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
905
843
  "type": "Microsoft_BotManagerRuleSet",
906
844
  "version": "1.1",
907
845
  "action": "Log",
908
- "overrides": [{
909
- "rule_group_name": "BadBots",
910
- "rules": [{
911
- "action": "JSChallenge",
912
- "enabled": True,
913
- "rule_id": "Bot100200",
914
- }],
915
- }],
916
846
  },
917
847
  ])
918
848
  ```
@@ -956,6 +886,7 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
956
886
  def _internal_init(__self__,
957
887
  resource_name: str,
958
888
  opts: Optional[pulumi.ResourceOptions] = None,
889
+ captcha_cookie_expiration_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
959
890
  custom_block_response_body: Optional[pulumi.Input[_builtins.str]] = None,
960
891
  custom_block_response_status_code: Optional[pulumi.Input[_builtins.int]] = None,
961
892
  custom_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FrontdoorFirewallPolicyCustomRuleArgs', 'FrontdoorFirewallPolicyCustomRuleArgsDict']]]]] = None,
@@ -979,6 +910,7 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
979
910
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
980
911
  __props__ = FrontdoorFirewallPolicyArgs.__new__(FrontdoorFirewallPolicyArgs)
981
912
 
913
+ __props__.__dict__["captcha_cookie_expiration_in_minutes"] = captcha_cookie_expiration_in_minutes
982
914
  __props__.__dict__["custom_block_response_body"] = custom_block_response_body
983
915
  __props__.__dict__["custom_block_response_status_code"] = custom_block_response_status_code
984
916
  __props__.__dict__["custom_rules"] = custom_rules
@@ -1010,6 +942,7 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
1010
942
  def get(resource_name: str,
1011
943
  id: pulumi.Input[str],
1012
944
  opts: Optional[pulumi.ResourceOptions] = None,
945
+ captcha_cookie_expiration_in_minutes: Optional[pulumi.Input[_builtins.int]] = None,
1013
946
  custom_block_response_body: Optional[pulumi.Input[_builtins.str]] = None,
1014
947
  custom_block_response_status_code: Optional[pulumi.Input[_builtins.int]] = None,
1015
948
  custom_rules: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FrontdoorFirewallPolicyCustomRuleArgs', 'FrontdoorFirewallPolicyCustomRuleArgsDict']]]]] = None,
@@ -1037,11 +970,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
1037
970
  :param pulumi.Input[Sequence[pulumi.Input[Union['FrontdoorFirewallPolicyCustomRuleArgs', 'FrontdoorFirewallPolicyCustomRuleArgsDict']]]] custom_rules: One or more `custom_rule` blocks as defined below.
1038
971
  :param pulumi.Input[_builtins.bool] enabled: Is the Front Door Firewall Policy enabled? Defaults to `true`.
1039
972
  :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] frontend_endpoint_ids: The Front Door Profiles frontend endpoints associated with this Front Door Firewall Policy.
1040
- :param pulumi.Input[_builtins.int] js_challenge_cookie_expiration_in_minutes: Specifies the JavaScript challenge cookie lifetime in minutes, after which the user will be revalidated. Possible values are between `5` to `1440` minutes. Defaults to `30` minutes.
1041
-
1042
- > **Note:** The `js_challenge_cookie_expiration_in_minutes` field can only be set on `Premium_AzureFrontDoor` sku's. Please see the [Product Documentation](https://learn.microsoft.com/azure/web-application-firewall/waf-javascript-challenge) for more information.
1043
-
1044
- !> **Note:** Setting the`js_challenge_cookie_expiration_in_minutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
1045
973
  :param pulumi.Input[Union['FrontdoorFirewallPolicyLogScrubbingArgs', 'FrontdoorFirewallPolicyLogScrubbingArgsDict']] log_scrubbing: A `log_scrubbing` block as defined below.
1046
974
 
1047
975
  !> **Note:** Setting the`log_scrubbing` block is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
@@ -1062,6 +990,7 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
1062
990
 
1063
991
  __props__ = _FrontdoorFirewallPolicyState.__new__(_FrontdoorFirewallPolicyState)
1064
992
 
993
+ __props__.__dict__["captcha_cookie_expiration_in_minutes"] = captcha_cookie_expiration_in_minutes
1065
994
  __props__.__dict__["custom_block_response_body"] = custom_block_response_body
1066
995
  __props__.__dict__["custom_block_response_status_code"] = custom_block_response_status_code
1067
996
  __props__.__dict__["custom_rules"] = custom_rules
@@ -1079,6 +1008,11 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
1079
1008
  __props__.__dict__["tags"] = tags
1080
1009
  return FrontdoorFirewallPolicy(resource_name, opts=opts, __props__=__props__)
1081
1010
 
1011
+ @_builtins.property
1012
+ @pulumi.getter(name="captchaCookieExpirationInMinutes")
1013
+ def captcha_cookie_expiration_in_minutes(self) -> pulumi.Output[_builtins.int]:
1014
+ return pulumi.get(self, "captcha_cookie_expiration_in_minutes")
1015
+
1082
1016
  @_builtins.property
1083
1017
  @pulumi.getter(name="customBlockResponseBody")
1084
1018
  def custom_block_response_body(self) -> pulumi.Output[Optional[_builtins.str]]:
@@ -1122,13 +1056,6 @@ class FrontdoorFirewallPolicy(pulumi.CustomResource):
1122
1056
  @_builtins.property
1123
1057
  @pulumi.getter(name="jsChallengeCookieExpirationInMinutes")
1124
1058
  def js_challenge_cookie_expiration_in_minutes(self) -> pulumi.Output[_builtins.int]:
1125
- """
1126
- Specifies the JavaScript challenge cookie lifetime in minutes, after which the user will be revalidated. Possible values are between `5` to `1440` minutes. Defaults to `30` minutes.
1127
-
1128
- > **Note:** The `js_challenge_cookie_expiration_in_minutes` field can only be set on `Premium_AzureFrontDoor` sku's. Please see the [Product Documentation](https://learn.microsoft.com/azure/web-application-firewall/waf-javascript-challenge) for more information.
1129
-
1130
- !> **Note:** Setting the`js_challenge_cookie_expiration_in_minutes` policy is currently in **PREVIEW**. Please see the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
1131
- """
1132
1059
  return pulumi.get(self, "js_challenge_cookie_expiration_in_minutes")
1133
1060
 
1134
1061
  @_builtins.property