pulumi-gcp 8.22.0a1741790977__py3-none-any.whl → 8.23.0__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 +64 -0
- pulumi_gcp/alloydb/_inputs.py +93 -1
- pulumi_gcp/alloydb/outputs.py +128 -2
- pulumi_gcp/applicationintegration/client.py +18 -24
- pulumi_gcp/backupdisasterrecovery/_inputs.py +3 -3
- pulumi_gcp/backupdisasterrecovery/outputs.py +4 -4
- pulumi_gcp/bigquery/_inputs.py +20 -0
- pulumi_gcp/bigquery/outputs.py +12 -0
- pulumi_gcp/bigquery/table.py +61 -0
- pulumi_gcp/bigtable/table.py +7 -7
- pulumi_gcp/certificatemanager/certificate.py +53 -7
- pulumi_gcp/certificatemanager/outputs.py +8 -2
- pulumi_gcp/clouddeploy/_inputs.py +20 -0
- pulumi_gcp/clouddeploy/outputs.py +15 -1
- pulumi_gcp/cloudfunctions/function.py +11 -11
- pulumi_gcp/cloudfunctionsv2/function.py +24 -24
- pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
- pulumi_gcp/cloudidentity/outputs.py +18 -38
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +600 -17
- pulumi_gcp/compute/backend_service.py +195 -7
- pulumi_gcp/compute/disk.py +108 -0
- pulumi_gcp/compute/firewall_policy.py +20 -0
- pulumi_gcp/compute/firewall_policy_association.py +28 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_disk.py +23 -1
- pulumi_gcp/compute/get_region_disk.py +23 -1
- pulumi_gcp/compute/get_region_ssl_policy.py +203 -0
- pulumi_gcp/compute/outputs.py +623 -23
- pulumi_gcp/compute/region_backend_service.py +193 -7
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
- pulumi_gcp/compute/shared_vpc_service_project.py +0 -4
- pulumi_gcp/compute/subnetwork.py +256 -1
- pulumi_gcp/compute/target_https_proxy.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/get_attached_versions.py +2 -2
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/dataform/repository.py +49 -0
- pulumi_gcp/dataproc/get_metastore_service.py +26 -4
- pulumi_gcp/dataproc/metastore_federation.py +56 -0
- pulumi_gcp/dataproc/metastore_service.py +58 -2
- pulumi_gcp/datastream/_inputs.py +273 -0
- pulumi_gcp/datastream/connection_profile.py +54 -2
- pulumi_gcp/datastream/outputs.py +224 -0
- pulumi_gcp/eventarc/__init__.py +2 -0
- pulumi_gcp/eventarc/_inputs.py +1798 -0
- pulumi_gcp/eventarc/channel.py +85 -93
- pulumi_gcp/eventarc/google_api_source.py +997 -0
- pulumi_gcp/eventarc/outputs.py +1378 -0
- pulumi_gcp/eventarc/pipeline.py +1596 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/_inputs.py +154 -0
- pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
- pulumi_gcp/firebase/data_connect_service.py +40 -2
- pulumi_gcp/firebase/hosting_version.py +2 -2
- pulumi_gcp/firebase/outputs.py +127 -0
- pulumi_gcp/iam/__init__.py +2 -0
- pulumi_gcp/iam/_inputs.py +51 -18
- pulumi_gcp/iam/folders_policy_binding.py +10 -26
- pulumi_gcp/iam/oauth_client.py +979 -0
- pulumi_gcp/iam/oauth_client_credential.py +641 -0
- pulumi_gcp/iam/organizations_policy_binding.py +8 -24
- pulumi_gcp/iam/outputs.py +34 -12
- pulumi_gcp/iam/principal_access_boundary_policy.py +58 -22
- pulumi_gcp/iam/projects_policy_binding.py +8 -24
- pulumi_gcp/kms/crypto_key_version.py +14 -7
- pulumi_gcp/kms/get_key_rings.py +39 -2
- pulumi_gcp/managedkafka/__init__.py +2 -0
- pulumi_gcp/managedkafka/_inputs.py +263 -0
- pulumi_gcp/managedkafka/connect_cluster.py +795 -0
- pulumi_gcp/managedkafka/connector.py +695 -0
- pulumi_gcp/managedkafka/outputs.py +248 -0
- pulumi_gcp/memorystore/instance.py +7 -7
- pulumi_gcp/monitoring/_inputs.py +15 -18
- pulumi_gcp/monitoring/alert_policy.py +46 -0
- pulumi_gcp/monitoring/outputs.py +10 -12
- pulumi_gcp/monitoring/uptime_check_config.py +2 -2
- pulumi_gcp/networksecurity/__init__.py +1 -0
- pulumi_gcp/networksecurity/_inputs.py +673 -18
- pulumi_gcp/networksecurity/backend_authentication_config.py +847 -0
- pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
- pulumi_gcp/networksecurity/intercept_deployment.py +178 -94
- pulumi_gcp/networksecurity/intercept_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +161 -66
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +137 -80
- pulumi_gcp/networksecurity/mirroring_deployment.py +200 -94
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +181 -77
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +185 -80
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +165 -105
- pulumi_gcp/networksecurity/outputs.py +495 -12
- pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
- pulumi_gcp/networkservices/endpoint_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +242 -120
- pulumi_gcp/networkservices/grpc_route.py +12 -0
- pulumi_gcp/networkservices/http_route.py +16 -0
- pulumi_gcp/networkservices/mesh.py +16 -0
- pulumi_gcp/networkservices/service_binding.py +14 -0
- pulumi_gcp/networkservices/tcp_route.py +16 -0
- pulumi_gcp/networkservices/tls_route.py +12 -0
- pulumi_gcp/projects/__init__.py +2 -0
- pulumi_gcp/projects/get_iam_custom_role.py +198 -0
- pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
- pulumi_gcp/projects/outputs.py +96 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
- pulumi_gcp/sql/outputs.py +8 -8
- pulumi_gcp/storage/_inputs.py +14 -6
- pulumi_gcp/storage/insights_report_config.py +121 -20
- pulumi_gcp/storage/outputs.py +7 -4
- pulumi_gcp/tpu/_inputs.py +21 -1
- pulumi_gcp/tpu/outputs.py +13 -1
- pulumi_gcp/tpu/v2_vm.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +6 -0
- pulumi_gcp/vmwareengine/outputs.py +8 -0
- pulumi_gcp/workflows/workflow.py +75 -7
- pulumi_gcp/workstations/workstation_cluster.py +137 -1
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/RECORD +124 -113
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.22.0a1741790977.dist-info → pulumi_gcp-8.23.0.dist-info}/top_level.txt +0 -0
@@ -21,6 +21,11 @@ __all__ = [
|
|
21
21
|
'ClusterGcpConfigAccessConfig',
|
22
22
|
'ClusterGcpConfigAccessConfigNetworkConfig',
|
23
23
|
'ClusterRebalanceConfig',
|
24
|
+
'ConnectClusterCapacityConfig',
|
25
|
+
'ConnectClusterGcpConfig',
|
26
|
+
'ConnectClusterGcpConfigAccessConfig',
|
27
|
+
'ConnectClusterGcpConfigAccessConfigNetworkConfig',
|
28
|
+
'ConnectorTaskRestartPolicy',
|
24
29
|
]
|
25
30
|
|
26
31
|
@pulumi.output_type
|
@@ -200,3 +205,246 @@ class ClusterRebalanceConfig(dict):
|
|
200
205
|
return pulumi.get(self, "mode")
|
201
206
|
|
202
207
|
|
208
|
+
@pulumi.output_type
|
209
|
+
class ConnectClusterCapacityConfig(dict):
|
210
|
+
@staticmethod
|
211
|
+
def __key_warning(key: str):
|
212
|
+
suggest = None
|
213
|
+
if key == "memoryBytes":
|
214
|
+
suggest = "memory_bytes"
|
215
|
+
elif key == "vcpuCount":
|
216
|
+
suggest = "vcpu_count"
|
217
|
+
|
218
|
+
if suggest:
|
219
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectClusterCapacityConfig. Access the value via the '{suggest}' property getter instead.")
|
220
|
+
|
221
|
+
def __getitem__(self, key: str) -> Any:
|
222
|
+
ConnectClusterCapacityConfig.__key_warning(key)
|
223
|
+
return super().__getitem__(key)
|
224
|
+
|
225
|
+
def get(self, key: str, default = None) -> Any:
|
226
|
+
ConnectClusterCapacityConfig.__key_warning(key)
|
227
|
+
return super().get(key, default)
|
228
|
+
|
229
|
+
def __init__(__self__, *,
|
230
|
+
memory_bytes: str,
|
231
|
+
vcpu_count: str):
|
232
|
+
"""
|
233
|
+
:param str memory_bytes: The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
|
234
|
+
:param str vcpu_count: The number of vCPUs to provision for the cluster. The minimum is 3.
|
235
|
+
"""
|
236
|
+
pulumi.set(__self__, "memory_bytes", memory_bytes)
|
237
|
+
pulumi.set(__self__, "vcpu_count", vcpu_count)
|
238
|
+
|
239
|
+
@property
|
240
|
+
@pulumi.getter(name="memoryBytes")
|
241
|
+
def memory_bytes(self) -> str:
|
242
|
+
"""
|
243
|
+
The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
|
244
|
+
"""
|
245
|
+
return pulumi.get(self, "memory_bytes")
|
246
|
+
|
247
|
+
@property
|
248
|
+
@pulumi.getter(name="vcpuCount")
|
249
|
+
def vcpu_count(self) -> str:
|
250
|
+
"""
|
251
|
+
The number of vCPUs to provision for the cluster. The minimum is 3.
|
252
|
+
"""
|
253
|
+
return pulumi.get(self, "vcpu_count")
|
254
|
+
|
255
|
+
|
256
|
+
@pulumi.output_type
|
257
|
+
class ConnectClusterGcpConfig(dict):
|
258
|
+
@staticmethod
|
259
|
+
def __key_warning(key: str):
|
260
|
+
suggest = None
|
261
|
+
if key == "accessConfig":
|
262
|
+
suggest = "access_config"
|
263
|
+
|
264
|
+
if suggest:
|
265
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectClusterGcpConfig. Access the value via the '{suggest}' property getter instead.")
|
266
|
+
|
267
|
+
def __getitem__(self, key: str) -> Any:
|
268
|
+
ConnectClusterGcpConfig.__key_warning(key)
|
269
|
+
return super().__getitem__(key)
|
270
|
+
|
271
|
+
def get(self, key: str, default = None) -> Any:
|
272
|
+
ConnectClusterGcpConfig.__key_warning(key)
|
273
|
+
return super().get(key, default)
|
274
|
+
|
275
|
+
def __init__(__self__, *,
|
276
|
+
access_config: 'outputs.ConnectClusterGcpConfigAccessConfig'):
|
277
|
+
"""
|
278
|
+
:param 'ConnectClusterGcpConfigAccessConfigArgs' access_config: The configuration of access to the Kafka Connect cluster.
|
279
|
+
Structure is documented below.
|
280
|
+
"""
|
281
|
+
pulumi.set(__self__, "access_config", access_config)
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="accessConfig")
|
285
|
+
def access_config(self) -> 'outputs.ConnectClusterGcpConfigAccessConfig':
|
286
|
+
"""
|
287
|
+
The configuration of access to the Kafka Connect cluster.
|
288
|
+
Structure is documented below.
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "access_config")
|
291
|
+
|
292
|
+
|
293
|
+
@pulumi.output_type
|
294
|
+
class ConnectClusterGcpConfigAccessConfig(dict):
|
295
|
+
@staticmethod
|
296
|
+
def __key_warning(key: str):
|
297
|
+
suggest = None
|
298
|
+
if key == "networkConfigs":
|
299
|
+
suggest = "network_configs"
|
300
|
+
|
301
|
+
if suggest:
|
302
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectClusterGcpConfigAccessConfig. Access the value via the '{suggest}' property getter instead.")
|
303
|
+
|
304
|
+
def __getitem__(self, key: str) -> Any:
|
305
|
+
ConnectClusterGcpConfigAccessConfig.__key_warning(key)
|
306
|
+
return super().__getitem__(key)
|
307
|
+
|
308
|
+
def get(self, key: str, default = None) -> Any:
|
309
|
+
ConnectClusterGcpConfigAccessConfig.__key_warning(key)
|
310
|
+
return super().get(key, default)
|
311
|
+
|
312
|
+
def __init__(__self__, *,
|
313
|
+
network_configs: Sequence['outputs.ConnectClusterGcpConfigAccessConfigNetworkConfig']):
|
314
|
+
"""
|
315
|
+
:param Sequence['ConnectClusterGcpConfigAccessConfigNetworkConfigArgs'] network_configs: Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka Connect cluster are allocated. To make the connect cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
|
316
|
+
Structure is documented below.
|
317
|
+
"""
|
318
|
+
pulumi.set(__self__, "network_configs", network_configs)
|
319
|
+
|
320
|
+
@property
|
321
|
+
@pulumi.getter(name="networkConfigs")
|
322
|
+
def network_configs(self) -> Sequence['outputs.ConnectClusterGcpConfigAccessConfigNetworkConfig']:
|
323
|
+
"""
|
324
|
+
Virtual Private Cloud (VPC) subnets where IP addresses for the Kafka Connect cluster are allocated. To make the connect cluster available in a VPC, you must specify at least one subnet per network. You must specify between 1 and 10 subnets. Additional subnets may be specified with additional `network_configs` blocks.
|
325
|
+
Structure is documented below.
|
326
|
+
"""
|
327
|
+
return pulumi.get(self, "network_configs")
|
328
|
+
|
329
|
+
|
330
|
+
@pulumi.output_type
|
331
|
+
class ConnectClusterGcpConfigAccessConfigNetworkConfig(dict):
|
332
|
+
@staticmethod
|
333
|
+
def __key_warning(key: str):
|
334
|
+
suggest = None
|
335
|
+
if key == "primarySubnet":
|
336
|
+
suggest = "primary_subnet"
|
337
|
+
elif key == "additionalSubnets":
|
338
|
+
suggest = "additional_subnets"
|
339
|
+
elif key == "dnsDomainNames":
|
340
|
+
suggest = "dns_domain_names"
|
341
|
+
|
342
|
+
if suggest:
|
343
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectClusterGcpConfigAccessConfigNetworkConfig. Access the value via the '{suggest}' property getter instead.")
|
344
|
+
|
345
|
+
def __getitem__(self, key: str) -> Any:
|
346
|
+
ConnectClusterGcpConfigAccessConfigNetworkConfig.__key_warning(key)
|
347
|
+
return super().__getitem__(key)
|
348
|
+
|
349
|
+
def get(self, key: str, default = None) -> Any:
|
350
|
+
ConnectClusterGcpConfigAccessConfigNetworkConfig.__key_warning(key)
|
351
|
+
return super().get(key, default)
|
352
|
+
|
353
|
+
def __init__(__self__, *,
|
354
|
+
primary_subnet: str,
|
355
|
+
additional_subnets: Optional[Sequence[str]] = None,
|
356
|
+
dns_domain_names: Optional[Sequence[str]] = None):
|
357
|
+
"""
|
358
|
+
:param str primary_subnet: VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}. It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
|
359
|
+
:param Sequence[str] additional_subnets: Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
|
360
|
+
:param Sequence[str] dns_domain_names: Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
|
361
|
+
|
362
|
+
- - -
|
363
|
+
"""
|
364
|
+
pulumi.set(__self__, "primary_subnet", primary_subnet)
|
365
|
+
if additional_subnets is not None:
|
366
|
+
pulumi.set(__self__, "additional_subnets", additional_subnets)
|
367
|
+
if dns_domain_names is not None:
|
368
|
+
pulumi.set(__self__, "dns_domain_names", dns_domain_names)
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter(name="primarySubnet")
|
372
|
+
def primary_subnet(self) -> str:
|
373
|
+
"""
|
374
|
+
VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id}. It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "primary_subnet")
|
377
|
+
|
378
|
+
@property
|
379
|
+
@pulumi.getter(name="additionalSubnets")
|
380
|
+
def additional_subnets(self) -> Optional[Sequence[str]]:
|
381
|
+
"""
|
382
|
+
Additional subnets may be specified. They may be in another region, but must be in the same VPC network. The Connect workers can communicate with network endpoints in either the primary or additional subnets.
|
383
|
+
"""
|
384
|
+
return pulumi.get(self, "additional_subnets")
|
385
|
+
|
386
|
+
@property
|
387
|
+
@pulumi.getter(name="dnsDomainNames")
|
388
|
+
def dns_domain_names(self) -> Optional[Sequence[str]]:
|
389
|
+
"""
|
390
|
+
Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
|
391
|
+
|
392
|
+
- - -
|
393
|
+
"""
|
394
|
+
return pulumi.get(self, "dns_domain_names")
|
395
|
+
|
396
|
+
|
397
|
+
@pulumi.output_type
|
398
|
+
class ConnectorTaskRestartPolicy(dict):
|
399
|
+
@staticmethod
|
400
|
+
def __key_warning(key: str):
|
401
|
+
suggest = None
|
402
|
+
if key == "maximumBackoff":
|
403
|
+
suggest = "maximum_backoff"
|
404
|
+
elif key == "minimumBackoff":
|
405
|
+
suggest = "minimum_backoff"
|
406
|
+
|
407
|
+
if suggest:
|
408
|
+
pulumi.log.warn(f"Key '{key}' not found in ConnectorTaskRestartPolicy. Access the value via the '{suggest}' property getter instead.")
|
409
|
+
|
410
|
+
def __getitem__(self, key: str) -> Any:
|
411
|
+
ConnectorTaskRestartPolicy.__key_warning(key)
|
412
|
+
return super().__getitem__(key)
|
413
|
+
|
414
|
+
def get(self, key: str, default = None) -> Any:
|
415
|
+
ConnectorTaskRestartPolicy.__key_warning(key)
|
416
|
+
return super().get(key, default)
|
417
|
+
|
418
|
+
def __init__(__self__, *,
|
419
|
+
maximum_backoff: Optional[str] = None,
|
420
|
+
minimum_backoff: Optional[str] = None):
|
421
|
+
"""
|
422
|
+
:param str maximum_backoff: The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
|
423
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
424
|
+
:param str minimum_backoff: The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
|
425
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
426
|
+
"""
|
427
|
+
if maximum_backoff is not None:
|
428
|
+
pulumi.set(__self__, "maximum_backoff", maximum_backoff)
|
429
|
+
if minimum_backoff is not None:
|
430
|
+
pulumi.set(__self__, "minimum_backoff", minimum_backoff)
|
431
|
+
|
432
|
+
@property
|
433
|
+
@pulumi.getter(name="maximumBackoff")
|
434
|
+
def maximum_backoff(self) -> Optional[str]:
|
435
|
+
"""
|
436
|
+
The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay.
|
437
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
438
|
+
"""
|
439
|
+
return pulumi.get(self, "maximum_backoff")
|
440
|
+
|
441
|
+
@property
|
442
|
+
@pulumi.getter(name="minimumBackoff")
|
443
|
+
def minimum_backoff(self) -> Optional[str]:
|
444
|
+
"""
|
445
|
+
The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay.
|
446
|
+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "minimum_backoff")
|
449
|
+
|
450
|
+
|
@@ -58,7 +58,7 @@ class InstanceArgs:
|
|
58
58
|
IAM_AUTH
|
59
59
|
:param pulumi.Input[bool] deletion_protection_enabled: Optional. If set to true deletion of the instance will fail.
|
60
60
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] engine_configs: Optional. User-provided engine configurations for the instance.
|
61
|
-
:param pulumi.Input[str] engine_version: Optional.
|
61
|
+
:param pulumi.Input[str] engine_version: Optional. Engine version of the instance.
|
62
62
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels to represent user-provided metadata.
|
63
63
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
64
64
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
@@ -214,7 +214,7 @@ class InstanceArgs:
|
|
214
214
|
@pulumi.getter(name="engineVersion")
|
215
215
|
def engine_version(self) -> Optional[pulumi.Input[str]]:
|
216
216
|
"""
|
217
|
-
Optional.
|
217
|
+
Optional. Engine version of the instance.
|
218
218
|
"""
|
219
219
|
return pulumi.get(self, "engine_version")
|
220
220
|
|
@@ -382,7 +382,7 @@ class _InstanceState:
|
|
382
382
|
:param pulumi.Input[Sequence[pulumi.Input['InstanceEndpointArgs']]] endpoints: Endpoints for the instance.
|
383
383
|
Structure is documented below.
|
384
384
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] engine_configs: Optional. User-provided engine configurations for the instance.
|
385
|
-
:param pulumi.Input[str] engine_version: Optional.
|
385
|
+
:param pulumi.Input[str] engine_version: Optional. Engine version of the instance.
|
386
386
|
:param pulumi.Input[str] instance_id: Required. The ID to use for the instance, which will become the final component of
|
387
387
|
the instance's resource name.
|
388
388
|
This value is subject to the following restrictions:
|
@@ -602,7 +602,7 @@ class _InstanceState:
|
|
602
602
|
@pulumi.getter(name="engineVersion")
|
603
603
|
def engine_version(self) -> Optional[pulumi.Input[str]]:
|
604
604
|
"""
|
605
|
-
Optional.
|
605
|
+
Optional. Engine version of the instance.
|
606
606
|
"""
|
607
607
|
return pulumi.get(self, "engine_version")
|
608
608
|
|
@@ -1070,7 +1070,7 @@ class Instance(pulumi.CustomResource):
|
|
1070
1070
|
:param pulumi.Input[bool] deletion_protection_enabled: Optional. If set to true deletion of the instance will fail.
|
1071
1071
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceDesiredPscAutoConnectionArgs', 'InstanceDesiredPscAutoConnectionArgsDict']]]] desired_psc_auto_connections: Required. Immutable. User inputs for the auto-created PSC connections.
|
1072
1072
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] engine_configs: Optional. User-provided engine configurations for the instance.
|
1073
|
-
:param pulumi.Input[str] engine_version: Optional.
|
1073
|
+
:param pulumi.Input[str] engine_version: Optional. Engine version of the instance.
|
1074
1074
|
:param pulumi.Input[str] instance_id: Required. The ID to use for the instance, which will become the final component of
|
1075
1075
|
the instance's resource name.
|
1076
1076
|
This value is subject to the following restrictions:
|
@@ -1416,7 +1416,7 @@ class Instance(pulumi.CustomResource):
|
|
1416
1416
|
:param pulumi.Input[Sequence[pulumi.Input[Union['InstanceEndpointArgs', 'InstanceEndpointArgsDict']]]] endpoints: Endpoints for the instance.
|
1417
1417
|
Structure is documented below.
|
1418
1418
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] engine_configs: Optional. User-provided engine configurations for the instance.
|
1419
|
-
:param pulumi.Input[str] engine_version: Optional.
|
1419
|
+
:param pulumi.Input[str] engine_version: Optional. Engine version of the instance.
|
1420
1420
|
:param pulumi.Input[str] instance_id: Required. The ID to use for the instance, which will become the final component of
|
1421
1421
|
the instance's resource name.
|
1422
1422
|
This value is subject to the following restrictions:
|
@@ -1581,7 +1581,7 @@ class Instance(pulumi.CustomResource):
|
|
1581
1581
|
@pulumi.getter(name="engineVersion")
|
1582
1582
|
def engine_version(self) -> pulumi.Output[str]:
|
1583
1583
|
"""
|
1584
|
-
Optional.
|
1584
|
+
Optional. Engine version of the instance.
|
1585
1585
|
"""
|
1586
1586
|
return pulumi.get(self, "engine_version")
|
1587
1587
|
|
pulumi_gcp/monitoring/_inputs.py
CHANGED
@@ -1686,8 +1686,7 @@ if not MYPY:
|
|
1686
1686
|
"""
|
1687
1687
|
boolean_test: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgsDict']]
|
1688
1688
|
"""
|
1689
|
-
|
1690
|
-
query will start immediately.
|
1689
|
+
A test that uses an alerting result in a boolean column produced by the SQL query.
|
1691
1690
|
Structure is documented below.
|
1692
1691
|
"""
|
1693
1692
|
daily: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlDailyArgsDict']]
|
@@ -1707,7 +1706,7 @@ if not MYPY:
|
|
1707
1706
|
"""
|
1708
1707
|
row_count_test: NotRequired[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgsDict']]
|
1709
1708
|
"""
|
1710
|
-
|
1709
|
+
A test that checks if the number of rows in the result set violates some threshold.
|
1711
1710
|
Structure is documented below.
|
1712
1711
|
"""
|
1713
1712
|
elif False:
|
@@ -1728,8 +1727,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1728
1727
|
filter the input by time. A filter will automatically be applied
|
1729
1728
|
to filter the input so that the query receives all rows received
|
1730
1729
|
since the last time the query was run.
|
1731
|
-
:param pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs'] boolean_test:
|
1732
|
-
query will start immediately.
|
1730
|
+
:param pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs'] boolean_test: A test that uses an alerting result in a boolean column produced by the SQL query.
|
1733
1731
|
Structure is documented below.
|
1734
1732
|
:param pulumi.Input['AlertPolicyConditionConditionSqlDailyArgs'] daily: Used to schedule the query to run every so many days.
|
1735
1733
|
Structure is documented below.
|
@@ -1737,7 +1735,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1737
1735
|
Structure is documented below.
|
1738
1736
|
:param pulumi.Input['AlertPolicyConditionConditionSqlMinutesArgs'] minutes: Used to schedule the query to run every so many minutes.
|
1739
1737
|
Structure is documented below.
|
1740
|
-
:param pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs'] row_count_test:
|
1738
|
+
:param pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs'] row_count_test: A test that checks if the number of rows in the result set violates some threshold.
|
1741
1739
|
Structure is documented below.
|
1742
1740
|
"""
|
1743
1741
|
pulumi.set(__self__, "query", query)
|
@@ -1772,8 +1770,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1772
1770
|
@pulumi.getter(name="booleanTest")
|
1773
1771
|
def boolean_test(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlBooleanTestArgs']]:
|
1774
1772
|
"""
|
1775
|
-
|
1776
|
-
query will start immediately.
|
1773
|
+
A test that uses an alerting result in a boolean column produced by the SQL query.
|
1777
1774
|
Structure is documented below.
|
1778
1775
|
"""
|
1779
1776
|
return pulumi.get(self, "boolean_test")
|
@@ -1825,7 +1822,7 @@ class AlertPolicyConditionConditionSqlArgs:
|
|
1825
1822
|
@pulumi.getter(name="rowCountTest")
|
1826
1823
|
def row_count_test(self) -> Optional[pulumi.Input['AlertPolicyConditionConditionSqlRowCountTestArgs']]:
|
1827
1824
|
"""
|
1828
|
-
|
1825
|
+
A test that checks if the number of rows in the result set violates some threshold.
|
1829
1826
|
Structure is documented below.
|
1830
1827
|
"""
|
1831
1828
|
return pulumi.get(self, "row_count_test")
|
@@ -1839,8 +1836,8 @@ if not MYPY:
|
|
1839
1836
|
class AlertPolicyConditionConditionSqlBooleanTestArgsDict(TypedDict):
|
1840
1837
|
column: pulumi.Input[str]
|
1841
1838
|
"""
|
1842
|
-
The name of the column containing the boolean value. If the value
|
1843
|
-
|
1839
|
+
The name of the column containing the boolean value. If the value in a row is
|
1840
|
+
NULL, that row is ignored.
|
1844
1841
|
|
1845
1842
|
- - -
|
1846
1843
|
"""
|
@@ -1852,8 +1849,8 @@ class AlertPolicyConditionConditionSqlBooleanTestArgs:
|
|
1852
1849
|
def __init__(__self__, *,
|
1853
1850
|
column: pulumi.Input[str]):
|
1854
1851
|
"""
|
1855
|
-
:param pulumi.Input[str] column: The name of the column containing the boolean value. If the value
|
1856
|
-
|
1852
|
+
:param pulumi.Input[str] column: The name of the column containing the boolean value. If the value in a row is
|
1853
|
+
NULL, that row is ignored.
|
1857
1854
|
|
1858
1855
|
- - -
|
1859
1856
|
"""
|
@@ -1863,8 +1860,8 @@ class AlertPolicyConditionConditionSqlBooleanTestArgs:
|
|
1863
1860
|
@pulumi.getter
|
1864
1861
|
def column(self) -> pulumi.Input[str]:
|
1865
1862
|
"""
|
1866
|
-
The name of the column containing the boolean value. If the value
|
1867
|
-
|
1863
|
+
The name of the column containing the boolean value. If the value in a row is
|
1864
|
+
NULL, that row is ignored.
|
1868
1865
|
|
1869
1866
|
- - -
|
1870
1867
|
"""
|
@@ -2161,7 +2158,7 @@ if not MYPY:
|
|
2161
2158
|
"""
|
2162
2159
|
threshold: pulumi.Input[int]
|
2163
2160
|
"""
|
2164
|
-
|
2161
|
+
The value against which to compare the row count.
|
2165
2162
|
"""
|
2166
2163
|
elif False:
|
2167
2164
|
AlertPolicyConditionConditionSqlRowCountTestArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -2181,7 +2178,7 @@ class AlertPolicyConditionConditionSqlRowCountTestArgs:
|
|
2181
2178
|
right-hand side. Only COMPARISON_LT and
|
2182
2179
|
COMPARISON_GT are supported currently.
|
2183
2180
|
Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
|
2184
|
-
:param pulumi.Input[int] threshold:
|
2181
|
+
:param pulumi.Input[int] threshold: The value against which to compare the row count.
|
2185
2182
|
"""
|
2186
2183
|
pulumi.set(__self__, "comparison", comparison)
|
2187
2184
|
pulumi.set(__self__, "threshold", threshold)
|
@@ -2210,7 +2207,7 @@ class AlertPolicyConditionConditionSqlRowCountTestArgs:
|
|
2210
2207
|
@pulumi.getter
|
2211
2208
|
def threshold(self) -> pulumi.Input[int]:
|
2212
2209
|
"""
|
2213
|
-
|
2210
|
+
The value against which to compare the row count.
|
2214
2211
|
"""
|
2215
2212
|
return pulumi.get(self, "threshold")
|
2216
2213
|
|
@@ -586,6 +586,29 @@ class AlertPolicy(pulumi.CustomResource):
|
|
586
586
|
"auto_close": "1800s",
|
587
587
|
})
|
588
588
|
```
|
589
|
+
### Monitoring Alert Policy Sql Condition
|
590
|
+
|
591
|
+
```python
|
592
|
+
import pulumi
|
593
|
+
import pulumi_gcp as gcp
|
594
|
+
|
595
|
+
alert_policy = gcp.monitoring.AlertPolicy("alert_policy",
|
596
|
+
display_name="My Alert Policy",
|
597
|
+
combiner="OR",
|
598
|
+
conditions=[{
|
599
|
+
"display_name": "minutes row count",
|
600
|
+
"condition_sql": {
|
601
|
+
"query": "SELECT severity, resource FROM my_project.global._Default._AllLogs WHERE severity IS NOT NULL",
|
602
|
+
"minutes": {
|
603
|
+
"periodicity": 600,
|
604
|
+
},
|
605
|
+
"row_count_test": {
|
606
|
+
"comparison": "COMPARISON_GT",
|
607
|
+
"threshold": 0,
|
608
|
+
},
|
609
|
+
},
|
610
|
+
}])
|
611
|
+
```
|
589
612
|
|
590
613
|
## Import
|
591
614
|
|
@@ -762,6 +785,29 @@ class AlertPolicy(pulumi.CustomResource):
|
|
762
785
|
"auto_close": "1800s",
|
763
786
|
})
|
764
787
|
```
|
788
|
+
### Monitoring Alert Policy Sql Condition
|
789
|
+
|
790
|
+
```python
|
791
|
+
import pulumi
|
792
|
+
import pulumi_gcp as gcp
|
793
|
+
|
794
|
+
alert_policy = gcp.monitoring.AlertPolicy("alert_policy",
|
795
|
+
display_name="My Alert Policy",
|
796
|
+
combiner="OR",
|
797
|
+
conditions=[{
|
798
|
+
"display_name": "minutes row count",
|
799
|
+
"condition_sql": {
|
800
|
+
"query": "SELECT severity, resource FROM my_project.global._Default._AllLogs WHERE severity IS NOT NULL",
|
801
|
+
"minutes": {
|
802
|
+
"periodicity": 600,
|
803
|
+
},
|
804
|
+
"row_count_test": {
|
805
|
+
"comparison": "COMPARISON_GT",
|
806
|
+
"threshold": 0,
|
807
|
+
},
|
808
|
+
},
|
809
|
+
}])
|
810
|
+
```
|
765
811
|
|
766
812
|
## Import
|
767
813
|
|
pulumi_gcp/monitoring/outputs.py
CHANGED
@@ -1225,8 +1225,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1225
1225
|
filter the input by time. A filter will automatically be applied
|
1226
1226
|
to filter the input so that the query receives all rows received
|
1227
1227
|
since the last time the query was run.
|
1228
|
-
:param 'AlertPolicyConditionConditionSqlBooleanTestArgs' boolean_test:
|
1229
|
-
query will start immediately.
|
1228
|
+
:param 'AlertPolicyConditionConditionSqlBooleanTestArgs' boolean_test: A test that uses an alerting result in a boolean column produced by the SQL query.
|
1230
1229
|
Structure is documented below.
|
1231
1230
|
:param 'AlertPolicyConditionConditionSqlDailyArgs' daily: Used to schedule the query to run every so many days.
|
1232
1231
|
Structure is documented below.
|
@@ -1234,7 +1233,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1234
1233
|
Structure is documented below.
|
1235
1234
|
:param 'AlertPolicyConditionConditionSqlMinutesArgs' minutes: Used to schedule the query to run every so many minutes.
|
1236
1235
|
Structure is documented below.
|
1237
|
-
:param 'AlertPolicyConditionConditionSqlRowCountTestArgs' row_count_test:
|
1236
|
+
:param 'AlertPolicyConditionConditionSqlRowCountTestArgs' row_count_test: A test that checks if the number of rows in the result set violates some threshold.
|
1238
1237
|
Structure is documented below.
|
1239
1238
|
"""
|
1240
1239
|
pulumi.set(__self__, "query", query)
|
@@ -1265,8 +1264,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1265
1264
|
@pulumi.getter(name="booleanTest")
|
1266
1265
|
def boolean_test(self) -> Optional['outputs.AlertPolicyConditionConditionSqlBooleanTest']:
|
1267
1266
|
"""
|
1268
|
-
|
1269
|
-
query will start immediately.
|
1267
|
+
A test that uses an alerting result in a boolean column produced by the SQL query.
|
1270
1268
|
Structure is documented below.
|
1271
1269
|
"""
|
1272
1270
|
return pulumi.get(self, "boolean_test")
|
@@ -1302,7 +1300,7 @@ class AlertPolicyConditionConditionSql(dict):
|
|
1302
1300
|
@pulumi.getter(name="rowCountTest")
|
1303
1301
|
def row_count_test(self) -> Optional['outputs.AlertPolicyConditionConditionSqlRowCountTest']:
|
1304
1302
|
"""
|
1305
|
-
|
1303
|
+
A test that checks if the number of rows in the result set violates some threshold.
|
1306
1304
|
Structure is documented below.
|
1307
1305
|
"""
|
1308
1306
|
return pulumi.get(self, "row_count_test")
|
@@ -1313,8 +1311,8 @@ class AlertPolicyConditionConditionSqlBooleanTest(dict):
|
|
1313
1311
|
def __init__(__self__, *,
|
1314
1312
|
column: str):
|
1315
1313
|
"""
|
1316
|
-
:param str column: The name of the column containing the boolean value. If the value
|
1317
|
-
|
1314
|
+
:param str column: The name of the column containing the boolean value. If the value in a row is
|
1315
|
+
NULL, that row is ignored.
|
1318
1316
|
|
1319
1317
|
- - -
|
1320
1318
|
"""
|
@@ -1324,8 +1322,8 @@ class AlertPolicyConditionConditionSqlBooleanTest(dict):
|
|
1324
1322
|
@pulumi.getter
|
1325
1323
|
def column(self) -> str:
|
1326
1324
|
"""
|
1327
|
-
The name of the column containing the boolean value. If the value
|
1328
|
-
|
1325
|
+
The name of the column containing the boolean value. If the value in a row is
|
1326
|
+
NULL, that row is ignored.
|
1329
1327
|
|
1330
1328
|
- - -
|
1331
1329
|
"""
|
@@ -1544,7 +1542,7 @@ class AlertPolicyConditionConditionSqlRowCountTest(dict):
|
|
1544
1542
|
right-hand side. Only COMPARISON_LT and
|
1545
1543
|
COMPARISON_GT are supported currently.
|
1546
1544
|
Possible values are: `COMPARISON_GT`, `COMPARISON_GE`, `COMPARISON_LT`, `COMPARISON_LE`, `COMPARISON_EQ`, `COMPARISON_NE`.
|
1547
|
-
:param int threshold:
|
1545
|
+
:param int threshold: The value against which to compare the row count.
|
1548
1546
|
"""
|
1549
1547
|
pulumi.set(__self__, "comparison", comparison)
|
1550
1548
|
pulumi.set(__self__, "threshold", threshold)
|
@@ -1569,7 +1567,7 @@ class AlertPolicyConditionConditionSqlRowCountTest(dict):
|
|
1569
1567
|
@pulumi.getter
|
1570
1568
|
def threshold(self) -> int:
|
1571
1569
|
"""
|
1572
|
-
|
1570
|
+
The value against which to compare the row count.
|
1573
1571
|
"""
|
1574
1572
|
return pulumi.get(self, "threshold")
|
1575
1573
|
|
@@ -721,7 +721,7 @@ class UptimeCheckConfig(pulumi.CustomResource):
|
|
721
721
|
name="synthetic_function",
|
722
722
|
location="us-central1",
|
723
723
|
build_config={
|
724
|
-
"runtime": "
|
724
|
+
"runtime": "nodejs20",
|
725
725
|
"entry_point": "SyntheticFunction",
|
726
726
|
"source": {
|
727
727
|
"storage_source": {
|
@@ -974,7 +974,7 @@ class UptimeCheckConfig(pulumi.CustomResource):
|
|
974
974
|
name="synthetic_function",
|
975
975
|
location="us-central1",
|
976
976
|
build_config={
|
977
|
-
"runtime": "
|
977
|
+
"runtime": "nodejs20",
|
978
978
|
"entry_point": "SyntheticFunction",
|
979
979
|
"source": {
|
980
980
|
"storage_source": {
|
@@ -11,6 +11,7 @@ from .address_group_iam_member import *
|
|
11
11
|
from .address_group_iam_policy import *
|
12
12
|
from .authorization_policy import *
|
13
13
|
from .authz_policy import *
|
14
|
+
from .backend_authentication_config import *
|
14
15
|
from .client_tls_policy import *
|
15
16
|
from .firewall_endpoint import *
|
16
17
|
from .firewall_endpoint_association import *
|