pulumi-gcp 9.2.0__py3-none-any.whl → 9.3.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 (76) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/apigee/__init__.py +1 -0
  3. pulumi_gcp/apigee/api_deployment.py +372 -0
  4. pulumi_gcp/apihub/plugin.py +1 -1
  5. pulumi_gcp/artifactregistry/__init__.py +2 -0
  6. pulumi_gcp/artifactregistry/get_maven_artifacts.py +164 -0
  7. pulumi_gcp/artifactregistry/get_npm_packages.py +164 -0
  8. pulumi_gcp/artifactregistry/outputs.py +165 -0
  9. pulumi_gcp/cloudrunv2/_inputs.py +823 -15
  10. pulumi_gcp/cloudrunv2/outputs.py +1749 -743
  11. pulumi_gcp/cloudrunv2/worker_pool.py +110 -0
  12. pulumi_gcp/compute/_inputs.py +28 -0
  13. pulumi_gcp/compute/outputs.py +20 -1
  14. pulumi_gcp/compute/vpn_tunnel.py +97 -23
  15. pulumi_gcp/compute/wire_group.py +2 -0
  16. pulumi_gcp/dataloss/_inputs.py +970 -30
  17. pulumi_gcp/dataloss/outputs.py +850 -20
  18. pulumi_gcp/dataloss/prevention_discovery_config.py +54 -0
  19. pulumi_gcp/diagflow/_inputs.py +66 -0
  20. pulumi_gcp/diagflow/conversation_profile.py +84 -0
  21. pulumi_gcp/diagflow/outputs.py +57 -0
  22. pulumi_gcp/discoveryengine/__init__.py +1 -0
  23. pulumi_gcp/discoveryengine/_inputs.py +187 -0
  24. pulumi_gcp/discoveryengine/data_connector.py +1368 -0
  25. pulumi_gcp/discoveryengine/outputs.py +135 -0
  26. pulumi_gcp/discoveryengine/search_engine.py +47 -0
  27. pulumi_gcp/gkebackup/_inputs.py +111 -0
  28. pulumi_gcp/gkebackup/backup_plan.py +72 -0
  29. pulumi_gcp/gkebackup/outputs.py +84 -0
  30. pulumi_gcp/kms/__init__.py +1 -0
  31. pulumi_gcp/kms/_inputs.py +43 -0
  32. pulumi_gcp/kms/organization_kaj_policy_config.py +290 -0
  33. pulumi_gcp/kms/outputs.py +43 -0
  34. pulumi_gcp/logging/metric.py +2 -2
  35. pulumi_gcp/looker/instance.py +51 -0
  36. pulumi_gcp/managedkafka/connect_cluster.py +20 -82
  37. pulumi_gcp/managedkafka/connector.py +24 -94
  38. pulumi_gcp/netapp/_inputs.py +28 -5
  39. pulumi_gcp/netapp/outputs.py +19 -3
  40. pulumi_gcp/netapp/storage_pool.py +56 -0
  41. pulumi_gcp/netapp/volume.py +28 -0
  42. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  43. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +211 -23
  44. pulumi_gcp/oracledatabase/odb_network.py +101 -2
  45. pulumi_gcp/orgpolicy/policy.py +2 -2
  46. pulumi_gcp/privilegedaccessmanager/_inputs.py +27 -4
  47. pulumi_gcp/privilegedaccessmanager/outputs.py +31 -6
  48. pulumi_gcp/pubsub/get_subscription.py +12 -1
  49. pulumi_gcp/pubsub/get_topic.py +15 -4
  50. pulumi_gcp/pubsub/subscription.py +153 -7
  51. pulumi_gcp/pubsub/topic.py +145 -3
  52. pulumi_gcp/pulumi-plugin.json +1 -1
  53. pulumi_gcp/saasruntime/__init__.py +1 -0
  54. pulumi_gcp/saasruntime/_inputs.py +60 -0
  55. pulumi_gcp/saasruntime/outputs.py +55 -0
  56. pulumi_gcp/saasruntime/rollout_kind.py +1086 -0
  57. pulumi_gcp/sql/_inputs.py +122 -3
  58. pulumi_gcp/sql/database_instance.py +47 -0
  59. pulumi_gcp/sql/get_database_instance.py +12 -1
  60. pulumi_gcp/sql/outputs.py +233 -2
  61. pulumi_gcp/storage/bucket.py +52 -24
  62. pulumi_gcp/storage/get_insights_dataset_config.py +12 -1
  63. pulumi_gcp/storage/insights_dataset_config.py +49 -0
  64. pulumi_gcp/storage/insights_report_config.py +47 -0
  65. pulumi_gcp/vertex/_inputs.py +339 -1
  66. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  67. pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +102 -0
  68. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  69. pulumi_gcp/vertex/ai_index.py +74 -2
  70. pulumi_gcp/vertex/ai_index_endpoint.py +54 -0
  71. pulumi_gcp/vertex/get_ai_index.py +12 -1
  72. pulumi_gcp/vertex/outputs.py +303 -1
  73. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/METADATA +1 -1
  74. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/RECORD +76 -70
  75. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/WHEEL +0 -0
  76. {pulumi_gcp-9.2.0.dist-info → pulumi_gcp-9.3.0.dist-info}/top_level.txt +0 -0
@@ -395,35 +395,15 @@ class ConnectCluster(pulumi.CustomResource):
395
395
  ```python
396
396
  import pulumi
397
397
  import pulumi_gcp as gcp
398
- import pulumi_time as time
399
-
400
- project = gcp.organizations.Project("project",
401
- project_id="tf-test_60365",
402
- name="tf-test_80215",
403
- org_id="123456789",
404
- billing_account="000000-0000000-0000000-000000",
405
- deletion_policy="DELETE")
406
- wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
407
- opts = pulumi.ResourceOptions(depends_on=[project]))
408
- compute = gcp.projects.Service("compute",
409
- project=project.project_id,
410
- service="compute.googleapis.com",
411
- opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
412
- managedkafka = gcp.projects.Service("managedkafka",
413
- project=project.project_id,
414
- service="managedkafka.googleapis.com",
415
- opts = pulumi.ResourceOptions(depends_on=[compute]))
416
- wait120_seconds = time.index.Sleep("wait_120_seconds", create_duration=120s,
417
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
398
+
399
+ project = gcp.organizations.get_project()
418
400
  mkc_secondary_subnet = gcp.compute.Subnetwork("mkc_secondary_subnet",
419
401
  project=project.project_id,
420
402
  name="my-secondary-subnetwork",
421
403
  ip_cidr_range="10.3.0.0/16",
422
404
  region="us-central1",
423
- network="default",
424
- opts = pulumi.ResourceOptions(depends_on=[wait120_seconds]))
425
- gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
426
- project=project.project_id,
405
+ network="default")
406
+ cluster = gcp.managedkafka.Cluster("cluster",
427
407
  cluster_id="my-cluster",
428
408
  location="us-central1",
429
409
  capacity_config={
@@ -433,19 +413,13 @@ class ConnectCluster(pulumi.CustomResource):
433
413
  gcp_config={
434
414
  "access_config": {
435
415
  "network_configs": [{
436
- "subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
416
+ "subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
437
417
  }],
438
418
  },
439
- },
440
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
419
+ })
441
420
  example = gcp.managedkafka.ConnectCluster("example",
442
- project=project.project_id,
443
421
  connect_cluster_id="my-connect-cluster",
444
- kafka_cluster=pulumi.Output.all(
445
- project_id=project.project_id,
446
- cluster_id=gmk_cluster.cluster_id
447
- ).apply(lambda resolved_outputs: f"projects/{resolved_outputs['project_id']}/locations/us-central1/clusters/{resolved_outputs['cluster_id']}")
448
- ,
422
+ kafka_cluster=cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
449
423
  location="us-central1",
450
424
  capacity_config={
451
425
  "vcpu_count": "12",
@@ -454,20 +428,15 @@ class ConnectCluster(pulumi.CustomResource):
454
428
  gcp_config={
455
429
  "access_config": {
456
430
  "network_configs": [{
457
- "primary_subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
431
+ "primary_subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
458
432
  "additional_subnets": [mkc_secondary_subnet.id],
459
- "dns_domain_names": [pulumi.Output.all(
460
- cluster_id=gmk_cluster.cluster_id,
461
- project_id=project.project_id
462
- ).apply(lambda resolved_outputs: f"{resolved_outputs['cluster_id']}.us-central1.managedkafka.{resolved_outputs['project_id']}.cloud.goog")
463
- ],
433
+ "dns_domain_names": [cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka.{project.project_id}.cloud.goog")],
464
434
  }],
465
435
  },
466
436
  },
467
437
  labels={
468
438
  "key": "value",
469
- },
470
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
439
+ })
471
440
  ```
472
441
 
473
442
  ## Import
@@ -525,35 +494,15 @@ class ConnectCluster(pulumi.CustomResource):
525
494
  ```python
526
495
  import pulumi
527
496
  import pulumi_gcp as gcp
528
- import pulumi_time as time
529
-
530
- project = gcp.organizations.Project("project",
531
- project_id="tf-test_60365",
532
- name="tf-test_80215",
533
- org_id="123456789",
534
- billing_account="000000-0000000-0000000-000000",
535
- deletion_policy="DELETE")
536
- wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
537
- opts = pulumi.ResourceOptions(depends_on=[project]))
538
- compute = gcp.projects.Service("compute",
539
- project=project.project_id,
540
- service="compute.googleapis.com",
541
- opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
542
- managedkafka = gcp.projects.Service("managedkafka",
543
- project=project.project_id,
544
- service="managedkafka.googleapis.com",
545
- opts = pulumi.ResourceOptions(depends_on=[compute]))
546
- wait120_seconds = time.index.Sleep("wait_120_seconds", create_duration=120s,
547
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
497
+
498
+ project = gcp.organizations.get_project()
548
499
  mkc_secondary_subnet = gcp.compute.Subnetwork("mkc_secondary_subnet",
549
500
  project=project.project_id,
550
501
  name="my-secondary-subnetwork",
551
502
  ip_cidr_range="10.3.0.0/16",
552
503
  region="us-central1",
553
- network="default",
554
- opts = pulumi.ResourceOptions(depends_on=[wait120_seconds]))
555
- gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
556
- project=project.project_id,
504
+ network="default")
505
+ cluster = gcp.managedkafka.Cluster("cluster",
557
506
  cluster_id="my-cluster",
558
507
  location="us-central1",
559
508
  capacity_config={
@@ -563,19 +512,13 @@ class ConnectCluster(pulumi.CustomResource):
563
512
  gcp_config={
564
513
  "access_config": {
565
514
  "network_configs": [{
566
- "subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
515
+ "subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
567
516
  }],
568
517
  },
569
- },
570
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
518
+ })
571
519
  example = gcp.managedkafka.ConnectCluster("example",
572
- project=project.project_id,
573
520
  connect_cluster_id="my-connect-cluster",
574
- kafka_cluster=pulumi.Output.all(
575
- project_id=project.project_id,
576
- cluster_id=gmk_cluster.cluster_id
577
- ).apply(lambda resolved_outputs: f"projects/{resolved_outputs['project_id']}/locations/us-central1/clusters/{resolved_outputs['cluster_id']}")
578
- ,
521
+ kafka_cluster=cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
579
522
  location="us-central1",
580
523
  capacity_config={
581
524
  "vcpu_count": "12",
@@ -584,20 +527,15 @@ class ConnectCluster(pulumi.CustomResource):
584
527
  gcp_config={
585
528
  "access_config": {
586
529
  "network_configs": [{
587
- "primary_subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
530
+ "primary_subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
588
531
  "additional_subnets": [mkc_secondary_subnet.id],
589
- "dns_domain_names": [pulumi.Output.all(
590
- cluster_id=gmk_cluster.cluster_id,
591
- project_id=project.project_id
592
- ).apply(lambda resolved_outputs: f"{resolved_outputs['cluster_id']}.us-central1.managedkafka.{resolved_outputs['project_id']}.cloud.goog")
593
- ],
532
+ "dns_domain_names": [cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka.{project.project_id}.cloud.goog")],
594
533
  }],
595
534
  },
596
535
  },
597
536
  labels={
598
537
  "key": "value",
599
- },
600
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
538
+ })
601
539
  ```
602
540
 
603
541
  ## Import
@@ -286,39 +286,19 @@ class Connector(pulumi.CustomResource):
286
286
  ```python
287
287
  import pulumi
288
288
  import pulumi_gcp as gcp
289
- import pulumi_time as time
290
-
291
- project = gcp.organizations.Project("project",
292
- project_id="tf-test_59033",
293
- name="tf-test_32081",
294
- org_id="123456789",
295
- billing_account="000000-0000000-0000000-000000",
296
- deletion_policy="DELETE")
297
- wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
298
- opts = pulumi.ResourceOptions(depends_on=[project]))
299
- compute = gcp.projects.Service("compute",
300
- project=project.project_id,
301
- service="compute.googleapis.com",
302
- opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
303
- managedkafka = gcp.projects.Service("managedkafka",
304
- project=project.project_id,
305
- service="managedkafka.googleapis.com",
306
- opts = pulumi.ResourceOptions(depends_on=[compute]))
307
- wait120_seconds = time.index.Sleep("wait_120_seconds", create_duration=120s,
308
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
289
+
290
+ project = gcp.organizations.get_project()
309
291
  mkc_secondary_subnet = gcp.compute.Subnetwork("mkc_secondary_subnet",
310
292
  project=project.project_id,
311
293
  name="my-secondary-subnetwork-00",
312
294
  ip_cidr_range="10.5.0.0/16",
313
295
  region="us-central1",
314
- network="default",
315
- opts = pulumi.ResourceOptions(depends_on=[wait120_seconds]))
296
+ network="default")
316
297
  cps_topic = gcp.pubsub.Topic("cps_topic",
317
298
  project=project.project_id,
318
299
  name="my-cps-topic",
319
300
  message_retention_duration="86600s")
320
301
  gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
321
- project=project.project_id,
322
302
  cluster_id="my-cluster",
323
303
  location="us-central1",
324
304
  capacity_config={
@@ -328,27 +308,19 @@ class Connector(pulumi.CustomResource):
328
308
  gcp_config={
329
309
  "access_config": {
330
310
  "network_configs": [{
331
- "subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
311
+ "subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
332
312
  }],
333
313
  },
334
- },
335
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
314
+ })
336
315
  gmk_topic = gcp.managedkafka.Topic("gmk_topic",
337
- project=project.project_id,
338
316
  topic_id="my-topic",
339
317
  cluster=gmk_cluster.cluster_id,
340
318
  location="us-central1",
341
319
  partition_count=2,
342
- replication_factor=3,
343
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
320
+ replication_factor=3)
344
321
  mkc_cluster = gcp.managedkafka.ConnectCluster("mkc_cluster",
345
- project=project.project_id,
346
322
  connect_cluster_id="my-connect-cluster",
347
- kafka_cluster=pulumi.Output.all(
348
- project_id=project.project_id,
349
- cluster_id=gmk_cluster.cluster_id
350
- ).apply(lambda resolved_outputs: f"projects/{resolved_outputs['project_id']}/locations/us-central1/clusters/{resolved_outputs['cluster_id']}")
351
- ,
323
+ kafka_cluster=gmk_cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
352
324
  location="us-central1",
353
325
  capacity_config={
354
326
  "vcpu_count": "12",
@@ -357,29 +329,23 @@ class Connector(pulumi.CustomResource):
357
329
  gcp_config={
358
330
  "access_config": {
359
331
  "network_configs": [{
360
- "primary_subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
332
+ "primary_subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
361
333
  "additional_subnets": [mkc_secondary_subnet.id],
362
- "dns_domain_names": [pulumi.Output.all(
363
- cluster_id=gmk_cluster.cluster_id,
364
- project_id=project.project_id
365
- ).apply(lambda resolved_outputs: f"{resolved_outputs['cluster_id']}.us-central1.managedkafka.{resolved_outputs['project_id']}.cloud.goog")
366
- ],
334
+ "dns_domain_names": [gmk_cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka.{project.project_id}.cloud.goog")],
367
335
  }],
368
336
  },
369
337
  },
370
338
  labels={
371
339
  "key": "value",
372
- },
373
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
340
+ })
374
341
  example = gcp.managedkafka.Connector("example",
375
- project=project.project_id,
376
342
  connector_id="my-connector",
377
343
  connect_cluster=mkc_cluster.connect_cluster_id,
378
344
  location="us-central1",
379
345
  configs={
380
346
  "connector.class": "com.google.pubsub.kafka.sink.CloudPubSubSinkConnector",
381
347
  "name": "my-connector",
382
- "tasks.max": "1",
348
+ "tasks.max": "3",
383
349
  "topics": gmk_topic.topic_id,
384
350
  "cps.topic": cps_topic.name,
385
351
  "cps.project": project.project_id,
@@ -389,8 +355,7 @@ class Connector(pulumi.CustomResource):
389
355
  task_restart_policy={
390
356
  "minimum_backoff": "60s",
391
357
  "maximum_backoff": "1800s",
392
- },
393
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
358
+ })
394
359
  ```
395
360
 
396
361
  ## Import
@@ -444,39 +409,19 @@ class Connector(pulumi.CustomResource):
444
409
  ```python
445
410
  import pulumi
446
411
  import pulumi_gcp as gcp
447
- import pulumi_time as time
448
-
449
- project = gcp.organizations.Project("project",
450
- project_id="tf-test_59033",
451
- name="tf-test_32081",
452
- org_id="123456789",
453
- billing_account="000000-0000000-0000000-000000",
454
- deletion_policy="DELETE")
455
- wait60_seconds = time.index.Sleep("wait_60_seconds", create_duration=60s,
456
- opts = pulumi.ResourceOptions(depends_on=[project]))
457
- compute = gcp.projects.Service("compute",
458
- project=project.project_id,
459
- service="compute.googleapis.com",
460
- opts = pulumi.ResourceOptions(depends_on=[wait60_seconds]))
461
- managedkafka = gcp.projects.Service("managedkafka",
462
- project=project.project_id,
463
- service="managedkafka.googleapis.com",
464
- opts = pulumi.ResourceOptions(depends_on=[compute]))
465
- wait120_seconds = time.index.Sleep("wait_120_seconds", create_duration=120s,
466
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
412
+
413
+ project = gcp.organizations.get_project()
467
414
  mkc_secondary_subnet = gcp.compute.Subnetwork("mkc_secondary_subnet",
468
415
  project=project.project_id,
469
416
  name="my-secondary-subnetwork-00",
470
417
  ip_cidr_range="10.5.0.0/16",
471
418
  region="us-central1",
472
- network="default",
473
- opts = pulumi.ResourceOptions(depends_on=[wait120_seconds]))
419
+ network="default")
474
420
  cps_topic = gcp.pubsub.Topic("cps_topic",
475
421
  project=project.project_id,
476
422
  name="my-cps-topic",
477
423
  message_retention_duration="86600s")
478
424
  gmk_cluster = gcp.managedkafka.Cluster("gmk_cluster",
479
- project=project.project_id,
480
425
  cluster_id="my-cluster",
481
426
  location="us-central1",
482
427
  capacity_config={
@@ -486,27 +431,19 @@ class Connector(pulumi.CustomResource):
486
431
  gcp_config={
487
432
  "access_config": {
488
433
  "network_configs": [{
489
- "subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
434
+ "subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
490
435
  }],
491
436
  },
492
- },
493
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
437
+ })
494
438
  gmk_topic = gcp.managedkafka.Topic("gmk_topic",
495
- project=project.project_id,
496
439
  topic_id="my-topic",
497
440
  cluster=gmk_cluster.cluster_id,
498
441
  location="us-central1",
499
442
  partition_count=2,
500
- replication_factor=3,
501
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
443
+ replication_factor=3)
502
444
  mkc_cluster = gcp.managedkafka.ConnectCluster("mkc_cluster",
503
- project=project.project_id,
504
445
  connect_cluster_id="my-connect-cluster",
505
- kafka_cluster=pulumi.Output.all(
506
- project_id=project.project_id,
507
- cluster_id=gmk_cluster.cluster_id
508
- ).apply(lambda resolved_outputs: f"projects/{resolved_outputs['project_id']}/locations/us-central1/clusters/{resolved_outputs['cluster_id']}")
509
- ,
446
+ kafka_cluster=gmk_cluster.cluster_id.apply(lambda cluster_id: f"projects/{project.project_id}/locations/us-central1/clusters/{cluster_id}"),
510
447
  location="us-central1",
511
448
  capacity_config={
512
449
  "vcpu_count": "12",
@@ -515,29 +452,23 @@ class Connector(pulumi.CustomResource):
515
452
  gcp_config={
516
453
  "access_config": {
517
454
  "network_configs": [{
518
- "primary_subnet": project.project_id.apply(lambda project_id: f"projects/{project_id}/regions/us-central1/subnetworks/default"),
455
+ "primary_subnet": f"projects/{project.number}/regions/us-central1/subnetworks/default",
519
456
  "additional_subnets": [mkc_secondary_subnet.id],
520
- "dns_domain_names": [pulumi.Output.all(
521
- cluster_id=gmk_cluster.cluster_id,
522
- project_id=project.project_id
523
- ).apply(lambda resolved_outputs: f"{resolved_outputs['cluster_id']}.us-central1.managedkafka.{resolved_outputs['project_id']}.cloud.goog")
524
- ],
457
+ "dns_domain_names": [gmk_cluster.cluster_id.apply(lambda cluster_id: f"{cluster_id}.us-central1.managedkafka.{project.project_id}.cloud.goog")],
525
458
  }],
526
459
  },
527
460
  },
528
461
  labels={
529
462
  "key": "value",
530
- },
531
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
463
+ })
532
464
  example = gcp.managedkafka.Connector("example",
533
- project=project.project_id,
534
465
  connector_id="my-connector",
535
466
  connect_cluster=mkc_cluster.connect_cluster_id,
536
467
  location="us-central1",
537
468
  configs={
538
469
  "connector.class": "com.google.pubsub.kafka.sink.CloudPubSubSinkConnector",
539
470
  "name": "my-connector",
540
- "tasks.max": "1",
471
+ "tasks.max": "3",
541
472
  "topics": gmk_topic.topic_id,
542
473
  "cps.topic": cps_topic.name,
543
474
  "cps.project": project.project_id,
@@ -547,8 +478,7 @@ class Connector(pulumi.CustomResource):
547
478
  task_restart_policy={
548
479
  "minimum_backoff": "60s",
549
480
  "maximum_backoff": "1800s",
550
- },
551
- opts = pulumi.ResourceOptions(depends_on=[managedkafka]))
481
+ })
552
482
  ```
553
483
 
554
484
  ## Import
@@ -570,7 +570,7 @@ if not MYPY:
570
570
  """
571
571
  Required. Name of the user's local source cluster to be peered with the destination cluster.
572
572
  """
573
- peer_ip_addresses: NotRequired[pulumi.Input[_builtins.str]]
573
+ peer_ip_addresses: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
574
574
  """
575
575
  Required. List of node ip addresses to be peered with.
576
576
  """
@@ -596,7 +596,7 @@ class VolumeHybridReplicationParametersArgs:
596
596
  description: Optional[pulumi.Input[_builtins.str]] = None,
597
597
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
598
598
  peer_cluster_name: Optional[pulumi.Input[_builtins.str]] = None,
599
- peer_ip_addresses: Optional[pulumi.Input[_builtins.str]] = None,
599
+ peer_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
600
600
  peer_svm_name: Optional[pulumi.Input[_builtins.str]] = None,
601
601
  peer_volume_name: Optional[pulumi.Input[_builtins.str]] = None,
602
602
  replication: Optional[pulumi.Input[_builtins.str]] = None):
@@ -606,7 +606,7 @@ class VolumeHybridReplicationParametersArgs:
606
606
  :param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Optional. Labels to be added to the replication as the key value pairs.
607
607
  An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
608
608
  :param pulumi.Input[_builtins.str] peer_cluster_name: Required. Name of the user's local source cluster to be peered with the destination cluster.
609
- :param pulumi.Input[_builtins.str] peer_ip_addresses: Required. List of node ip addresses to be peered with.
609
+ :param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] peer_ip_addresses: Required. List of node ip addresses to be peered with.
610
610
  :param pulumi.Input[_builtins.str] peer_svm_name: Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.
611
611
  :param pulumi.Input[_builtins.str] peer_volume_name: Required. Name of the user's local source volume to be peered with the destination volume.
612
612
  :param pulumi.Input[_builtins.str] replication: Required. Desired name for the replication of this volume.
@@ -679,14 +679,14 @@ class VolumeHybridReplicationParametersArgs:
679
679
 
680
680
  @_builtins.property
681
681
  @pulumi.getter(name="peerIpAddresses")
682
- def peer_ip_addresses(self) -> Optional[pulumi.Input[_builtins.str]]:
682
+ def peer_ip_addresses(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
683
683
  """
684
684
  Required. List of node ip addresses to be peered with.
685
685
  """
686
686
  return pulumi.get(self, "peer_ip_addresses")
687
687
 
688
688
  @peer_ip_addresses.setter
689
- def peer_ip_addresses(self, value: Optional[pulumi.Input[_builtins.str]]):
689
+ def peer_ip_addresses(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
690
690
  pulumi.set(self, "peer_ip_addresses", value)
691
691
 
692
692
  @_builtins.property
@@ -745,6 +745,11 @@ if not MYPY:
745
745
  (Output)
746
746
  Human-readable mount instructions.
747
747
  """
748
+ ip_address: NotRequired[pulumi.Input[_builtins.str]]
749
+ """
750
+ (Output)
751
+ IP Address.
752
+ """
748
753
  protocol: NotRequired[pulumi.Input[_builtins.str]]
749
754
  """
750
755
  (Output)
@@ -759,6 +764,7 @@ class VolumeMountOptionArgs:
759
764
  export: Optional[pulumi.Input[_builtins.str]] = None,
760
765
  export_full: Optional[pulumi.Input[_builtins.str]] = None,
761
766
  instructions: Optional[pulumi.Input[_builtins.str]] = None,
767
+ ip_address: Optional[pulumi.Input[_builtins.str]] = None,
762
768
  protocol: Optional[pulumi.Input[_builtins.str]] = None):
763
769
  """
764
770
  :param pulumi.Input[_builtins.str] export: (Output)
@@ -769,6 +775,8 @@ class VolumeMountOptionArgs:
769
775
  Format for SMB volumes: `\\\\\\\\netbios_prefix-four_random_hex_letters.domain_name\\\\shareName`
770
776
  :param pulumi.Input[_builtins.str] instructions: (Output)
771
777
  Human-readable mount instructions.
778
+ :param pulumi.Input[_builtins.str] ip_address: (Output)
779
+ IP Address.
772
780
  :param pulumi.Input[_builtins.str] protocol: (Output)
773
781
  Protocol to mount with.
774
782
  """
@@ -778,6 +786,8 @@ class VolumeMountOptionArgs:
778
786
  pulumi.set(__self__, "export_full", export_full)
779
787
  if instructions is not None:
780
788
  pulumi.set(__self__, "instructions", instructions)
789
+ if ip_address is not None:
790
+ pulumi.set(__self__, "ip_address", ip_address)
781
791
  if protocol is not None:
782
792
  pulumi.set(__self__, "protocol", protocol)
783
793
 
@@ -822,6 +832,19 @@ class VolumeMountOptionArgs:
822
832
  def instructions(self, value: Optional[pulumi.Input[_builtins.str]]):
823
833
  pulumi.set(self, "instructions", value)
824
834
 
835
+ @_builtins.property
836
+ @pulumi.getter(name="ipAddress")
837
+ def ip_address(self) -> Optional[pulumi.Input[_builtins.str]]:
838
+ """
839
+ (Output)
840
+ IP Address.
841
+ """
842
+ return pulumi.get(self, "ip_address")
843
+
844
+ @ip_address.setter
845
+ def ip_address(self, value: Optional[pulumi.Input[_builtins.str]]):
846
+ pulumi.set(self, "ip_address", value)
847
+
825
848
  @_builtins.property
826
849
  @pulumi.getter
827
850
  def protocol(self) -> Optional[pulumi.Input[_builtins.str]]:
@@ -448,7 +448,7 @@ class VolumeHybridReplicationParameters(dict):
448
448
  description: Optional[_builtins.str] = None,
449
449
  labels: Optional[Mapping[str, _builtins.str]] = None,
450
450
  peer_cluster_name: Optional[_builtins.str] = None,
451
- peer_ip_addresses: Optional[_builtins.str] = None,
451
+ peer_ip_addresses: Optional[Sequence[_builtins.str]] = None,
452
452
  peer_svm_name: Optional[_builtins.str] = None,
453
453
  peer_volume_name: Optional[_builtins.str] = None,
454
454
  replication: Optional[_builtins.str] = None):
@@ -458,7 +458,7 @@ class VolumeHybridReplicationParameters(dict):
458
458
  :param Mapping[str, _builtins.str] labels: Optional. Labels to be added to the replication as the key value pairs.
459
459
  An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
460
460
  :param _builtins.str peer_cluster_name: Required. Name of the user's local source cluster to be peered with the destination cluster.
461
- :param _builtins.str peer_ip_addresses: Required. List of node ip addresses to be peered with.
461
+ :param Sequence[_builtins.str] peer_ip_addresses: Required. List of node ip addresses to be peered with.
462
462
  :param _builtins.str peer_svm_name: Required. Name of the user's local source vserver svm to be peered with the destination vserver svm.
463
463
  :param _builtins.str peer_volume_name: Required. Name of the user's local source volume to be peered with the destination volume.
464
464
  :param _builtins.str replication: Required. Desired name for the replication of this volume.
@@ -515,7 +515,7 @@ class VolumeHybridReplicationParameters(dict):
515
515
 
516
516
  @_builtins.property
517
517
  @pulumi.getter(name="peerIpAddresses")
518
- def peer_ip_addresses(self) -> Optional[_builtins.str]:
518
+ def peer_ip_addresses(self) -> Optional[Sequence[_builtins.str]]:
519
519
  """
520
520
  Required. List of node ip addresses to be peered with.
521
521
  """
@@ -553,6 +553,8 @@ class VolumeMountOption(dict):
553
553
  suggest = None
554
554
  if key == "exportFull":
555
555
  suggest = "export_full"
556
+ elif key == "ipAddress":
557
+ suggest = "ip_address"
556
558
 
557
559
  if suggest:
558
560
  pulumi.log.warn(f"Key '{key}' not found in VolumeMountOption. Access the value via the '{suggest}' property getter instead.")
@@ -569,6 +571,7 @@ class VolumeMountOption(dict):
569
571
  export: Optional[_builtins.str] = None,
570
572
  export_full: Optional[_builtins.str] = None,
571
573
  instructions: Optional[_builtins.str] = None,
574
+ ip_address: Optional[_builtins.str] = None,
572
575
  protocol: Optional[_builtins.str] = None):
573
576
  """
574
577
  :param _builtins.str export: (Output)
@@ -579,6 +582,8 @@ class VolumeMountOption(dict):
579
582
  Format for SMB volumes: `\\\\\\\\netbios_prefix-four_random_hex_letters.domain_name\\\\shareName`
580
583
  :param _builtins.str instructions: (Output)
581
584
  Human-readable mount instructions.
585
+ :param _builtins.str ip_address: (Output)
586
+ IP Address.
582
587
  :param _builtins.str protocol: (Output)
583
588
  Protocol to mount with.
584
589
  """
@@ -588,6 +593,8 @@ class VolumeMountOption(dict):
588
593
  pulumi.set(__self__, "export_full", export_full)
589
594
  if instructions is not None:
590
595
  pulumi.set(__self__, "instructions", instructions)
596
+ if ip_address is not None:
597
+ pulumi.set(__self__, "ip_address", ip_address)
591
598
  if protocol is not None:
592
599
  pulumi.set(__self__, "protocol", protocol)
593
600
 
@@ -620,6 +627,15 @@ class VolumeMountOption(dict):
620
627
  """
621
628
  return pulumi.get(self, "instructions")
622
629
 
630
+ @_builtins.property
631
+ @pulumi.getter(name="ipAddress")
632
+ def ip_address(self) -> Optional[_builtins.str]:
633
+ """
634
+ (Output)
635
+ IP Address.
636
+ """
637
+ return pulumi.get(self, "ip_address")
638
+
623
639
  @_builtins.property
624
640
  @pulumi.getter
625
641
  def protocol(self) -> Optional[_builtins.str]: