pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.21.0a1740033009__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.
Files changed (189) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
  3. pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
  4. pulumi_gcp/accesscontextmanager/outputs.py +104 -8
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
  7. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
  8. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
  9. pulumi_gcp/alloydb/__init__.py +1 -0
  10. pulumi_gcp/alloydb/get_instance.py +466 -0
  11. pulumi_gcp/alloydb/outputs.py +352 -0
  12. pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
  13. pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
  14. pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
  15. pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
  16. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
  17. pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
  18. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
  19. pulumi_gcp/bigquery/connection.py +2 -14
  20. pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
  21. pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
  22. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
  23. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
  24. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
  25. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
  26. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
  27. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
  28. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
  29. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
  30. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
  31. pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
  32. pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
  33. pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
  34. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
  35. pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
  36. pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
  37. pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
  38. pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
  39. pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
  40. pulumi_gcp/cloudrun/_inputs.py +6 -3
  41. pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
  42. pulumi_gcp/cloudrun/outputs.py +4 -2
  43. pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
  44. pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
  45. pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
  46. pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
  47. pulumi_gcp/composer/_inputs.py +6 -6
  48. pulumi_gcp/composer/outputs.py +8 -8
  49. pulumi_gcp/compute/_inputs.py +756 -30
  50. pulumi_gcp/compute/firewall_policy_rule.py +0 -2
  51. pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
  52. pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
  53. pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
  54. pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
  55. pulumi_gcp/compute/get_image_iam_policy.py +2 -2
  56. pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
  57. pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
  58. pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
  59. pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
  60. pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
  61. pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
  62. pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
  63. pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
  64. pulumi_gcp/compute/instance_template.py +14 -35
  65. pulumi_gcp/compute/outputs.py +796 -18
  66. pulumi_gcp/config/__init__.pyi +2 -0
  67. pulumi_gcp/config/vars.py +4 -0
  68. pulumi_gcp/container/_inputs.py +447 -3
  69. pulumi_gcp/container/outputs.py +469 -5
  70. pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
  71. pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
  72. pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
  73. pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
  74. pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
  75. pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
  76. pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
  77. pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
  78. pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
  79. pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
  80. pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
  81. pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
  82. pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
  83. pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
  84. pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
  85. pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
  86. pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
  87. pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
  88. pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
  89. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
  90. pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
  91. pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
  92. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
  93. pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
  94. pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
  95. pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
  96. pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
  97. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
  98. pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
  99. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
  100. pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
  101. pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
  102. pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
  103. pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
  104. pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
  105. pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
  106. pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
  107. pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
  108. pulumi_gcp/eventarc/_inputs.py +29 -8
  109. pulumi_gcp/eventarc/google_channel_config.py +58 -46
  110. pulumi_gcp/eventarc/outputs.py +20 -6
  111. pulumi_gcp/eventarc/trigger.py +95 -72
  112. pulumi_gcp/filestore/backup.py +4 -4
  113. pulumi_gcp/firebase/__init__.py +1 -0
  114. pulumi_gcp/firebase/data_connect_service.py +937 -0
  115. pulumi_gcp/gemini/__init__.py +4 -0
  116. pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -0
  117. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
  118. pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
  119. pulumi_gcp/gemini/logging_setting.py +42 -54
  120. pulumi_gcp/gemini/logging_setting_binding.py +722 -0
  121. pulumi_gcp/gemini/release_channel_setting.py +39 -43
  122. pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
  123. pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
  124. pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
  125. pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
  126. pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
  127. pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
  128. pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
  129. pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
  130. pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
  131. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
  132. pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
  133. pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
  134. pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
  135. pulumi_gcp/iap/get_web_iam_policy.py +2 -2
  136. pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
  137. pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
  138. pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
  139. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
  140. pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
  141. pulumi_gcp/monitoring/_inputs.py +588 -0
  142. pulumi_gcp/monitoring/outputs.py +410 -0
  143. pulumi_gcp/netapp/__init__.py +1 -0
  144. pulumi_gcp/netapp/volume_quota_rule.py +895 -0
  145. pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
  146. pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
  147. pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
  148. pulumi_gcp/networkservices/authz_extension.py +8 -15
  149. pulumi_gcp/networkservices/mesh.py +79 -12
  150. pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
  151. pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
  152. pulumi_gcp/provider.py +20 -0
  153. pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
  154. pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
  155. pulumi_gcp/pulumi-plugin.json +1 -1
  156. pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
  157. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
  158. pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
  159. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
  160. pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
  161. pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
  162. pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
  163. pulumi_gcp/securitycenter/mute_config.py +136 -3
  164. pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
  165. pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
  166. pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
  167. pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
  168. pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
  169. pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
  170. pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
  171. pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
  172. pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
  173. pulumi_gcp/spanner/instance.py +0 -46
  174. pulumi_gcp/sql/_inputs.py +6 -6
  175. pulumi_gcp/sql/outputs.py +4 -4
  176. pulumi_gcp/storage/bucket.py +30 -0
  177. pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
  178. pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
  179. pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
  180. pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
  181. pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
  182. pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
  183. pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
  184. pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
  185. pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
  186. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/METADATA +1 -1
  187. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/RECORD +189 -182
  188. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/WHEEL +0 -0
  189. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/top_level.txt +0 -0
@@ -37,6 +37,20 @@ __all__ = [
37
37
  'AlertPolicyConditionConditionMonitoringQueryLanguageTriggerArgsDict',
38
38
  'AlertPolicyConditionConditionPrometheusQueryLanguageArgs',
39
39
  'AlertPolicyConditionConditionPrometheusQueryLanguageArgsDict',
40
+ 'AlertPolicyConditionConditionSqlArgs',
41
+ 'AlertPolicyConditionConditionSqlArgsDict',
42
+ 'AlertPolicyConditionConditionSqlBooleanTestArgs',
43
+ 'AlertPolicyConditionConditionSqlBooleanTestArgsDict',
44
+ 'AlertPolicyConditionConditionSqlDailyArgs',
45
+ 'AlertPolicyConditionConditionSqlDailyArgsDict',
46
+ 'AlertPolicyConditionConditionSqlDailyExecutionTimeArgs',
47
+ 'AlertPolicyConditionConditionSqlDailyExecutionTimeArgsDict',
48
+ 'AlertPolicyConditionConditionSqlHourlyArgs',
49
+ 'AlertPolicyConditionConditionSqlHourlyArgsDict',
50
+ 'AlertPolicyConditionConditionSqlMinutesArgs',
51
+ 'AlertPolicyConditionConditionSqlMinutesArgsDict',
52
+ 'AlertPolicyConditionConditionSqlRowCountTestArgs',
53
+ 'AlertPolicyConditionConditionSqlRowCountTestArgsDict',
40
54
  'AlertPolicyConditionConditionThresholdArgs',
41
55
  'AlertPolicyConditionConditionThresholdArgsDict',
42
56
  'AlertPolicyConditionConditionThresholdAggregationArgs',
@@ -373,6 +387,13 @@ if not MYPY:
373
387
  from a Prometheus alerting rule and its associated rule group.
374
388
  Structure is documented below.
375
389
  """
390
+ condition_sql: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlArgsDict']]
391
+ """
392
+ A condition that allows alerting policies to be defined using GoogleSQL.
393
+ SQL conditions examine a sliding window of logs using GoogleSQL.
394
+ Alert policies with SQL conditions may incur additional billing.
395
+ Structure is documented below.
396
+ """
376
397
  condition_threshold: NotRequired[pulumi.Input['AlertPolicyConditionConditionThresholdArgsDict']]
377
398
  """
378
399
  A condition that compares a time series against a
@@ -400,6 +421,7 @@ class AlertPolicyConditionArgs:
400
421
  condition_matched_log: Optional[pulumi.Input['AlertPolicyConditionConditionMatchedLogArgs']] = None,
401
422
  condition_monitoring_query_language: Optional[pulumi.Input['AlertPolicyConditionConditionMonitoringQueryLanguageArgs']] = None,
402
423
  condition_prometheus_query_language: Optional[pulumi.Input['AlertPolicyConditionConditionPrometheusQueryLanguageArgs']] = None,
424
+ condition_sql: Optional[pulumi.Input['AlertPolicyConditionConditionSqlArgs']] = None,
403
425
  condition_threshold: Optional[pulumi.Input['AlertPolicyConditionConditionThresholdArgs']] = None,
404
426
  name: Optional[pulumi.Input[str]] = None):
405
427
  """
@@ -421,6 +443,10 @@ class AlertPolicyConditionArgs:
421
443
  The PrometheusQueryLanguageCondition message contains information
422
444
  from a Prometheus alerting rule and its associated rule group.
423
445
  Structure is documented below.
446
+ :param pulumi.Input['AlertPolicyConditionConditionSqlArgs'] condition_sql: A condition that allows alerting policies to be defined using GoogleSQL.
447
+ SQL conditions examine a sliding window of logs using GoogleSQL.
448
+ Alert policies with SQL conditions may incur additional billing.
449
+ Structure is documented below.
424
450
  :param pulumi.Input['AlertPolicyConditionConditionThresholdArgs'] condition_threshold: A condition that compares a time series against a
425
451
  threshold.
426
452
  Structure is documented below.
@@ -441,6 +467,8 @@ class AlertPolicyConditionArgs:
441
467
  pulumi.set(__self__, "condition_monitoring_query_language", condition_monitoring_query_language)
442
468
  if condition_prometheus_query_language is not None:
443
469
  pulumi.set(__self__, "condition_prometheus_query_language", condition_prometheus_query_language)
470
+ if condition_sql is not None:
471
+ pulumi.set(__self__, "condition_sql", condition_sql)
444
472
  if condition_threshold is not None:
445
473
  pulumi.set(__self__, "condition_threshold", condition_threshold)
446
474
  if name is not None:
@@ -519,6 +547,21 @@ class AlertPolicyConditionArgs:
519
547
  def condition_prometheus_query_language(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionPrometheusQueryLanguageArgs']]):
520
548
  pulumi.set(self, "condition_prometheus_query_language", value)
521
549
 
550
+ @property
551
+ @pulumi.getter(name="conditionSql")
552
+ def condition_sql(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlArgs']]:
553
+ """
554
+ A condition that allows alerting policies to be defined using GoogleSQL.
555
+ SQL conditions examine a sliding window of logs using GoogleSQL.
556
+ Alert policies with SQL conditions may incur additional billing.
557
+ Structure is documented below.
558
+ """
559
+ return pulumi.get(self, "condition_sql")
560
+
561
+ @condition_sql.setter
562
+ def condition_sql(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionSqlArgs']]):
563
+ pulumi.set(self, "condition_sql", value)
564
+
522
565
  @property
523
566
  @pulumi.getter(name="conditionThreshold")
524
567
  def condition_threshold(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionThresholdArgs']]:
@@ -1631,6 +1674,551 @@ class AlertPolicyConditionConditionPrometheusQueryLanguageArgs:
1631
1674
  pulumi.set(self, "rule_group", value)
1632
1675
 
1633
1676
 
1677
+ if not MYPY:
1678
+ class AlertPolicyConditionConditionSqlArgsDict(TypedDict):
1679
+ query: pulumi.Input[str]
1680
+ """
1681
+ The Log Analytics SQL query to run, as a string. The query must
1682
+ conform to the required shape. Specifically, the query must not try to
1683
+ filter the input by time. A filter will automatically be applied
1684
+ to filter the input so that the query receives all rows received
1685
+ since the last time the query was run.
1686
+ """
1687
+ boolean_test: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgsDict']]
1688
+ """
1689
+ The start date and time of the query. If left unspecified, then the
1690
+ query will start immediately.
1691
+ Structure is documented below.
1692
+ """
1693
+ daily: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlDailyArgsDict']]
1694
+ """
1695
+ Used to schedule the query to run every so many days.
1696
+ Structure is documented below.
1697
+ """
1698
+ hourly: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlHourlyArgsDict']]
1699
+ """
1700
+ Used to schedule the query to run every so many hours.
1701
+ Structure is documented below.
1702
+ """
1703
+ minutes: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlMinutesArgsDict']]
1704
+ """
1705
+ Used to schedule the query to run every so many minutes.
1706
+ Structure is documented below.
1707
+ """
1708
+ row_count_test: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgsDict']]
1709
+ """
1710
+ Test the row count against a threshold.
1711
+ Structure is documented below.
1712
+ """
1713
+ elif False:
1714
+ AlertPolicyConditionConditionSqlArgsDict: TypeAlias = Mapping[str, Any]
1715
+
1716
+ @pulumi.input_type
1717
+ class AlertPolicyConditionConditionSqlArgs:
1718
+ def __init__(__self__, *,
1719
+ query: pulumi.Input[str],
1720
+ boolean_test: Optional[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs']] = None,
1721
+ daily: Optional[pulumi.Input['AlertPolicyConditionConditionSqlDailyArgs']] = None,
1722
+ hourly: Optional[pulumi.Input['AlertPolicyConditionConditionSqlHourlyArgs']] = None,
1723
+ minutes: Optional[pulumi.Input['AlertPolicyConditionConditionSqlMinutesArgs']] = None,
1724
+ row_count_test: Optional[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs']] = None):
1725
+ """
1726
+ :param pulumi.Input[str] query: The Log Analytics SQL query to run, as a string. The query must
1727
+ conform to the required shape. Specifically, the query must not try to
1728
+ filter the input by time. A filter will automatically be applied
1729
+ to filter the input so that the query receives all rows received
1730
+ since the last time the query was run.
1731
+ :param pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs'] boolean_test: The start date and time of the query. If left unspecified, then the
1732
+ query will start immediately.
1733
+ Structure is documented below.
1734
+ :param pulumi.Input['AlertPolicyConditionConditionSqlDailyArgs'] daily: Used to schedule the query to run every so many days.
1735
+ Structure is documented below.
1736
+ :param pulumi.Input['AlertPolicyConditionConditionSqlHourlyArgs'] hourly: Used to schedule the query to run every so many hours.
1737
+ Structure is documented below.
1738
+ :param pulumi.Input['AlertPolicyConditionConditionSqlMinutesArgs'] minutes: Used to schedule the query to run every so many minutes.
1739
+ Structure is documented below.
1740
+ :param pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs'] row_count_test: Test the row count against a threshold.
1741
+ Structure is documented below.
1742
+ """
1743
+ pulumi.set(__self__, "query", query)
1744
+ if boolean_test is not None:
1745
+ pulumi.set(__self__, "boolean_test", boolean_test)
1746
+ if daily is not None:
1747
+ pulumi.set(__self__, "daily", daily)
1748
+ if hourly is not None:
1749
+ pulumi.set(__self__, "hourly", hourly)
1750
+ if minutes is not None:
1751
+ pulumi.set(__self__, "minutes", minutes)
1752
+ if row_count_test is not None:
1753
+ pulumi.set(__self__, "row_count_test", row_count_test)
1754
+
1755
+ @property
1756
+ @pulumi.getter
1757
+ def query(self) -> pulumi.Input[str]:
1758
+ """
1759
+ The Log Analytics SQL query to run, as a string. The query must
1760
+ conform to the required shape. Specifically, the query must not try to
1761
+ filter the input by time. A filter will automatically be applied
1762
+ to filter the input so that the query receives all rows received
1763
+ since the last time the query was run.
1764
+ """
1765
+ return pulumi.get(self, "query")
1766
+
1767
+ @query.setter
1768
+ def query(self, value: pulumi.Input[str]):
1769
+ pulumi.set(self, "query", value)
1770
+
1771
+ @property
1772
+ @pulumi.getter(name="booleanTest")
1773
+ def boolean_test(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs']]:
1774
+ """
1775
+ The start date and time of the query. If left unspecified, then the
1776
+ query will start immediately.
1777
+ Structure is documented below.
1778
+ """
1779
+ return pulumi.get(self, "boolean_test")
1780
+
1781
+ @boolean_test.setter
1782
+ def boolean_test(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs']]):
1783
+ pulumi.set(self, "boolean_test", value)
1784
+
1785
+ @property
1786
+ @pulumi.getter
1787
+ def daily(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlDailyArgs']]:
1788
+ """
1789
+ Used to schedule the query to run every so many days.
1790
+ Structure is documented below.
1791
+ """
1792
+ return pulumi.get(self, "daily")
1793
+
1794
+ @daily.setter
1795
+ def daily(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionSqlDailyArgs']]):
1796
+ pulumi.set(self, "daily", value)
1797
+
1798
+ @property
1799
+ @pulumi.getter
1800
+ def hourly(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlHourlyArgs']]:
1801
+ """
1802
+ Used to schedule the query to run every so many hours.
1803
+ Structure is documented below.
1804
+ """
1805
+ return pulumi.get(self, "hourly")
1806
+
1807
+ @hourly.setter
1808
+ def hourly(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionSqlHourlyArgs']]):
1809
+ pulumi.set(self, "hourly", value)
1810
+
1811
+ @property
1812
+ @pulumi.getter
1813
+ def minutes(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlMinutesArgs']]:
1814
+ """
1815
+ Used to schedule the query to run every so many minutes.
1816
+ Structure is documented below.
1817
+ """
1818
+ return pulumi.get(self, "minutes")
1819
+
1820
+ @minutes.setter
1821
+ def minutes(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionSqlMinutesArgs']]):
1822
+ pulumi.set(self, "minutes", value)
1823
+
1824
+ @property
1825
+ @pulumi.getter(name="rowCountTest")
1826
+ def row_count_test(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs']]:
1827
+ """
1828
+ Test the row count against a threshold.
1829
+ Structure is documented below.
1830
+ """
1831
+ return pulumi.get(self, "row_count_test")
1832
+
1833
+ @row_count_test.setter
1834
+ def row_count_test(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs']]):
1835
+ pulumi.set(self, "row_count_test", value)
1836
+
1837
+
1838
+ if not MYPY:
1839
+ class AlertPolicyConditionConditionSqlBooleanTestArgsDict(TypedDict):
1840
+ column: pulumi.Input[str]
1841
+ """
1842
+ The name of the column containing the boolean value. If the value
1843
+ in a row is NULL, that row is ignored.
1844
+
1845
+ - - -
1846
+ """
1847
+ elif False:
1848
+ AlertPolicyConditionConditionSqlBooleanTestArgsDict: TypeAlias = Mapping[str, Any]
1849
+
1850
+ @pulumi.input_type
1851
+ class AlertPolicyConditionConditionSqlBooleanTestArgs:
1852
+ def __init__(__self__, *,
1853
+ column: pulumi.Input[str]):
1854
+ """
1855
+ :param pulumi.Input[str] column: The name of the column containing the boolean value. If the value
1856
+ in a row is NULL, that row is ignored.
1857
+
1858
+ - - -
1859
+ """
1860
+ pulumi.set(__self__, "column", column)
1861
+
1862
+ @property
1863
+ @pulumi.getter
1864
+ def column(self) -> pulumi.Input[str]:
1865
+ """
1866
+ The name of the column containing the boolean value. If the value
1867
+ in a row is NULL, that row is ignored.
1868
+
1869
+ - - -
1870
+ """
1871
+ return pulumi.get(self, "column")
1872
+
1873
+ @column.setter
1874
+ def column(self, value: pulumi.Input[str]):
1875
+ pulumi.set(self, "column", value)
1876
+
1877
+
1878
+ if not MYPY:
1879
+ class AlertPolicyConditionConditionSqlDailyArgsDict(TypedDict):
1880
+ periodicity: pulumi.Input[int]
1881
+ """
1882
+ The number of days between runs. Must be greater than or equal
1883
+ to 1 day and less than or equal to 30 days.
1884
+ """
1885
+ execution_time: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlDailyExecutionTimeArgsDict']]
1886
+ """
1887
+ The time of day (in UTC) at which the query should run. If left
1888
+ unspecified, the server picks an arbitrary time of day and runs
1889
+ the query at the same time each day.
1890
+ Structure is documented below.
1891
+ """
1892
+ elif False:
1893
+ AlertPolicyConditionConditionSqlDailyArgsDict: TypeAlias = Mapping[str, Any]
1894
+
1895
+ @pulumi.input_type
1896
+ class AlertPolicyConditionConditionSqlDailyArgs:
1897
+ def __init__(__self__, *,
1898
+ periodicity: pulumi.Input[int],
1899
+ execution_time: Optional[pulumi.Input['AlertPolicyConditionConditionSqlDailyExecutionTimeArgs']] = None):
1900
+ """
1901
+ :param pulumi.Input[int] periodicity: The number of days between runs. Must be greater than or equal
1902
+ to 1 day and less than or equal to 30 days.
1903
+ :param pulumi.Input['AlertPolicyConditionConditionSqlDailyExecutionTimeArgs'] execution_time: The time of day (in UTC) at which the query should run. If left
1904
+ unspecified, the server picks an arbitrary time of day and runs
1905
+ the query at the same time each day.
1906
+ Structure is documented below.
1907
+ """
1908
+ pulumi.set(__self__, "periodicity", periodicity)
1909
+ if execution_time is not None:
1910
+ pulumi.set(__self__, "execution_time", execution_time)
1911
+
1912
+ @property
1913
+ @pulumi.getter
1914
+ def periodicity(self) -> pulumi.Input[int]:
1915
+ """
1916
+ The number of days between runs. Must be greater than or equal
1917
+ to 1 day and less than or equal to 30 days.
1918
+ """
1919
+ return pulumi.get(self, "periodicity")
1920
+
1921
+ @periodicity.setter
1922
+ def periodicity(self, value: pulumi.Input[int]):
1923
+ pulumi.set(self, "periodicity", value)
1924
+
1925
+ @property
1926
+ @pulumi.getter(name="executionTime")
1927
+ def execution_time(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlDailyExecutionTimeArgs']]:
1928
+ """
1929
+ The time of day (in UTC) at which the query should run. If left
1930
+ unspecified, the server picks an arbitrary time of day and runs
1931
+ the query at the same time each day.
1932
+ Structure is documented below.
1933
+ """
1934
+ return pulumi.get(self, "execution_time")
1935
+
1936
+ @execution_time.setter
1937
+ def execution_time(self, value: Optional[pulumi.Input['AlertPolicyConditionConditionSqlDailyExecutionTimeArgs']]):
1938
+ pulumi.set(self, "execution_time", value)
1939
+
1940
+
1941
+ if not MYPY:
1942
+ class AlertPolicyConditionConditionSqlDailyExecutionTimeArgsDict(TypedDict):
1943
+ hours: NotRequired[pulumi.Input[int]]
1944
+ """
1945
+ Hours of a day in 24 hour format. Must be greater than or equal
1946
+ to 0 and typically must be less than or equal to 23. An API may
1947
+ choose to allow the value "24:00:00" for scenarios like business
1948
+ closing time.
1949
+ """
1950
+ minutes: NotRequired[pulumi.Input[int]]
1951
+ """
1952
+ Minutes of an hour. Must be greater than or equal to 0 and
1953
+ less than or equal to 59.
1954
+ """
1955
+ nanos: NotRequired[pulumi.Input[int]]
1956
+ """
1957
+ Fractions of seconds, in nanoseconds. Must be greater than or
1958
+ equal to 0 and less than or equal to 999,999,999.
1959
+ """
1960
+ seconds: NotRequired[pulumi.Input[int]]
1961
+ """
1962
+ Seconds of a minute. Must be greater than or equal to 0 and
1963
+ typically must be less than or equal to 59. An API may allow the
1964
+ value 60 if it allows leap-seconds.
1965
+ """
1966
+ elif False:
1967
+ AlertPolicyConditionConditionSqlDailyExecutionTimeArgsDict: TypeAlias = Mapping[str, Any]
1968
+
1969
+ @pulumi.input_type
1970
+ class AlertPolicyConditionConditionSqlDailyExecutionTimeArgs:
1971
+ def __init__(__self__, *,
1972
+ hours: Optional[pulumi.Input[int]] = None,
1973
+ minutes: Optional[pulumi.Input[int]] = None,
1974
+ nanos: Optional[pulumi.Input[int]] = None,
1975
+ seconds: Optional[pulumi.Input[int]] = None):
1976
+ """
1977
+ :param pulumi.Input[int] hours: Hours of a day in 24 hour format. Must be greater than or equal
1978
+ to 0 and typically must be less than or equal to 23. An API may
1979
+ choose to allow the value "24:00:00" for scenarios like business
1980
+ closing time.
1981
+ :param pulumi.Input[int] minutes: Minutes of an hour. Must be greater than or equal to 0 and
1982
+ less than or equal to 59.
1983
+ :param pulumi.Input[int] nanos: Fractions of seconds, in nanoseconds. Must be greater than or
1984
+ equal to 0 and less than or equal to 999,999,999.
1985
+ :param pulumi.Input[int] seconds: Seconds of a minute. Must be greater than or equal to 0 and
1986
+ typically must be less than or equal to 59. An API may allow the
1987
+ value 60 if it allows leap-seconds.
1988
+ """
1989
+ if hours is not None:
1990
+ pulumi.set(__self__, "hours", hours)
1991
+ if minutes is not None:
1992
+ pulumi.set(__self__, "minutes", minutes)
1993
+ if nanos is not None:
1994
+ pulumi.set(__self__, "nanos", nanos)
1995
+ if seconds is not None:
1996
+ pulumi.set(__self__, "seconds", seconds)
1997
+
1998
+ @property
1999
+ @pulumi.getter
2000
+ def hours(self) -> Optional[pulumi.Input[int]]:
2001
+ """
2002
+ Hours of a day in 24 hour format. Must be greater than or equal
2003
+ to 0 and typically must be less than or equal to 23. An API may
2004
+ choose to allow the value "24:00:00" for scenarios like business
2005
+ closing time.
2006
+ """
2007
+ return pulumi.get(self, "hours")
2008
+
2009
+ @hours.setter
2010
+ def hours(self, value: Optional[pulumi.Input[int]]):
2011
+ pulumi.set(self, "hours", value)
2012
+
2013
+ @property
2014
+ @pulumi.getter
2015
+ def minutes(self) -> Optional[pulumi.Input[int]]:
2016
+ """
2017
+ Minutes of an hour. Must be greater than or equal to 0 and
2018
+ less than or equal to 59.
2019
+ """
2020
+ return pulumi.get(self, "minutes")
2021
+
2022
+ @minutes.setter
2023
+ def minutes(self, value: Optional[pulumi.Input[int]]):
2024
+ pulumi.set(self, "minutes", value)
2025
+
2026
+ @property
2027
+ @pulumi.getter
2028
+ def nanos(self) -> Optional[pulumi.Input[int]]:
2029
+ """
2030
+ Fractions of seconds, in nanoseconds. Must be greater than or
2031
+ equal to 0 and less than or equal to 999,999,999.
2032
+ """
2033
+ return pulumi.get(self, "nanos")
2034
+
2035
+ @nanos.setter
2036
+ def nanos(self, value: Optional[pulumi.Input[int]]):
2037
+ pulumi.set(self, "nanos", value)
2038
+
2039
+ @property
2040
+ @pulumi.getter
2041
+ def seconds(self) -> Optional[pulumi.Input[int]]:
2042
+ """
2043
+ Seconds of a minute. Must be greater than or equal to 0 and
2044
+ typically must be less than or equal to 59. An API may allow the
2045
+ value 60 if it allows leap-seconds.
2046
+ """
2047
+ return pulumi.get(self, "seconds")
2048
+
2049
+ @seconds.setter
2050
+ def seconds(self, value: Optional[pulumi.Input[int]]):
2051
+ pulumi.set(self, "seconds", value)
2052
+
2053
+
2054
+ if not MYPY:
2055
+ class AlertPolicyConditionConditionSqlHourlyArgsDict(TypedDict):
2056
+ periodicity: pulumi.Input[int]
2057
+ """
2058
+ Number of hours between runs. The interval must be greater than or
2059
+ equal to 1 hour and less than or equal to 48 hours.
2060
+ """
2061
+ minute_offset: NotRequired[pulumi.Input[int]]
2062
+ """
2063
+ The number of minutes after the hour (in UTC) to run the query.
2064
+ Must be greater than or equal to 0 minutes and less than or equal to
2065
+ 59 minutes. If left unspecified, then an arbitrary offset is used.
2066
+ """
2067
+ elif False:
2068
+ AlertPolicyConditionConditionSqlHourlyArgsDict: TypeAlias = Mapping[str, Any]
2069
+
2070
+ @pulumi.input_type
2071
+ class AlertPolicyConditionConditionSqlHourlyArgs:
2072
+ def __init__(__self__, *,
2073
+ periodicity: pulumi.Input[int],
2074
+ minute_offset: Optional[pulumi.Input[int]] = None):
2075
+ """
2076
+ :param pulumi.Input[int] periodicity: Number of hours between runs. The interval must be greater than or
2077
+ equal to 1 hour and less than or equal to 48 hours.
2078
+ :param pulumi.Input[int] minute_offset: The number of minutes after the hour (in UTC) to run the query.
2079
+ Must be greater than or equal to 0 minutes and less than or equal to
2080
+ 59 minutes. If left unspecified, then an arbitrary offset is used.
2081
+ """
2082
+ pulumi.set(__self__, "periodicity", periodicity)
2083
+ if minute_offset is not None:
2084
+ pulumi.set(__self__, "minute_offset", minute_offset)
2085
+
2086
+ @property
2087
+ @pulumi.getter
2088
+ def periodicity(self) -> pulumi.Input[int]:
2089
+ """
2090
+ Number of hours between runs. The interval must be greater than or
2091
+ equal to 1 hour and less than or equal to 48 hours.
2092
+ """
2093
+ return pulumi.get(self, "periodicity")
2094
+
2095
+ @periodicity.setter
2096
+ def periodicity(self, value: pulumi.Input[int]):
2097
+ pulumi.set(self, "periodicity", value)
2098
+
2099
+ @property
2100
+ @pulumi.getter(name="minuteOffset")
2101
+ def minute_offset(self) -> Optional[pulumi.Input[int]]:
2102
+ """
2103
+ The number of minutes after the hour (in UTC) to run the query.
2104
+ Must be greater than or equal to 0 minutes and less than or equal to
2105
+ 59 minutes. If left unspecified, then an arbitrary offset is used.
2106
+ """
2107
+ return pulumi.get(self, "minute_offset")
2108
+
2109
+ @minute_offset.setter
2110
+ def minute_offset(self, value: Optional[pulumi.Input[int]]):
2111
+ pulumi.set(self, "minute_offset", value)
2112
+
2113
+
2114
+ if not MYPY:
2115
+ class AlertPolicyConditionConditionSqlMinutesArgsDict(TypedDict):
2116
+ periodicity: pulumi.Input[int]
2117
+ """
2118
+ Number of minutes between runs. The interval must be greater than or
2119
+ equal to 5 minutes and less than or equal to 1440 minutes.
2120
+ """
2121
+ elif False:
2122
+ AlertPolicyConditionConditionSqlMinutesArgsDict: TypeAlias = Mapping[str, Any]
2123
+
2124
+ @pulumi.input_type
2125
+ class AlertPolicyConditionConditionSqlMinutesArgs:
2126
+ def __init__(__self__, *,
2127
+ periodicity: pulumi.Input[int]):
2128
+ """
2129
+ :param pulumi.Input[int] periodicity: Number of minutes between runs. The interval must be greater than or
2130
+ equal to 5 minutes and less than or equal to 1440 minutes.
2131
+ """
2132
+ pulumi.set(__self__, "periodicity", periodicity)
2133
+
2134
+ @property
2135
+ @pulumi.getter
2136
+ def periodicity(self) -> pulumi.Input[int]:
2137
+ """
2138
+ Number of minutes between runs. The interval must be greater than or
2139
+ equal to 5 minutes and less than or equal to 1440 minutes.
2140
+ """
2141
+ return pulumi.get(self, "periodicity")
2142
+
2143
+ @periodicity.setter
2144
+ def periodicity(self, value: pulumi.Input[int]):
2145
+ pulumi.set(self, "periodicity", value)
2146
+
2147
+
2148
+ if not MYPY:
2149
+ class AlertPolicyConditionConditionSqlRowCountTestArgsDict(TypedDict):
2150
+ comparison: pulumi.Input[str]
2151
+ """
2152
+ The comparison to apply between the time
2153
+ series (indicated by filter and aggregation)
2154
+ and the threshold (indicated by
2155
+ threshold_value). The comparison is applied
2156
+ on each time series, with the time series on
2157
+ the left-hand side and the threshold on the
2158
+ right-hand side. Only COMPARISON_LT and
2159
+ COMPARISON_GT are supported currently.
2160
+ Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
2161
+ """
2162
+ threshold: pulumi.Input[int]
2163
+ """
2164
+ Test the boolean value in the indicated column.
2165
+ """
2166
+ elif False:
2167
+ AlertPolicyConditionConditionSqlRowCountTestArgsDict: TypeAlias = Mapping[str, Any]
2168
+
2169
+ @pulumi.input_type
2170
+ class AlertPolicyConditionConditionSqlRowCountTestArgs:
2171
+ def __init__(__self__, *,
2172
+ comparison: pulumi.Input[str],
2173
+ threshold: pulumi.Input[int]):
2174
+ """
2175
+ :param pulumi.Input[str] comparison: The comparison to apply between the time
2176
+ series (indicated by filter and aggregation)
2177
+ and the threshold (indicated by
2178
+ threshold_value). The comparison is applied
2179
+ on each time series, with the time series on
2180
+ the left-hand side and the threshold on the
2181
+ right-hand side. Only COMPARISON_LT and
2182
+ COMPARISON_GT are supported currently.
2183
+ Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
2184
+ :param pulumi.Input[int] threshold: Test the boolean value in the indicated column.
2185
+ """
2186
+ pulumi.set(__self__, "comparison", comparison)
2187
+ pulumi.set(__self__, "threshold", threshold)
2188
+
2189
+ @property
2190
+ @pulumi.getter
2191
+ def comparison(self) -> pulumi.Input[str]:
2192
+ """
2193
+ The comparison to apply between the time
2194
+ series (indicated by filter and aggregation)
2195
+ and the threshold (indicated by
2196
+ threshold_value). The comparison is applied
2197
+ on each time series, with the time series on
2198
+ the left-hand side and the threshold on the
2199
+ right-hand side. Only COMPARISON_LT and
2200
+ COMPARISON_GT are supported currently.
2201
+ Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
2202
+ """
2203
+ return pulumi.get(self, "comparison")
2204
+
2205
+ @comparison.setter
2206
+ def comparison(self, value: pulumi.Input[str]):
2207
+ pulumi.set(self, "comparison", value)
2208
+
2209
+ @property
2210
+ @pulumi.getter
2211
+ def threshold(self) -> pulumi.Input[int]:
2212
+ """
2213
+ Test the boolean value in the indicated column.
2214
+ """
2215
+ return pulumi.get(self, "threshold")
2216
+
2217
+ @threshold.setter
2218
+ def threshold(self, value: pulumi.Input[int]):
2219
+ pulumi.set(self, "threshold", value)
2220
+
2221
+
1634
2222
  if not MYPY:
1635
2223
  class AlertPolicyConditionConditionThresholdArgsDict(TypedDict):
1636
2224
  comparison: pulumi.Input[str]