pulumi-gcp 8.22.0a1741888019__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.
Files changed (69) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/alloydb/_inputs.py +27 -1
  3. pulumi_gcp/alloydb/outputs.py +33 -2
  4. pulumi_gcp/applicationintegration/client.py +18 -24
  5. pulumi_gcp/bigquery/_inputs.py +20 -0
  6. pulumi_gcp/bigquery/outputs.py +12 -0
  7. pulumi_gcp/bigquery/table.py +61 -0
  8. pulumi_gcp/bigtable/table.py +7 -7
  9. pulumi_gcp/clouddeploy/_inputs.py +20 -0
  10. pulumi_gcp/clouddeploy/outputs.py +15 -1
  11. pulumi_gcp/cloudfunctions/function.py +11 -11
  12. pulumi_gcp/cloudfunctionsv2/function.py +24 -24
  13. pulumi_gcp/cloudidentity/get_group_transitive_memberships.py +41 -2
  14. pulumi_gcp/cloudidentity/outputs.py +18 -38
  15. pulumi_gcp/compute/firewall_policy.py +20 -0
  16. pulumi_gcp/compute/region_network_endpoint_group.py +2 -2
  17. pulumi_gcp/compute/subnetwork.py +109 -1
  18. pulumi_gcp/compute/target_https_proxy.py +7 -7
  19. pulumi_gcp/config/__init__.pyi +2 -0
  20. pulumi_gcp/config/vars.py +4 -0
  21. pulumi_gcp/container/_inputs.py +3 -3
  22. pulumi_gcp/container/get_attached_versions.py +2 -2
  23. pulumi_gcp/container/outputs.py +4 -4
  24. pulumi_gcp/dataform/repository.py +49 -0
  25. pulumi_gcp/dataproc/get_metastore_service.py +26 -4
  26. pulumi_gcp/dataproc/metastore_federation.py +56 -0
  27. pulumi_gcp/dataproc/metastore_service.py +58 -2
  28. pulumi_gcp/eventarc/__init__.py +1 -0
  29. pulumi_gcp/eventarc/_inputs.py +1758 -0
  30. pulumi_gcp/eventarc/outputs.py +1337 -0
  31. pulumi_gcp/eventarc/pipeline.py +1596 -0
  32. pulumi_gcp/firebase/__init__.py +1 -0
  33. pulumi_gcp/firebase/_inputs.py +154 -0
  34. pulumi_gcp/firebase/app_hosting_backend.py +1303 -0
  35. pulumi_gcp/firebase/hosting_version.py +2 -2
  36. pulumi_gcp/firebase/outputs.py +127 -0
  37. pulumi_gcp/kms/get_key_rings.py +39 -2
  38. pulumi_gcp/managedkafka/__init__.py +2 -0
  39. pulumi_gcp/managedkafka/_inputs.py +263 -0
  40. pulumi_gcp/managedkafka/connect_cluster.py +795 -0
  41. pulumi_gcp/managedkafka/connector.py +695 -0
  42. pulumi_gcp/managedkafka/outputs.py +248 -0
  43. pulumi_gcp/memorystore/instance.py +7 -7
  44. pulumi_gcp/monitoring/uptime_check_config.py +2 -2
  45. pulumi_gcp/networksecurity/_inputs.py +643 -0
  46. pulumi_gcp/networksecurity/gateway_security_policy.py +0 -7
  47. pulumi_gcp/networksecurity/mirroring_deployment.py +22 -0
  48. pulumi_gcp/networksecurity/mirroring_deployment_group.py +20 -0
  49. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +24 -0
  50. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +28 -0
  51. pulumi_gcp/networksecurity/outputs.py +475 -0
  52. pulumi_gcp/networksecurity/tls_inspection_policy.py +14 -0
  53. pulumi_gcp/networkservices/gateway.py +242 -120
  54. pulumi_gcp/projects/__init__.py +2 -0
  55. pulumi_gcp/projects/get_iam_custom_role.py +198 -0
  56. pulumi_gcp/projects/get_iam_custom_roles.py +164 -0
  57. pulumi_gcp/projects/outputs.py +96 -0
  58. pulumi_gcp/provider.py +20 -0
  59. pulumi_gcp/pulumi-plugin.json +1 -1
  60. pulumi_gcp/servicenetworking/peered_dns_domain.py +4 -0
  61. pulumi_gcp/sql/outputs.py +8 -8
  62. pulumi_gcp/storage/_inputs.py +14 -6
  63. pulumi_gcp/storage/insights_report_config.py +121 -20
  64. pulumi_gcp/storage/outputs.py +7 -4
  65. pulumi_gcp/workflows/workflow.py +75 -7
  66. {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/METADATA +2 -2
  67. {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/RECORD +69 -63
  68. {pulumi_gcp-8.22.0a1741888019.dist-info → pulumi_gcp-8.23.0.dist-info}/WHEEL +1 -1
  69. {pulumi_gcp-8.22.0a1741888019.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. Immutable. Engine version of the instance.
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. Immutable. Engine version of the instance.
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. Immutable. Engine version of the instance.
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. Immutable. Engine version of the instance.
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. Immutable. Engine version of the instance.
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. Immutable. Engine version of the instance.
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. Immutable. Engine version of the instance.
1584
+ Optional. Engine version of the instance.
1585
1585
  """
1586
1586
  return pulumi.get(self, "engine_version")
1587
1587
 
@@ -721,7 +721,7 @@ class UptimeCheckConfig(pulumi.CustomResource):
721
721
  name="synthetic_function",
722
722
  location="us-central1",
723
723
  build_config={
724
- "runtime": "nodejs16",
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": "nodejs16",
977
+ "runtime": "nodejs20",
978
978
  "entry_point": "SyntheticFunction",
979
979
  "source": {
980
980
  "storage_source": {