pulumi-gcp 8.36.0a1750484065__py3-none-any.whl → 8.37.0a1751903932__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 (117) hide show
  1. pulumi_gcp/__init__.py +59 -0
  2. pulumi_gcp/alloydb/_inputs.py +26 -0
  3. pulumi_gcp/alloydb/outputs.py +34 -1
  4. pulumi_gcp/apihub/__init__.py +2 -0
  5. pulumi_gcp/apihub/_inputs.py +1658 -0
  6. pulumi_gcp/apihub/outputs.py +1374 -0
  7. pulumi_gcp/apihub/plugin.py +1146 -0
  8. pulumi_gcp/apihub/plugin_instance.py +808 -0
  9. pulumi_gcp/bigquery/table.py +16 -12
  10. pulumi_gcp/bigqueryanalyticshub/_inputs.py +56 -6
  11. pulumi_gcp/bigqueryanalyticshub/data_exchange.py +73 -0
  12. pulumi_gcp/bigqueryanalyticshub/listing.py +201 -48
  13. pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +28 -0
  14. pulumi_gcp/bigqueryanalyticshub/outputs.py +50 -4
  15. pulumi_gcp/bigtable/table.py +82 -0
  16. pulumi_gcp/cloudidentity/group_membership.py +47 -0
  17. pulumi_gcp/cloudidentity/outputs.py +11 -0
  18. pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +64 -8
  19. pulumi_gcp/cloudrunv2/_inputs.py +65 -9
  20. pulumi_gcp/cloudrunv2/job.py +44 -0
  21. pulumi_gcp/cloudrunv2/outputs.py +73 -8
  22. pulumi_gcp/cloudrunv2/service.py +0 -2
  23. pulumi_gcp/cloudrunv2/worker_pool.py +18 -20
  24. pulumi_gcp/compute/__init__.py +1 -0
  25. pulumi_gcp/compute/_inputs.py +787 -18
  26. pulumi_gcp/compute/disk.py +35 -28
  27. pulumi_gcp/compute/firewall_policy_rule.py +207 -0
  28. pulumi_gcp/compute/get_instance_group_manager.py +12 -1
  29. pulumi_gcp/compute/get_region_disk.py +12 -1
  30. pulumi_gcp/compute/instance.py +2 -2
  31. pulumi_gcp/compute/instance_group_manager.py +165 -14
  32. pulumi_gcp/compute/instance_template.py +2 -2
  33. pulumi_gcp/compute/interconnect.py +43 -11
  34. pulumi_gcp/compute/network.py +56 -0
  35. pulumi_gcp/compute/network_firewall_policy.py +68 -0
  36. pulumi_gcp/compute/network_firewall_policy_with_rules.py +61 -0
  37. pulumi_gcp/compute/node_template.py +21 -0
  38. pulumi_gcp/compute/outputs.py +620 -12
  39. pulumi_gcp/compute/region_disk.py +114 -0
  40. pulumi_gcp/compute/region_network_firewall_policy.py +90 -0
  41. pulumi_gcp/compute/region_network_firewall_policy_with_rules.py +109 -0
  42. pulumi_gcp/compute/service_attachment.py +76 -8
  43. pulumi_gcp/compute/wire_group.py +751 -0
  44. pulumi_gcp/config/__init__.pyi +2 -0
  45. pulumi_gcp/config/vars.py +4 -0
  46. pulumi_gcp/contactcenterinsights/__init__.py +9 -0
  47. pulumi_gcp/contactcenterinsights/view.py +526 -0
  48. pulumi_gcp/container/_inputs.py +207 -28
  49. pulumi_gcp/container/cluster.py +54 -0
  50. pulumi_gcp/container/get_cluster.py +12 -1
  51. pulumi_gcp/container/get_engine_versions.py +15 -1
  52. pulumi_gcp/container/node_pool.py +14 -0
  53. pulumi_gcp/container/outputs.py +295 -21
  54. pulumi_gcp/dataplex/_inputs.py +431 -6
  55. pulumi_gcp/dataplex/datascan.py +251 -0
  56. pulumi_gcp/dataplex/entry_type.py +2 -2
  57. pulumi_gcp/dataplex/glossary_category.py +8 -8
  58. pulumi_gcp/dataplex/glossary_term.py +8 -8
  59. pulumi_gcp/dataplex/outputs.py +353 -4
  60. pulumi_gcp/dataplex/task.py +16 -16
  61. pulumi_gcp/dataproc/__init__.py +1 -0
  62. pulumi_gcp/dataproc/_inputs.py +486 -0
  63. pulumi_gcp/dataproc/batch.py +10 -10
  64. pulumi_gcp/dataproc/outputs.py +407 -0
  65. pulumi_gcp/dataproc/session_template.py +1084 -0
  66. pulumi_gcp/diagflow/__init__.py +2 -0
  67. pulumi_gcp/diagflow/_inputs.py +479 -0
  68. pulumi_gcp/diagflow/cx_generative_settings.py +625 -0
  69. pulumi_gcp/diagflow/cx_tool.py +2 -2
  70. pulumi_gcp/diagflow/encryption_spec.py +382 -0
  71. pulumi_gcp/diagflow/outputs.py +416 -0
  72. pulumi_gcp/dns/record_set.py +4 -2
  73. pulumi_gcp/firestore/database.py +0 -9
  74. pulumi_gcp/firestore/field.py +6 -6
  75. pulumi_gcp/gkehub/membership_binding.py +6 -6
  76. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  77. pulumi_gcp/gkehub/namespace.py +4 -4
  78. pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
  79. pulumi_gcp/iam/_inputs.py +36 -0
  80. pulumi_gcp/iam/outputs.py +38 -0
  81. pulumi_gcp/iam/workload_identity_pool_managed_identity.py +88 -2
  82. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  83. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  84. pulumi_gcp/kms/autokey_config.py +28 -0
  85. pulumi_gcp/kms/get_autokey_config.py +12 -1
  86. pulumi_gcp/lustre/get_instance.py +12 -1
  87. pulumi_gcp/lustre/instance.py +143 -86
  88. pulumi_gcp/managedkafka/connect_cluster.py +4 -4
  89. pulumi_gcp/managedkafka/connector.py +4 -4
  90. pulumi_gcp/memorystore/get_instance.py +12 -1
  91. pulumi_gcp/memorystore/instance.py +49 -0
  92. pulumi_gcp/monitoring/metric_descriptor.py +55 -57
  93. pulumi_gcp/networkconnectivity/spoke.py +14 -14
  94. pulumi_gcp/notebooks/instance.py +8 -8
  95. pulumi_gcp/orgpolicy/policy.py +2 -2
  96. pulumi_gcp/provider.py +20 -0
  97. pulumi_gcp/pubsub/subscription.py +6 -6
  98. pulumi_gcp/pulumi-plugin.json +1 -1
  99. pulumi_gcp/redis/get_instance.py +12 -1
  100. pulumi_gcp/redis/instance.py +44 -0
  101. pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
  102. pulumi_gcp/secretmanager/outputs.py +7 -0
  103. pulumi_gcp/secretmanager/regional_secret.py +38 -2
  104. pulumi_gcp/spanner/_inputs.py +24 -1
  105. pulumi_gcp/spanner/outputs.py +17 -1
  106. pulumi_gcp/storage/_inputs.py +43 -3
  107. pulumi_gcp/storage/bucket_object.py +56 -0
  108. pulumi_gcp/storage/get_bucket_object.py +12 -1
  109. pulumi_gcp/storage/get_bucket_object_content.py +12 -1
  110. pulumi_gcp/storage/outputs.py +53 -3
  111. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  112. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  113. pulumi_gcp/workbench/instance.py +2 -0
  114. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/METADATA +2 -2
  115. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/RECORD +117 -109
  116. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/WHEEL +0 -0
  117. {pulumi_gcp-8.36.0a1750484065.dist-info → pulumi_gcp-8.37.0a1751903932.dist-info}/top_level.txt +0 -0
@@ -300,8 +300,8 @@ class Connector(pulumi.CustomResource):
300
300
  import pulumi_time as time
301
301
 
302
302
  project = gcp.organizations.Project("project",
303
- project_id="tf-test_11380",
304
- name="tf-test_35305",
303
+ project_id="tf-test_32706",
304
+ name="tf-test_49082",
305
305
  org_id="123456789",
306
306
  billing_account="000000-0000000-0000000-000000",
307
307
  deletion_policy="DELETE")
@@ -459,8 +459,8 @@ class Connector(pulumi.CustomResource):
459
459
  import pulumi_time as time
460
460
 
461
461
  project = gcp.organizations.Project("project",
462
- project_id="tf-test_11380",
463
- name="tf-test_35305",
462
+ project_id="tf-test_32706",
463
+ name="tf-test_49082",
464
464
  org_id="123456789",
465
465
  billing_account="000000-0000000-0000000-000000",
466
466
  deletion_policy="DELETE")
@@ -28,7 +28,7 @@ class GetInstanceResult:
28
28
  """
29
29
  A collection of values returned by getInstance.
30
30
  """
31
- def __init__(__self__, authorization_mode=None, automated_backup_configs=None, backup_collection=None, create_time=None, cross_instance_replication_configs=None, deletion_protection_enabled=None, desired_auto_created_endpoints=None, desired_psc_auto_connections=None, discovery_endpoints=None, effective_labels=None, endpoints=None, engine_configs=None, engine_version=None, gcs_sources=None, id=None, instance_id=None, labels=None, location=None, maintenance_policies=None, maintenance_schedules=None, managed_backup_sources=None, mode=None, name=None, node_configs=None, node_type=None, persistence_configs=None, project=None, psc_attachment_details=None, psc_auto_connections=None, pulumi_labels=None, replica_count=None, shard_count=None, state=None, state_infos=None, transit_encryption_mode=None, uid=None, update_time=None, zone_distribution_configs=None):
31
+ def __init__(__self__, authorization_mode=None, automated_backup_configs=None, backup_collection=None, create_time=None, cross_instance_replication_configs=None, deletion_protection_enabled=None, desired_auto_created_endpoints=None, desired_psc_auto_connections=None, discovery_endpoints=None, effective_labels=None, endpoints=None, engine_configs=None, engine_version=None, gcs_sources=None, id=None, instance_id=None, kms_key=None, labels=None, location=None, maintenance_policies=None, maintenance_schedules=None, managed_backup_sources=None, mode=None, name=None, node_configs=None, node_type=None, persistence_configs=None, project=None, psc_attachment_details=None, psc_auto_connections=None, pulumi_labels=None, replica_count=None, shard_count=None, state=None, state_infos=None, transit_encryption_mode=None, uid=None, update_time=None, zone_distribution_configs=None):
32
32
  if authorization_mode and not isinstance(authorization_mode, str):
33
33
  raise TypeError("Expected argument 'authorization_mode' to be a str")
34
34
  pulumi.set(__self__, "authorization_mode", authorization_mode)
@@ -77,6 +77,9 @@ class GetInstanceResult:
77
77
  if instance_id and not isinstance(instance_id, str):
78
78
  raise TypeError("Expected argument 'instance_id' to be a str")
79
79
  pulumi.set(__self__, "instance_id", instance_id)
80
+ if kms_key and not isinstance(kms_key, str):
81
+ raise TypeError("Expected argument 'kms_key' to be a str")
82
+ pulumi.set(__self__, "kms_key", kms_key)
80
83
  if labels and not isinstance(labels, dict):
81
84
  raise TypeError("Expected argument 'labels' to be a dict")
82
85
  pulumi.set(__self__, "labels", labels)
@@ -227,6 +230,11 @@ class GetInstanceResult:
227
230
  def instance_id(self) -> builtins.str:
228
231
  return pulumi.get(self, "instance_id")
229
232
 
233
+ @property
234
+ @pulumi.getter(name="kmsKey")
235
+ def kms_key(self) -> builtins.str:
236
+ return pulumi.get(self, "kms_key")
237
+
230
238
  @property
231
239
  @pulumi.getter
232
240
  def labels(self) -> Mapping[str, builtins.str]:
@@ -360,6 +368,7 @@ class AwaitableGetInstanceResult(GetInstanceResult):
360
368
  gcs_sources=self.gcs_sources,
361
369
  id=self.id,
362
370
  instance_id=self.instance_id,
371
+ kms_key=self.kms_key,
363
372
  labels=self.labels,
364
373
  location=self.location,
365
374
  maintenance_policies=self.maintenance_policies,
@@ -432,6 +441,7 @@ def get_instance(instance_id: Optional[builtins.str] = None,
432
441
  gcs_sources=pulumi.get(__ret__, 'gcs_sources'),
433
442
  id=pulumi.get(__ret__, 'id'),
434
443
  instance_id=pulumi.get(__ret__, 'instance_id'),
444
+ kms_key=pulumi.get(__ret__, 'kms_key'),
435
445
  labels=pulumi.get(__ret__, 'labels'),
436
446
  location=pulumi.get(__ret__, 'location'),
437
447
  maintenance_policies=pulumi.get(__ret__, 'maintenance_policies'),
@@ -501,6 +511,7 @@ def get_instance_output(instance_id: Optional[pulumi.Input[builtins.str]] = None
501
511
  gcs_sources=pulumi.get(__response__, 'gcs_sources'),
502
512
  id=pulumi.get(__response__, 'id'),
503
513
  instance_id=pulumi.get(__response__, 'instance_id'),
514
+ kms_key=pulumi.get(__response__, 'kms_key'),
504
515
  labels=pulumi.get(__response__, 'labels'),
505
516
  location=pulumi.get(__response__, 'location'),
506
517
  maintenance_policies=pulumi.get(__response__, 'maintenance_policies'),
@@ -34,6 +34,7 @@ class InstanceArgs:
34
34
  engine_configs: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
35
35
  engine_version: Optional[pulumi.Input[builtins.str]] = None,
36
36
  gcs_source: Optional[pulumi.Input['InstanceGcsSourceArgs']] = None,
37
+ kms_key: Optional[pulumi.Input[builtins.str]] = None,
37
38
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
38
39
  maintenance_policy: Optional[pulumi.Input['InstanceMaintenancePolicyArgs']] = None,
39
40
  managed_backup_source: Optional[pulumi.Input['InstanceManagedBackupSourceArgs']] = None,
@@ -73,6 +74,7 @@ class InstanceArgs:
73
74
  :param pulumi.Input[builtins.str] engine_version: Optional. Engine version of the instance.
74
75
  :param pulumi.Input['InstanceGcsSourceArgs'] gcs_source: GCS source for the instance.
75
76
  Structure is documented below.
77
+ :param pulumi.Input[builtins.str] kms_key: The KMS key used to encrypt the at-rest data of the cluster
76
78
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels to represent user-provided metadata.
77
79
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
78
80
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -127,6 +129,8 @@ class InstanceArgs:
127
129
  pulumi.set(__self__, "engine_version", engine_version)
128
130
  if gcs_source is not None:
129
131
  pulumi.set(__self__, "gcs_source", gcs_source)
132
+ if kms_key is not None:
133
+ pulumi.set(__self__, "kms_key", kms_key)
130
134
  if labels is not None:
131
135
  pulumi.set(__self__, "labels", labels)
132
136
  if maintenance_policy is not None:
@@ -308,6 +312,18 @@ class InstanceArgs:
308
312
  def gcs_source(self, value: Optional[pulumi.Input['InstanceGcsSourceArgs']]):
309
313
  pulumi.set(self, "gcs_source", value)
310
314
 
315
+ @property
316
+ @pulumi.getter(name="kmsKey")
317
+ def kms_key(self) -> Optional[pulumi.Input[builtins.str]]:
318
+ """
319
+ The KMS key used to encrypt the at-rest data of the cluster
320
+ """
321
+ return pulumi.get(self, "kms_key")
322
+
323
+ @kms_key.setter
324
+ def kms_key(self, value: Optional[pulumi.Input[builtins.str]]):
325
+ pulumi.set(self, "kms_key", value)
326
+
311
327
  @property
312
328
  @pulumi.getter
313
329
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
@@ -466,6 +482,7 @@ class _InstanceState:
466
482
  engine_version: Optional[pulumi.Input[builtins.str]] = None,
467
483
  gcs_source: Optional[pulumi.Input['InstanceGcsSourceArgs']] = None,
468
484
  instance_id: Optional[pulumi.Input[builtins.str]] = None,
485
+ kms_key: Optional[pulumi.Input[builtins.str]] = None,
469
486
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
470
487
  location: Optional[pulumi.Input[builtins.str]] = None,
471
488
  maintenance_policy: Optional[pulumi.Input['InstanceMaintenancePolicyArgs']] = None,
@@ -525,6 +542,7 @@ class _InstanceState:
525
542
 
526
543
 
527
544
  - - -
545
+ :param pulumi.Input[builtins.str] kms_key: The KMS key used to encrypt the at-rest data of the cluster
528
546
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels to represent user-provided metadata.
529
547
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
530
548
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -616,6 +634,8 @@ class _InstanceState:
616
634
  pulumi.set(__self__, "gcs_source", gcs_source)
617
635
  if instance_id is not None:
618
636
  pulumi.set(__self__, "instance_id", instance_id)
637
+ if kms_key is not None:
638
+ pulumi.set(__self__, "kms_key", kms_key)
619
639
  if labels is not None:
620
640
  pulumi.set(__self__, "labels", labels)
621
641
  if location is not None:
@@ -866,6 +886,18 @@ class _InstanceState:
866
886
  def instance_id(self, value: Optional[pulumi.Input[builtins.str]]):
867
887
  pulumi.set(self, "instance_id", value)
868
888
 
889
+ @property
890
+ @pulumi.getter(name="kmsKey")
891
+ def kms_key(self) -> Optional[pulumi.Input[builtins.str]]:
892
+ """
893
+ The KMS key used to encrypt the at-rest data of the cluster
894
+ """
895
+ return pulumi.get(self, "kms_key")
896
+
897
+ @kms_key.setter
898
+ def kms_key(self, value: Optional[pulumi.Input[builtins.str]]):
899
+ pulumi.set(self, "kms_key", value)
900
+
869
901
  @property
870
902
  @pulumi.getter
871
903
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
@@ -1180,6 +1212,7 @@ class Instance(pulumi.CustomResource):
1180
1212
  engine_version: Optional[pulumi.Input[builtins.str]] = None,
1181
1213
  gcs_source: Optional[pulumi.Input[Union['InstanceGcsSourceArgs', 'InstanceGcsSourceArgsDict']]] = None,
1182
1214
  instance_id: Optional[pulumi.Input[builtins.str]] = None,
1215
+ kms_key: Optional[pulumi.Input[builtins.str]] = None,
1183
1216
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1184
1217
  location: Optional[pulumi.Input[builtins.str]] = None,
1185
1218
  maintenance_policy: Optional[pulumi.Input[Union['InstanceMaintenancePolicyArgs', 'InstanceMaintenancePolicyArgsDict']]] = None,
@@ -1286,6 +1319,7 @@ class Instance(pulumi.CustomResource):
1286
1319
  node_type="SHARED_CORE_NANO",
1287
1320
  transit_encryption_mode="TRANSIT_ENCRYPTION_DISABLED",
1288
1321
  authorization_mode="AUTH_DISABLED",
1322
+ kms_key="my-key",
1289
1323
  engine_configs={
1290
1324
  "maxmemory-policy": "volatile-ttl",
1291
1325
  },
@@ -1524,6 +1558,7 @@ class Instance(pulumi.CustomResource):
1524
1558
 
1525
1559
 
1526
1560
  - - -
1561
+ :param pulumi.Input[builtins.str] kms_key: The KMS key used to encrypt the at-rest data of the cluster
1527
1562
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels to represent user-provided metadata.
1528
1563
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
1529
1564
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -1655,6 +1690,7 @@ class Instance(pulumi.CustomResource):
1655
1690
  node_type="SHARED_CORE_NANO",
1656
1691
  transit_encryption_mode="TRANSIT_ENCRYPTION_DISABLED",
1657
1692
  authorization_mode="AUTH_DISABLED",
1693
+ kms_key="my-key",
1658
1694
  engine_configs={
1659
1695
  "maxmemory-policy": "volatile-ttl",
1660
1696
  },
@@ -1891,6 +1927,7 @@ class Instance(pulumi.CustomResource):
1891
1927
  engine_version: Optional[pulumi.Input[builtins.str]] = None,
1892
1928
  gcs_source: Optional[pulumi.Input[Union['InstanceGcsSourceArgs', 'InstanceGcsSourceArgsDict']]] = None,
1893
1929
  instance_id: Optional[pulumi.Input[builtins.str]] = None,
1930
+ kms_key: Optional[pulumi.Input[builtins.str]] = None,
1894
1931
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1895
1932
  location: Optional[pulumi.Input[builtins.str]] = None,
1896
1933
  maintenance_policy: Optional[pulumi.Input[Union['InstanceMaintenancePolicyArgs', 'InstanceMaintenancePolicyArgsDict']]] = None,
@@ -1924,6 +1961,7 @@ class Instance(pulumi.CustomResource):
1924
1961
  if instance_id is None and not opts.urn:
1925
1962
  raise TypeError("Missing required property 'instance_id'")
1926
1963
  __props__.__dict__["instance_id"] = instance_id
1964
+ __props__.__dict__["kms_key"] = kms_key
1927
1965
  __props__.__dict__["labels"] = labels
1928
1966
  if location is None and not opts.urn:
1929
1967
  raise TypeError("Missing required property 'location'")
@@ -1982,6 +2020,7 @@ class Instance(pulumi.CustomResource):
1982
2020
  engine_version: Optional[pulumi.Input[builtins.str]] = None,
1983
2021
  gcs_source: Optional[pulumi.Input[Union['InstanceGcsSourceArgs', 'InstanceGcsSourceArgsDict']]] = None,
1984
2022
  instance_id: Optional[pulumi.Input[builtins.str]] = None,
2023
+ kms_key: Optional[pulumi.Input[builtins.str]] = None,
1985
2024
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
1986
2025
  location: Optional[pulumi.Input[builtins.str]] = None,
1987
2026
  maintenance_policy: Optional[pulumi.Input[Union['InstanceMaintenancePolicyArgs', 'InstanceMaintenancePolicyArgsDict']]] = None,
@@ -2046,6 +2085,7 @@ class Instance(pulumi.CustomResource):
2046
2085
 
2047
2086
 
2048
2087
  - - -
2088
+ :param pulumi.Input[builtins.str] kms_key: The KMS key used to encrypt the at-rest data of the cluster
2049
2089
  :param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels to represent user-provided metadata.
2050
2090
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
2051
2091
  Please refer to the field `effective_labels` for all of the labels present on the resource.
@@ -2120,6 +2160,7 @@ class Instance(pulumi.CustomResource):
2120
2160
  __props__.__dict__["engine_version"] = engine_version
2121
2161
  __props__.__dict__["gcs_source"] = gcs_source
2122
2162
  __props__.__dict__["instance_id"] = instance_id
2163
+ __props__.__dict__["kms_key"] = kms_key
2123
2164
  __props__.__dict__["labels"] = labels
2124
2165
  __props__.__dict__["location"] = location
2125
2166
  __props__.__dict__["maintenance_policy"] = maintenance_policy
@@ -2286,6 +2327,14 @@ class Instance(pulumi.CustomResource):
2286
2327
  """
2287
2328
  return pulumi.get(self, "instance_id")
2288
2329
 
2330
+ @property
2331
+ @pulumi.getter(name="kmsKey")
2332
+ def kms_key(self) -> pulumi.Output[Optional[builtins.str]]:
2333
+ """
2334
+ The KMS key used to encrypt the at-rest data of the cluster
2335
+ """
2336
+ return pulumi.get(self, "kms_key")
2337
+
2289
2338
  @property
2290
2339
  @pulumi.getter
2291
2340
  def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
@@ -22,11 +22,11 @@ __all__ = ['MetricDescriptorArgs', 'MetricDescriptor']
22
22
  @pulumi.input_type
23
23
  class MetricDescriptorArgs:
24
24
  def __init__(__self__, *,
25
- description: pulumi.Input[builtins.str],
26
- display_name: pulumi.Input[builtins.str],
27
25
  metric_kind: pulumi.Input[builtins.str],
28
26
  type: pulumi.Input[builtins.str],
29
27
  value_type: pulumi.Input[builtins.str],
28
+ description: Optional[pulumi.Input[builtins.str]] = None,
29
+ display_name: Optional[pulumi.Input[builtins.str]] = None,
30
30
  labels: Optional[pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]]] = None,
31
31
  launch_stage: Optional[pulumi.Input[builtins.str]] = None,
32
32
  metadata: Optional[pulumi.Input['MetricDescriptorMetadataArgs']] = None,
@@ -34,16 +34,16 @@ class MetricDescriptorArgs:
34
34
  unit: Optional[pulumi.Input[builtins.str]] = None):
35
35
  """
36
36
  The set of arguments for constructing a MetricDescriptor resource.
37
- :param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
38
- :param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
39
-
40
-
41
- - - -
42
37
  :param pulumi.Input[builtins.str] metric_kind: Whether the metric records instantaneous values, changes to a value, etc. Some combinations of metricKind and valueType might not be supported.
43
38
  Possible values are: `METRIC_KIND_UNSPECIFIED`, `GAUGE`, `DELTA`, `CUMULATIVE`.
44
39
  :param pulumi.Input[builtins.str] type: The metric type, including its DNS name prefix. The type is not URL-encoded. All service defined metrics must be prefixed with the service name, in the format of {service name}/{relative metric name}, such as cloudsql.googleapis.com/database/cpu/utilization. The relative metric name must have only upper and lower-case letters, digits, '/' and underscores '_' are allowed. Additionally, the maximum number of characters allowed for the relative_metric_name is 100. All user-defined metric types have the DNS name custom.googleapis.com, external.googleapis.com, or logging.googleapis.com/user/.
45
40
  :param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
46
41
  Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
42
+
43
+
44
+ - - -
45
+ :param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
46
+ :param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
47
47
  :param pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
48
48
  Structure is documented below.
49
49
  :param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
@@ -70,11 +70,13 @@ class MetricDescriptorArgs:
70
70
  More info can be found in the API documentation
71
71
  (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
72
72
  """
73
- pulumi.set(__self__, "description", description)
74
- pulumi.set(__self__, "display_name", display_name)
75
73
  pulumi.set(__self__, "metric_kind", metric_kind)
76
74
  pulumi.set(__self__, "type", type)
77
75
  pulumi.set(__self__, "value_type", value_type)
76
+ if description is not None:
77
+ pulumi.set(__self__, "description", description)
78
+ if display_name is not None:
79
+ pulumi.set(__self__, "display_name", display_name)
78
80
  if labels is not None:
79
81
  pulumi.set(__self__, "labels", labels)
80
82
  if launch_stage is not None:
@@ -86,33 +88,6 @@ class MetricDescriptorArgs:
86
88
  if unit is not None:
87
89
  pulumi.set(__self__, "unit", unit)
88
90
 
89
- @property
90
- @pulumi.getter
91
- def description(self) -> pulumi.Input[builtins.str]:
92
- """
93
- A detailed description of the metric, which can be used in documentation.
94
- """
95
- return pulumi.get(self, "description")
96
-
97
- @description.setter
98
- def description(self, value: pulumi.Input[builtins.str]):
99
- pulumi.set(self, "description", value)
100
-
101
- @property
102
- @pulumi.getter(name="displayName")
103
- def display_name(self) -> pulumi.Input[builtins.str]:
104
- """
105
- A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
106
-
107
-
108
- - - -
109
- """
110
- return pulumi.get(self, "display_name")
111
-
112
- @display_name.setter
113
- def display_name(self, value: pulumi.Input[builtins.str]):
114
- pulumi.set(self, "display_name", value)
115
-
116
91
  @property
117
92
  @pulumi.getter(name="metricKind")
118
93
  def metric_kind(self) -> pulumi.Input[builtins.str]:
@@ -144,6 +119,9 @@ class MetricDescriptorArgs:
144
119
  """
145
120
  Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
146
121
  Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
122
+
123
+
124
+ - - -
147
125
  """
148
126
  return pulumi.get(self, "value_type")
149
127
 
@@ -151,6 +129,30 @@ class MetricDescriptorArgs:
151
129
  def value_type(self, value: pulumi.Input[builtins.str]):
152
130
  pulumi.set(self, "value_type", value)
153
131
 
132
+ @property
133
+ @pulumi.getter
134
+ def description(self) -> Optional[pulumi.Input[builtins.str]]:
135
+ """
136
+ A detailed description of the metric, which can be used in documentation.
137
+ """
138
+ return pulumi.get(self, "description")
139
+
140
+ @description.setter
141
+ def description(self, value: Optional[pulumi.Input[builtins.str]]):
142
+ pulumi.set(self, "description", value)
143
+
144
+ @property
145
+ @pulumi.getter(name="displayName")
146
+ def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
147
+ """
148
+ A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
149
+ """
150
+ return pulumi.get(self, "display_name")
151
+
152
+ @display_name.setter
153
+ def display_name(self, value: Optional[pulumi.Input[builtins.str]]):
154
+ pulumi.set(self, "display_name", value)
155
+
154
156
  @property
155
157
  @pulumi.getter
156
158
  def labels(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]]]:
@@ -251,9 +253,6 @@ class _MetricDescriptorState:
251
253
  Input properties used for looking up and filtering MetricDescriptor resources.
252
254
  :param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
253
255
  :param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
254
-
255
-
256
- - - -
257
256
  :param pulumi.Input[Sequence[pulumi.Input['MetricDescriptorLabelArgs']]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
258
257
  Structure is documented below.
259
258
  :param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
@@ -286,6 +285,9 @@ class _MetricDescriptorState:
286
285
  (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
287
286
  :param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
288
287
  Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
288
+
289
+
290
+ - - -
289
291
  """
290
292
  if description is not None:
291
293
  pulumi.set(__self__, "description", description)
@@ -329,9 +331,6 @@ class _MetricDescriptorState:
329
331
  def display_name(self) -> Optional[pulumi.Input[builtins.str]]:
330
332
  """
331
333
  A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
332
-
333
-
334
- - - -
335
334
  """
336
335
  return pulumi.get(self, "display_name")
337
336
 
@@ -474,6 +473,9 @@ class _MetricDescriptorState:
474
473
  """
475
474
  Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
476
475
  Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
476
+
477
+
478
+ - - -
477
479
  """
478
480
  return pulumi.get(self, "value_type")
479
481
 
@@ -588,9 +590,6 @@ class MetricDescriptor(pulumi.CustomResource):
588
590
  :param pulumi.ResourceOptions opts: Options for the resource.
589
591
  :param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
590
592
  :param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
591
-
592
-
593
- - - -
594
593
  :param pulumi.Input[Sequence[pulumi.Input[Union['MetricDescriptorLabelArgs', 'MetricDescriptorLabelArgsDict']]]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
595
594
  Structure is documented below.
596
595
  :param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
@@ -621,6 +620,9 @@ class MetricDescriptor(pulumi.CustomResource):
621
620
  (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
622
621
  :param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
623
622
  Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
623
+
624
+
625
+ - - -
624
626
  """
625
627
  ...
626
628
  @overload
@@ -747,11 +749,7 @@ class MetricDescriptor(pulumi.CustomResource):
747
749
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
748
750
  __props__ = MetricDescriptorArgs.__new__(MetricDescriptorArgs)
749
751
 
750
- if description is None and not opts.urn:
751
- raise TypeError("Missing required property 'description'")
752
752
  __props__.__dict__["description"] = description
753
- if display_name is None and not opts.urn:
754
- raise TypeError("Missing required property 'display_name'")
755
753
  __props__.__dict__["display_name"] = display_name
756
754
  __props__.__dict__["labels"] = labels
757
755
  __props__.__dict__["launch_stage"] = launch_stage
@@ -800,9 +798,6 @@ class MetricDescriptor(pulumi.CustomResource):
800
798
  :param pulumi.ResourceOptions opts: Options for the resource.
801
799
  :param pulumi.Input[builtins.str] description: A detailed description of the metric, which can be used in documentation.
802
800
  :param pulumi.Input[builtins.str] display_name: A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
803
-
804
-
805
- - - -
806
801
  :param pulumi.Input[Sequence[pulumi.Input[Union['MetricDescriptorLabelArgs', 'MetricDescriptorLabelArgsDict']]]] labels: The set of labels that can be used to describe a specific instance of this metric type. In order to delete a label, the entire resource must be deleted, then created with the desired labels.
807
802
  Structure is documented below.
808
803
  :param pulumi.Input[builtins.str] launch_stage: The launch stage of the metric definition.
@@ -835,6 +830,9 @@ class MetricDescriptor(pulumi.CustomResource):
835
830
  (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors).
836
831
  :param pulumi.Input[builtins.str] value_type: Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
837
832
  Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
833
+
834
+
835
+ - - -
838
836
  """
839
837
  opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
840
838
 
@@ -856,7 +854,7 @@ class MetricDescriptor(pulumi.CustomResource):
856
854
 
857
855
  @property
858
856
  @pulumi.getter
859
- def description(self) -> pulumi.Output[builtins.str]:
857
+ def description(self) -> pulumi.Output[Optional[builtins.str]]:
860
858
  """
861
859
  A detailed description of the metric, which can be used in documentation.
862
860
  """
@@ -864,12 +862,9 @@ class MetricDescriptor(pulumi.CustomResource):
864
862
 
865
863
  @property
866
864
  @pulumi.getter(name="displayName")
867
- def display_name(self) -> pulumi.Output[builtins.str]:
865
+ def display_name(self) -> pulumi.Output[Optional[builtins.str]]:
868
866
  """
869
867
  A concise name for the metric, which can be displayed in user interfaces. Use sentence case without an ending period, for example "Request count".
870
-
871
-
872
- - - -
873
868
  """
874
869
  return pulumi.get(self, "display_name")
875
870
 
@@ -972,6 +967,9 @@ class MetricDescriptor(pulumi.CustomResource):
972
967
  """
973
968
  Whether the measurement is an integer, a floating-point number, etc. Some combinations of metricKind and valueType might not be supported.
974
969
  Possible values are: `BOOL`, `INT64`, `DOUBLE`, `STRING`, `DISTRIBUTION`.
970
+
971
+
972
+ - - -
975
973
  """
976
974
  return pulumi.get(self, "value_type")
977
975
 
@@ -689,15 +689,15 @@ class Spoke(pulumi.CustomResource):
689
689
  import pulumi_gcp as gcp
690
690
 
691
691
  network = gcp.compute.Network("network",
692
- name="tf-test-network_62793",
692
+ name="tf-test-network_60365",
693
693
  auto_create_subnetworks=False)
694
694
  subnetwork = gcp.compute.Subnetwork("subnetwork",
695
- name="tf-test-subnet_55438",
695
+ name="tf-test-subnet_80215",
696
696
  ip_cidr_range="10.0.0.0/28",
697
697
  region="us-central1",
698
698
  network=network.self_link)
699
699
  instance = gcp.compute.Instance("instance",
700
- name="tf-test-instance_32706",
700
+ name="tf-test-instance_59033",
701
701
  machine_type="e2-medium",
702
702
  can_ip_forward=True,
703
703
  zone="us-central1-a",
@@ -714,13 +714,13 @@ class Spoke(pulumi.CustomResource):
714
714
  }],
715
715
  }])
716
716
  basic_hub = gcp.networkconnectivity.Hub("basic_hub",
717
- name="tf-test-hub_49082",
717
+ name="tf-test-hub_32081",
718
718
  description="A sample hub",
719
719
  labels={
720
720
  "label-two": "value-one",
721
721
  })
722
722
  primary = gcp.networkconnectivity.Spoke("primary",
723
- name="tf-test-name_60365",
723
+ name="tf-test-name_10393",
724
724
  location="us-central1",
725
725
  description="A sample spoke with a linked routher appliance instance",
726
726
  labels={
@@ -952,8 +952,8 @@ class Spoke(pulumi.CustomResource):
952
952
  hub=star_hub.id,
953
953
  auto_accept={
954
954
  "auto_accept_projects": [
955
- "foo_80215",
956
- "bar_59033",
955
+ "foo_33052",
956
+ "bar_3684",
957
957
  ],
958
958
  })
959
959
  primary = gcp.networkconnectivity.Spoke("primary",
@@ -1150,15 +1150,15 @@ class Spoke(pulumi.CustomResource):
1150
1150
  import pulumi_gcp as gcp
1151
1151
 
1152
1152
  network = gcp.compute.Network("network",
1153
- name="tf-test-network_62793",
1153
+ name="tf-test-network_60365",
1154
1154
  auto_create_subnetworks=False)
1155
1155
  subnetwork = gcp.compute.Subnetwork("subnetwork",
1156
- name="tf-test-subnet_55438",
1156
+ name="tf-test-subnet_80215",
1157
1157
  ip_cidr_range="10.0.0.0/28",
1158
1158
  region="us-central1",
1159
1159
  network=network.self_link)
1160
1160
  instance = gcp.compute.Instance("instance",
1161
- name="tf-test-instance_32706",
1161
+ name="tf-test-instance_59033",
1162
1162
  machine_type="e2-medium",
1163
1163
  can_ip_forward=True,
1164
1164
  zone="us-central1-a",
@@ -1175,13 +1175,13 @@ class Spoke(pulumi.CustomResource):
1175
1175
  }],
1176
1176
  }])
1177
1177
  basic_hub = gcp.networkconnectivity.Hub("basic_hub",
1178
- name="tf-test-hub_49082",
1178
+ name="tf-test-hub_32081",
1179
1179
  description="A sample hub",
1180
1180
  labels={
1181
1181
  "label-two": "value-one",
1182
1182
  })
1183
1183
  primary = gcp.networkconnectivity.Spoke("primary",
1184
- name="tf-test-name_60365",
1184
+ name="tf-test-name_10393",
1185
1185
  location="us-central1",
1186
1186
  description="A sample spoke with a linked routher appliance instance",
1187
1187
  labels={
@@ -1413,8 +1413,8 @@ class Spoke(pulumi.CustomResource):
1413
1413
  hub=star_hub.id,
1414
1414
  auto_accept={
1415
1415
  "auto_accept_projects": [
1416
- "foo_80215",
1417
- "bar_59033",
1416
+ "foo_33052",
1417
+ "bar_3684",
1418
1418
  ],
1419
1419
  })
1420
1420
  primary = gcp.networkconnectivity.Spoke("primary",
@@ -1410,7 +1410,7 @@ class Instance(pulumi.CustomResource):
1410
1410
  machine_type="e2-medium",
1411
1411
  vm_image={
1412
1412
  "project": "deeplearning-platform-release",
1413
- "image_family": "tf-latest-cpu",
1413
+ "image_family": "pytorch-latest-cu124",
1414
1414
  })
1415
1415
  ```
1416
1416
  ### Notebook Instance Basic Stopped
@@ -1425,7 +1425,7 @@ class Instance(pulumi.CustomResource):
1425
1425
  machine_type="e2-medium",
1426
1426
  vm_image={
1427
1427
  "project": "deeplearning-platform-release",
1428
- "image_family": "tf-latest-cpu",
1428
+ "image_family": "pytorch-latest-cu124",
1429
1429
  },
1430
1430
  desired_state="STOPPED")
1431
1431
  ```
@@ -1464,7 +1464,7 @@ class Instance(pulumi.CustomResource):
1464
1464
  },
1465
1465
  vm_image={
1466
1466
  "project": "deeplearning-platform-release",
1467
- "image_family": "tf-latest-gpu",
1467
+ "image_family": "pytorch-latest-cu124",
1468
1468
  })
1469
1469
  ```
1470
1470
  ### Notebook Instance Full
@@ -1482,7 +1482,7 @@ class Instance(pulumi.CustomResource):
1482
1482
  machine_type="e2-medium",
1483
1483
  vm_image={
1484
1484
  "project": "deeplearning-platform-release",
1485
- "image_family": "tf-latest-cpu",
1485
+ "image_family": "pytorch-latest-cu124",
1486
1486
  },
1487
1487
  instance_owners=["my@service-account.com"],
1488
1488
  service_account="my@service-account.com",
@@ -1654,7 +1654,7 @@ class Instance(pulumi.CustomResource):
1654
1654
  machine_type="e2-medium",
1655
1655
  vm_image={
1656
1656
  "project": "deeplearning-platform-release",
1657
- "image_family": "tf-latest-cpu",
1657
+ "image_family": "pytorch-latest-cu124",
1658
1658
  })
1659
1659
  ```
1660
1660
  ### Notebook Instance Basic Stopped
@@ -1669,7 +1669,7 @@ class Instance(pulumi.CustomResource):
1669
1669
  machine_type="e2-medium",
1670
1670
  vm_image={
1671
1671
  "project": "deeplearning-platform-release",
1672
- "image_family": "tf-latest-cpu",
1672
+ "image_family": "pytorch-latest-cu124",
1673
1673
  },
1674
1674
  desired_state="STOPPED")
1675
1675
  ```
@@ -1708,7 +1708,7 @@ class Instance(pulumi.CustomResource):
1708
1708
  },
1709
1709
  vm_image={
1710
1710
  "project": "deeplearning-platform-release",
1711
- "image_family": "tf-latest-gpu",
1711
+ "image_family": "pytorch-latest-cu124",
1712
1712
  })
1713
1713
  ```
1714
1714
  ### Notebook Instance Full
@@ -1726,7 +1726,7 @@ class Instance(pulumi.CustomResource):
1726
1726
  machine_type="e2-medium",
1727
1727
  vm_image={
1728
1728
  "project": "deeplearning-platform-release",
1729
- "image_family": "tf-latest-cpu",
1729
+ "image_family": "pytorch-latest-cu124",
1730
1730
  },
1731
1731
  instance_owners=["my@service-account.com"],
1732
1732
  service_account="my@service-account.com",