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.
- pulumi_gcp/__init__.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
- pulumi_gcp/accesscontextmanager/outputs.py +104 -8
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/get_instance.py +466 -0
- pulumi_gcp/alloydb/outputs.py +352 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
- pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
- pulumi_gcp/bigquery/connection.py +2 -14
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
- pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +6 -3
- pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/outputs.py +4 -2
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
- pulumi_gcp/composer/_inputs.py +6 -6
- pulumi_gcp/composer/outputs.py +8 -8
- pulumi_gcp/compute/_inputs.py +756 -30
- pulumi_gcp/compute/firewall_policy_rule.py +0 -2
- pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
- pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
- pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
- pulumi_gcp/compute/get_image_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
- pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
- pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
- pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
- pulumi_gcp/compute/instance_template.py +14 -35
- pulumi_gcp/compute/outputs.py +796 -18
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +447 -3
- pulumi_gcp/container/outputs.py +469 -5
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
- pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
- pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
- pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +29 -8
- pulumi_gcp/eventarc/google_channel_config.py +58 -46
- pulumi_gcp/eventarc/outputs.py +20 -6
- pulumi_gcp/eventarc/trigger.py +95 -72
- pulumi_gcp/filestore/backup.py +4 -4
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/data_connect_service.py +937 -0
- pulumi_gcp/gemini/__init__.py +4 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
- pulumi_gcp/gemini/logging_setting.py +42 -54
- pulumi_gcp/gemini/logging_setting_binding.py +722 -0
- pulumi_gcp/gemini/release_channel_setting.py +39 -43
- pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
- pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
- pulumi_gcp/monitoring/_inputs.py +588 -0
- pulumi_gcp/monitoring/outputs.py +410 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/volume_quota_rule.py +895 -0
- pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
- pulumi_gcp/networkservices/authz_extension.py +8 -15
- pulumi_gcp/networkservices/mesh.py +79 -12
- pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
- pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/mute_config.py +136 -3
- pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
- pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
- pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
- pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
- pulumi_gcp/spanner/instance.py +0 -46
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/storage/bucket.py +30 -0
- pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
- pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
- pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/RECORD +189 -182
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740033009.dist-info}/top_level.txt +0 -0
pulumi_gcp/monitoring/outputs.py
CHANGED
@@ -27,6 +27,13 @@ __all__ = [
|
|
27
27
|
'AlertPolicyConditionConditionMonitoringQueryLanguage',
|
28
28
|
'AlertPolicyConditionConditionMonitoringQueryLanguageTrigger',
|
29
29
|
'AlertPolicyConditionConditionPrometheusQueryLanguage',
|
30
|
+
'AlertPolicyConditionConditionSql',
|
31
|
+
'AlertPolicyConditionConditionSqlBooleanTest',
|
32
|
+
'AlertPolicyConditionConditionSqlDaily',
|
33
|
+
'AlertPolicyConditionConditionSqlDailyExecutionTime',
|
34
|
+
'AlertPolicyConditionConditionSqlHourly',
|
35
|
+
'AlertPolicyConditionConditionSqlMinutes',
|
36
|
+
'AlertPolicyConditionConditionSqlRowCountTest',
|
30
37
|
'AlertPolicyConditionConditionThreshold',
|
31
38
|
'AlertPolicyConditionConditionThresholdAggregation',
|
32
39
|
'AlertPolicyConditionConditionThresholdDenominatorAggregation',
|
@@ -262,6 +269,8 @@ class AlertPolicyCondition(dict):
|
|
262
269
|
suggest = "condition_monitoring_query_language"
|
263
270
|
elif key == "conditionPrometheusQueryLanguage":
|
264
271
|
suggest = "condition_prometheus_query_language"
|
272
|
+
elif key == "conditionSql":
|
273
|
+
suggest = "condition_sql"
|
265
274
|
elif key == "conditionThreshold":
|
266
275
|
suggest = "condition_threshold"
|
267
276
|
|
@@ -282,6 +291,7 @@ class AlertPolicyCondition(dict):
|
|
282
291
|
condition_matched_log: Optional['outputs.AlertPolicyConditionConditionMatchedLog'] = None,
|
283
292
|
condition_monitoring_query_language: Optional['outputs.AlertPolicyConditionConditionMonitoringQueryLanguage'] = None,
|
284
293
|
condition_prometheus_query_language: Optional['outputs.AlertPolicyConditionConditionPrometheusQueryLanguage'] = None,
|
294
|
+
condition_sql: Optional['outputs.AlertPolicyConditionConditionSql'] = None,
|
285
295
|
condition_threshold: Optional['outputs.AlertPolicyConditionConditionThreshold'] = None,
|
286
296
|
name: Optional[str] = None):
|
287
297
|
"""
|
@@ -303,6 +313,10 @@ class AlertPolicyCondition(dict):
|
|
303
313
|
The PrometheusQueryLanguageCondition message contains information
|
304
314
|
from a Prometheus alerting rule and its associated rule group.
|
305
315
|
Structure is documented below.
|
316
|
+
:param 'AlertPolicyConditionConditionSqlArgs' condition_sql: A condition that allows alerting policies to be defined using GoogleSQL.
|
317
|
+
SQL conditions examine a sliding window of logs using GoogleSQL.
|
318
|
+
Alert policies with SQL conditions may incur additional billing.
|
319
|
+
Structure is documented below.
|
306
320
|
:param 'AlertPolicyConditionConditionThresholdArgs' condition_threshold: A condition that compares a time series against a
|
307
321
|
threshold.
|
308
322
|
Structure is documented below.
|
@@ -323,6 +337,8 @@ class AlertPolicyCondition(dict):
|
|
323
337
|
pulumi.set(__self__, "condition_monitoring_query_language", condition_monitoring_query_language)
|
324
338
|
if condition_prometheus_query_language is not None:
|
325
339
|
pulumi.set(__self__, "condition_prometheus_query_language", condition_prometheus_query_language)
|
340
|
+
if condition_sql is not None:
|
341
|
+
pulumi.set(__self__, "condition_sql", condition_sql)
|
326
342
|
if condition_threshold is not None:
|
327
343
|
pulumi.set(__self__, "condition_threshold", condition_threshold)
|
328
344
|
if name is not None:
|
@@ -381,6 +397,17 @@ class AlertPolicyCondition(dict):
|
|
381
397
|
"""
|
382
398
|
return pulumi.get(self, "condition_prometheus_query_language")
|
383
399
|
|
400
|
+
@property
|
401
|
+
@pulumi.getter(name="conditionSql")
|
402
|
+
def condition_sql(self) -> Optional['outputs.AlertPolicyConditionConditionSql']:
|
403
|
+
"""
|
404
|
+
A condition that allows alerting policies to be defined using GoogleSQL.
|
405
|
+
SQL conditions examine a sliding window of logs using GoogleSQL.
|
406
|
+
Alert policies with SQL conditions may incur additional billing.
|
407
|
+
Structure is documented below.
|
408
|
+
"""
|
409
|
+
return pulumi.get(self, "condition_sql")
|
410
|
+
|
384
411
|
@property
|
385
412
|
@pulumi.getter(name="conditionThreshold")
|
386
413
|
def condition_threshold(self) -> Optional['outputs.AlertPolicyConditionConditionThreshold']:
|
@@ -1164,6 +1191,389 @@ class AlertPolicyConditionConditionPrometheusQueryLanguage(dict):
|
|
1164
1191
|
return pulumi.get(self, "rule_group")
|
1165
1192
|
|
1166
1193
|
|
1194
|
+
@pulumi.output_type
|
1195
|
+
class AlertPolicyConditionConditionSql(dict):
|
1196
|
+
@staticmethod
|
1197
|
+
def __key_warning(key: str):
|
1198
|
+
suggest = None
|
1199
|
+
if key == "booleanTest":
|
1200
|
+
suggest = "boolean_test"
|
1201
|
+
elif key == "rowCountTest":
|
1202
|
+
suggest = "row_count_test"
|
1203
|
+
|
1204
|
+
if suggest:
|
1205
|
+
pulumi.log.warn(f"Key '{key}' not found in AlertPolicyConditionConditionSql. Access the value via the '{suggest}' property getter instead.")
|
1206
|
+
|
1207
|
+
def __getitem__(self, key: str) -> Any:
|
1208
|
+
AlertPolicyConditionConditionSql.__key_warning(key)
|
1209
|
+
return super().__getitem__(key)
|
1210
|
+
|
1211
|
+
def get(self, key: str, default = None) -> Any:
|
1212
|
+
AlertPolicyConditionConditionSql.__key_warning(key)
|
1213
|
+
return super().get(key, default)
|
1214
|
+
|
1215
|
+
def __init__(__self__, *,
|
1216
|
+
query: str,
|
1217
|
+
boolean_test: Optional['outputs.AlertPolicyConditionConditionSqlBooleanTest'] = None,
|
1218
|
+
daily: Optional['outputs.AlertPolicyConditionConditionSqlDaily'] = None,
|
1219
|
+
hourly: Optional['outputs.AlertPolicyConditionConditionSqlHourly'] = None,
|
1220
|
+
minutes: Optional['outputs.AlertPolicyConditionConditionSqlMinutes'] = None,
|
1221
|
+
row_count_test: Optional['outputs.AlertPolicyConditionConditionSqlRowCountTest'] = None):
|
1222
|
+
"""
|
1223
|
+
:param str query: The Log Analytics SQL query to run, as a string. The query must
|
1224
|
+
conform to the required shape. Specifically, the query must not try to
|
1225
|
+
filter the input by time. A filter will automatically be applied
|
1226
|
+
to filter the input so that the query receives all rows received
|
1227
|
+
since the last time the query was run.
|
1228
|
+
:param 'AlertPolicyConditionConditionSqlBooleanTestArgs' boolean_test: The start date and time of the query. If left unspecified, then the
|
1229
|
+
query will start immediately.
|
1230
|
+
Structure is documented below.
|
1231
|
+
:param 'AlertPolicyConditionConditionSqlDailyArgs' daily: Used to schedule the query to run every so many days.
|
1232
|
+
Structure is documented below.
|
1233
|
+
:param 'AlertPolicyConditionConditionSqlHourlyArgs' hourly: Used to schedule the query to run every so many hours.
|
1234
|
+
Structure is documented below.
|
1235
|
+
:param 'AlertPolicyConditionConditionSqlMinutesArgs' minutes: Used to schedule the query to run every so many minutes.
|
1236
|
+
Structure is documented below.
|
1237
|
+
:param 'AlertPolicyConditionConditionSqlRowCountTestArgs' row_count_test: Test the row count against a threshold.
|
1238
|
+
Structure is documented below.
|
1239
|
+
"""
|
1240
|
+
pulumi.set(__self__, "query", query)
|
1241
|
+
if boolean_test is not None:
|
1242
|
+
pulumi.set(__self__, "boolean_test", boolean_test)
|
1243
|
+
if daily is not None:
|
1244
|
+
pulumi.set(__self__, "daily", daily)
|
1245
|
+
if hourly is not None:
|
1246
|
+
pulumi.set(__self__, "hourly", hourly)
|
1247
|
+
if minutes is not None:
|
1248
|
+
pulumi.set(__self__, "minutes", minutes)
|
1249
|
+
if row_count_test is not None:
|
1250
|
+
pulumi.set(__self__, "row_count_test", row_count_test)
|
1251
|
+
|
1252
|
+
@property
|
1253
|
+
@pulumi.getter
|
1254
|
+
def query(self) -> str:
|
1255
|
+
"""
|
1256
|
+
The Log Analytics SQL query to run, as a string. The query must
|
1257
|
+
conform to the required shape. Specifically, the query must not try to
|
1258
|
+
filter the input by time. A filter will automatically be applied
|
1259
|
+
to filter the input so that the query receives all rows received
|
1260
|
+
since the last time the query was run.
|
1261
|
+
"""
|
1262
|
+
return pulumi.get(self, "query")
|
1263
|
+
|
1264
|
+
@property
|
1265
|
+
@pulumi.getter(name="booleanTest")
|
1266
|
+
def boolean_test(self) -> Optional['outputs.AlertPolicyConditionConditionSqlBooleanTest']:
|
1267
|
+
"""
|
1268
|
+
The start date and time of the query. If left unspecified, then the
|
1269
|
+
query will start immediately.
|
1270
|
+
Structure is documented below.
|
1271
|
+
"""
|
1272
|
+
return pulumi.get(self, "boolean_test")
|
1273
|
+
|
1274
|
+
@property
|
1275
|
+
@pulumi.getter
|
1276
|
+
def daily(self) -> Optional['outputs.AlertPolicyConditionConditionSqlDaily']:
|
1277
|
+
"""
|
1278
|
+
Used to schedule the query to run every so many days.
|
1279
|
+
Structure is documented below.
|
1280
|
+
"""
|
1281
|
+
return pulumi.get(self, "daily")
|
1282
|
+
|
1283
|
+
@property
|
1284
|
+
@pulumi.getter
|
1285
|
+
def hourly(self) -> Optional['outputs.AlertPolicyConditionConditionSqlHourly']:
|
1286
|
+
"""
|
1287
|
+
Used to schedule the query to run every so many hours.
|
1288
|
+
Structure is documented below.
|
1289
|
+
"""
|
1290
|
+
return pulumi.get(self, "hourly")
|
1291
|
+
|
1292
|
+
@property
|
1293
|
+
@pulumi.getter
|
1294
|
+
def minutes(self) -> Optional['outputs.AlertPolicyConditionConditionSqlMinutes']:
|
1295
|
+
"""
|
1296
|
+
Used to schedule the query to run every so many minutes.
|
1297
|
+
Structure is documented below.
|
1298
|
+
"""
|
1299
|
+
return pulumi.get(self, "minutes")
|
1300
|
+
|
1301
|
+
@property
|
1302
|
+
@pulumi.getter(name="rowCountTest")
|
1303
|
+
def row_count_test(self) -> Optional['outputs.AlertPolicyConditionConditionSqlRowCountTest']:
|
1304
|
+
"""
|
1305
|
+
Test the row count against a threshold.
|
1306
|
+
Structure is documented below.
|
1307
|
+
"""
|
1308
|
+
return pulumi.get(self, "row_count_test")
|
1309
|
+
|
1310
|
+
|
1311
|
+
@pulumi.output_type
|
1312
|
+
class AlertPolicyConditionConditionSqlBooleanTest(dict):
|
1313
|
+
def __init__(__self__, *,
|
1314
|
+
column: str):
|
1315
|
+
"""
|
1316
|
+
:param str column: The name of the column containing the boolean value. If the value
|
1317
|
+
in a row is NULL, that row is ignored.
|
1318
|
+
|
1319
|
+
- - -
|
1320
|
+
"""
|
1321
|
+
pulumi.set(__self__, "column", column)
|
1322
|
+
|
1323
|
+
@property
|
1324
|
+
@pulumi.getter
|
1325
|
+
def column(self) -> str:
|
1326
|
+
"""
|
1327
|
+
The name of the column containing the boolean value. If the value
|
1328
|
+
in a row is NULL, that row is ignored.
|
1329
|
+
|
1330
|
+
- - -
|
1331
|
+
"""
|
1332
|
+
return pulumi.get(self, "column")
|
1333
|
+
|
1334
|
+
|
1335
|
+
@pulumi.output_type
|
1336
|
+
class AlertPolicyConditionConditionSqlDaily(dict):
|
1337
|
+
@staticmethod
|
1338
|
+
def __key_warning(key: str):
|
1339
|
+
suggest = None
|
1340
|
+
if key == "executionTime":
|
1341
|
+
suggest = "execution_time"
|
1342
|
+
|
1343
|
+
if suggest:
|
1344
|
+
pulumi.log.warn(f"Key '{key}' not found in AlertPolicyConditionConditionSqlDaily. Access the value via the '{suggest}' property getter instead.")
|
1345
|
+
|
1346
|
+
def __getitem__(self, key: str) -> Any:
|
1347
|
+
AlertPolicyConditionConditionSqlDaily.__key_warning(key)
|
1348
|
+
return super().__getitem__(key)
|
1349
|
+
|
1350
|
+
def get(self, key: str, default = None) -> Any:
|
1351
|
+
AlertPolicyConditionConditionSqlDaily.__key_warning(key)
|
1352
|
+
return super().get(key, default)
|
1353
|
+
|
1354
|
+
def __init__(__self__, *,
|
1355
|
+
periodicity: int,
|
1356
|
+
execution_time: Optional['outputs.AlertPolicyConditionConditionSqlDailyExecutionTime'] = None):
|
1357
|
+
"""
|
1358
|
+
:param int periodicity: The number of days between runs. Must be greater than or equal
|
1359
|
+
to 1 day and less than or equal to 30 days.
|
1360
|
+
:param 'AlertPolicyConditionConditionSqlDailyExecutionTimeArgs' execution_time: The time of day (in UTC) at which the query should run. If left
|
1361
|
+
unspecified, the server picks an arbitrary time of day and runs
|
1362
|
+
the query at the same time each day.
|
1363
|
+
Structure is documented below.
|
1364
|
+
"""
|
1365
|
+
pulumi.set(__self__, "periodicity", periodicity)
|
1366
|
+
if execution_time is not None:
|
1367
|
+
pulumi.set(__self__, "execution_time", execution_time)
|
1368
|
+
|
1369
|
+
@property
|
1370
|
+
@pulumi.getter
|
1371
|
+
def periodicity(self) -> int:
|
1372
|
+
"""
|
1373
|
+
The number of days between runs. Must be greater than or equal
|
1374
|
+
to 1 day and less than or equal to 30 days.
|
1375
|
+
"""
|
1376
|
+
return pulumi.get(self, "periodicity")
|
1377
|
+
|
1378
|
+
@property
|
1379
|
+
@pulumi.getter(name="executionTime")
|
1380
|
+
def execution_time(self) -> Optional['outputs.AlertPolicyConditionConditionSqlDailyExecutionTime']:
|
1381
|
+
"""
|
1382
|
+
The time of day (in UTC) at which the query should run. If left
|
1383
|
+
unspecified, the server picks an arbitrary time of day and runs
|
1384
|
+
the query at the same time each day.
|
1385
|
+
Structure is documented below.
|
1386
|
+
"""
|
1387
|
+
return pulumi.get(self, "execution_time")
|
1388
|
+
|
1389
|
+
|
1390
|
+
@pulumi.output_type
|
1391
|
+
class AlertPolicyConditionConditionSqlDailyExecutionTime(dict):
|
1392
|
+
def __init__(__self__, *,
|
1393
|
+
hours: Optional[int] = None,
|
1394
|
+
minutes: Optional[int] = None,
|
1395
|
+
nanos: Optional[int] = None,
|
1396
|
+
seconds: Optional[int] = None):
|
1397
|
+
"""
|
1398
|
+
:param int hours: Hours of a day in 24 hour format. Must be greater than or equal
|
1399
|
+
to 0 and typically must be less than or equal to 23. An API may
|
1400
|
+
choose to allow the value "24:00:00" for scenarios like business
|
1401
|
+
closing time.
|
1402
|
+
:param int minutes: Minutes of an hour. Must be greater than or equal to 0 and
|
1403
|
+
less than or equal to 59.
|
1404
|
+
:param int nanos: Fractions of seconds, in nanoseconds. Must be greater than or
|
1405
|
+
equal to 0 and less than or equal to 999,999,999.
|
1406
|
+
:param int seconds: Seconds of a minute. Must be greater than or equal to 0 and
|
1407
|
+
typically must be less than or equal to 59. An API may allow the
|
1408
|
+
value 60 if it allows leap-seconds.
|
1409
|
+
"""
|
1410
|
+
if hours is not None:
|
1411
|
+
pulumi.set(__self__, "hours", hours)
|
1412
|
+
if minutes is not None:
|
1413
|
+
pulumi.set(__self__, "minutes", minutes)
|
1414
|
+
if nanos is not None:
|
1415
|
+
pulumi.set(__self__, "nanos", nanos)
|
1416
|
+
if seconds is not None:
|
1417
|
+
pulumi.set(__self__, "seconds", seconds)
|
1418
|
+
|
1419
|
+
@property
|
1420
|
+
@pulumi.getter
|
1421
|
+
def hours(self) -> Optional[int]:
|
1422
|
+
"""
|
1423
|
+
Hours of a day in 24 hour format. Must be greater than or equal
|
1424
|
+
to 0 and typically must be less than or equal to 23. An API may
|
1425
|
+
choose to allow the value "24:00:00" for scenarios like business
|
1426
|
+
closing time.
|
1427
|
+
"""
|
1428
|
+
return pulumi.get(self, "hours")
|
1429
|
+
|
1430
|
+
@property
|
1431
|
+
@pulumi.getter
|
1432
|
+
def minutes(self) -> Optional[int]:
|
1433
|
+
"""
|
1434
|
+
Minutes of an hour. Must be greater than or equal to 0 and
|
1435
|
+
less than or equal to 59.
|
1436
|
+
"""
|
1437
|
+
return pulumi.get(self, "minutes")
|
1438
|
+
|
1439
|
+
@property
|
1440
|
+
@pulumi.getter
|
1441
|
+
def nanos(self) -> Optional[int]:
|
1442
|
+
"""
|
1443
|
+
Fractions of seconds, in nanoseconds. Must be greater than or
|
1444
|
+
equal to 0 and less than or equal to 999,999,999.
|
1445
|
+
"""
|
1446
|
+
return pulumi.get(self, "nanos")
|
1447
|
+
|
1448
|
+
@property
|
1449
|
+
@pulumi.getter
|
1450
|
+
def seconds(self) -> Optional[int]:
|
1451
|
+
"""
|
1452
|
+
Seconds of a minute. Must be greater than or equal to 0 and
|
1453
|
+
typically must be less than or equal to 59. An API may allow the
|
1454
|
+
value 60 if it allows leap-seconds.
|
1455
|
+
"""
|
1456
|
+
return pulumi.get(self, "seconds")
|
1457
|
+
|
1458
|
+
|
1459
|
+
@pulumi.output_type
|
1460
|
+
class AlertPolicyConditionConditionSqlHourly(dict):
|
1461
|
+
@staticmethod
|
1462
|
+
def __key_warning(key: str):
|
1463
|
+
suggest = None
|
1464
|
+
if key == "minuteOffset":
|
1465
|
+
suggest = "minute_offset"
|
1466
|
+
|
1467
|
+
if suggest:
|
1468
|
+
pulumi.log.warn(f"Key '{key}' not found in AlertPolicyConditionConditionSqlHourly. Access the value via the '{suggest}' property getter instead.")
|
1469
|
+
|
1470
|
+
def __getitem__(self, key: str) -> Any:
|
1471
|
+
AlertPolicyConditionConditionSqlHourly.__key_warning(key)
|
1472
|
+
return super().__getitem__(key)
|
1473
|
+
|
1474
|
+
def get(self, key: str, default = None) -> Any:
|
1475
|
+
AlertPolicyConditionConditionSqlHourly.__key_warning(key)
|
1476
|
+
return super().get(key, default)
|
1477
|
+
|
1478
|
+
def __init__(__self__, *,
|
1479
|
+
periodicity: int,
|
1480
|
+
minute_offset: Optional[int] = None):
|
1481
|
+
"""
|
1482
|
+
:param int periodicity: Number of hours between runs. The interval must be greater than or
|
1483
|
+
equal to 1 hour and less than or equal to 48 hours.
|
1484
|
+
:param int minute_offset: The number of minutes after the hour (in UTC) to run the query.
|
1485
|
+
Must be greater than or equal to 0 minutes and less than or equal to
|
1486
|
+
59 minutes. If left unspecified, then an arbitrary offset is used.
|
1487
|
+
"""
|
1488
|
+
pulumi.set(__self__, "periodicity", periodicity)
|
1489
|
+
if minute_offset is not None:
|
1490
|
+
pulumi.set(__self__, "minute_offset", minute_offset)
|
1491
|
+
|
1492
|
+
@property
|
1493
|
+
@pulumi.getter
|
1494
|
+
def periodicity(self) -> int:
|
1495
|
+
"""
|
1496
|
+
Number of hours between runs. The interval must be greater than or
|
1497
|
+
equal to 1 hour and less than or equal to 48 hours.
|
1498
|
+
"""
|
1499
|
+
return pulumi.get(self, "periodicity")
|
1500
|
+
|
1501
|
+
@property
|
1502
|
+
@pulumi.getter(name="minuteOffset")
|
1503
|
+
def minute_offset(self) -> Optional[int]:
|
1504
|
+
"""
|
1505
|
+
The number of minutes after the hour (in UTC) to run the query.
|
1506
|
+
Must be greater than or equal to 0 minutes and less than or equal to
|
1507
|
+
59 minutes. If left unspecified, then an arbitrary offset is used.
|
1508
|
+
"""
|
1509
|
+
return pulumi.get(self, "minute_offset")
|
1510
|
+
|
1511
|
+
|
1512
|
+
@pulumi.output_type
|
1513
|
+
class AlertPolicyConditionConditionSqlMinutes(dict):
|
1514
|
+
def __init__(__self__, *,
|
1515
|
+
periodicity: int):
|
1516
|
+
"""
|
1517
|
+
:param int periodicity: Number of minutes between runs. The interval must be greater than or
|
1518
|
+
equal to 5 minutes and less than or equal to 1440 minutes.
|
1519
|
+
"""
|
1520
|
+
pulumi.set(__self__, "periodicity", periodicity)
|
1521
|
+
|
1522
|
+
@property
|
1523
|
+
@pulumi.getter
|
1524
|
+
def periodicity(self) -> int:
|
1525
|
+
"""
|
1526
|
+
Number of minutes between runs. The interval must be greater than or
|
1527
|
+
equal to 5 minutes and less than or equal to 1440 minutes.
|
1528
|
+
"""
|
1529
|
+
return pulumi.get(self, "periodicity")
|
1530
|
+
|
1531
|
+
|
1532
|
+
@pulumi.output_type
|
1533
|
+
class AlertPolicyConditionConditionSqlRowCountTest(dict):
|
1534
|
+
def __init__(__self__, *,
|
1535
|
+
comparison: str,
|
1536
|
+
threshold: int):
|
1537
|
+
"""
|
1538
|
+
:param str comparison: The comparison to apply between the time
|
1539
|
+
series (indicated by filter and aggregation)
|
1540
|
+
and the threshold (indicated by
|
1541
|
+
threshold_value). The comparison is applied
|
1542
|
+
on each time series, with the time series on
|
1543
|
+
the left-hand side and the threshold on the
|
1544
|
+
right-hand side. Only COMPARISON_LT and
|
1545
|
+
COMPARISON_GT are supported currently.
|
1546
|
+
Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
|
1547
|
+
:param int threshold: Test the boolean value in the indicated column.
|
1548
|
+
"""
|
1549
|
+
pulumi.set(__self__, "comparison", comparison)
|
1550
|
+
pulumi.set(__self__, "threshold", threshold)
|
1551
|
+
|
1552
|
+
@property
|
1553
|
+
@pulumi.getter
|
1554
|
+
def comparison(self) -> str:
|
1555
|
+
"""
|
1556
|
+
The comparison to apply between the time
|
1557
|
+
series (indicated by filter and aggregation)
|
1558
|
+
and the threshold (indicated by
|
1559
|
+
threshold_value). The comparison is applied
|
1560
|
+
on each time series, with the time series on
|
1561
|
+
the left-hand side and the threshold on the
|
1562
|
+
right-hand side. Only COMPARISON_LT and
|
1563
|
+
COMPARISON_GT are supported currently.
|
1564
|
+
Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
|
1565
|
+
"""
|
1566
|
+
return pulumi.get(self, "comparison")
|
1567
|
+
|
1568
|
+
@property
|
1569
|
+
@pulumi.getter
|
1570
|
+
def threshold(self) -> int:
|
1571
|
+
"""
|
1572
|
+
Test the boolean value in the indicated column.
|
1573
|
+
"""
|
1574
|
+
return pulumi.get(self, "threshold")
|
1575
|
+
|
1576
|
+
|
1167
1577
|
@pulumi.output_type
|
1168
1578
|
class AlertPolicyConditionConditionThreshold(dict):
|
1169
1579
|
@staticmethod
|
pulumi_gcp/netapp/__init__.py
CHANGED